[R] dumping data objects
William Q Meeker
wqmeeker at iastate.edu
Mon Jul 27 13:38:51 CEST 2009
I am using R version 2.9.1 (2009-06-26) on Windows.
I am trying to dump some data objects from R so that I can
subsequently import them into S-PLUS (version 6.2). Using dump("foo")
appends Ls to integers, as explained in the documentation for deparseOpts.
Here is a simple example. I tired using
> .deparseOpts(control="S_compatible")
[1] 128
> dump("foo")
But still get:
C:\wqm\Run>cat dumpdata.R
foo <-
structure(list(Kilocycles = c(94L, 96L, 99L), Status = structure(c(2L,
2L, 1L), .Label = c("Censored", "Failed"), class = "factor"),
Weight = c(1L, 1L, 2L)), .Names = c("Kilocycles", "Status",
"Weight"), class = "data.frame", row.names = c("1", "2", "3"))
I have also tried a number of different combinations of options to
.deparseOpts, but the resulting file always has the appended Ls.
What am I missing?
Bill Meeker
William Q. Meeker
Department of Statistics
2109 Snedecor Hall
Iowa State University
Ames, Iowa 50011
Phone: 515-294-5336
Fax: 515-294-4040
Home Fax: 515-232-1323
www.public.iastate.edu/~wqmeeker
More information about the R-help
mailing list