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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to