Skip to content
Back to formatted view

Raw Message

Message-ID: <x2wumzcmy8.fsf@biostat.ku.dk>
Date: 2002-11-27T10:43:27Z
From: Peter Dalgaard
Subject: dump() bug?
In-Reply-To: <Pine.LNX.4.31.0211270845350.20206-100000@gannet.stats>

<ripley at stats.ox.ac.uk> writes:

> It is not a bug, but it may not be intended.  It is a consequence of
> namespaces.  Since dump is in base, it searches base before the user's
> workspace.  That is something that seems only to be documented in NEWS.

Sounds like the natural way to fix this would be to add an envir=
argument, defaulting to parent.frame(), and pass it down to the
internal routine?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._