"Gabor Grothendieck" <[EMAIL PROTECTED]> writes: > Is this not supposed to work? > > > dput(BOD, file = "/BOD.R") > > source("/BOD.R") > Error in attributes(.Data) <- c(attributes(.Data), attrib) : > row names must be 'character' or 'integer', not 'double' > > > dput(iris, file = "/iris.R") > > source("/iris.R") > Error in attributes(.Data) <- c(attributes(.Data), attrib) : > row names must be 'character' or 'integer', not 'double' > > > R.version.string # XP > [1] "R version 2.4.0 Patched (2006-10-07 r39598)" > > I also tried control = "all" as an argument to dput as well as a number > of other control values but did not find one that worked.
Eh? > dput(iris, file = "/tmp/iris.R") > source("/tmp/iris.R") Error in attributes(.Data) <- c(attributes(.Data), attrib) : row names must be 'character' or 'integer', not 'double' > dput(iris, file = "/tmp/iris.R",control="all") > source("/tmp/iris.R") > dput(BOD, file = "/tmp/BOD.R",control="all") > source("/tmp/BOD.R") > Happy as a clam... > R.version.string [1] "R version 2.4.0 Patched (2006-10-20 r39680)" (SUSE 9.3, local compile) -- O__ ---- Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel