Skip to content
Prev 247237 / 398503 Next

Unexpected behaviour of write.csv - read.csv

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/13/2011 02:56 PM, Duncan Murdoch wrote:
OK - I can follow this logic - and I think I can accept it.
And now my question from a previous thread (write.table equivalent for
lists?) comes up again:

using save() and load() definitely works, but it is highly unsave - as
it even keeps the names of the object, more then one can be saved, I can
not easily assign the saved object to a new name, I have problems using
the saved object if I have forgotten what the variable name was.

So I would like to expand my previous question: what are the proper
functions to store R objects? One could argue that all write...
functions are export functions - therefore keeping the data, but not
necessarily column names, rownames, attributes, ...

So what can I really do to save an R object for later usage in R?

Rainer
______________________________________________
R-help at 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.

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:        +33 - (0)9 53 10 27 44
Cell:       +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0vB2oACgkQoYgNqgF2egqenQCeJJNdIiX2faKBPGeilzOz73wM
RmoAn05oGZvo41wCp1+hWwTqTmNoQrNo
=xfWD
-----END PGP SIGNATURE-----