[Rd] another dump/source problem?
ihaka at stat.auckland.ac.nz
Wed Oct 1 08:45:41 MEST 2003
Peter Kleiweg wrote:
> Is this a bug?
Yes. If you look inside the saved file it contains
..., call = dist(x = USArrests), ...
When this is reread, an attempt is made to evaluate the call.
Some kind of quoting is needed.
> I do this:
> d <- dist(USArrests)
> dump("d", "tst")
> I restart R and do this:
> And I get:
> Error in as.matrix(x) : Object "USArrests" not found
Ross Ihaka Email: ihaka at stat.auckland.ac.nz
Department of Statistics Phone: (64-9) 373-7599 x 85054
University of Auckland Fax: (64-9) 373-7018
Private Bag 92019, Auckland
More information about the R-devel