Re: [Rd] reverse object creation

2015-10-09 Thread Gabriel Becker
Bo, More philosophically, the dput output is more idiomatically appropriate for R. Data.frames are emphatically column-major data structures in R, by (very good) design. Best, ~G On Oct 9, 2015 3:55 AM, "Thierry Onkelinx" wrote: > Dear Bo, > > Please keep the mailing list in cc. > > Your funct

Re: [Rd] reverse object creation

2015-10-09 Thread Thierry Onkelinx
Dear Bo, Please keep the mailing list in cc. Your function only works properly with a data.frame in which all variables are characters. dput() will preserve the structure of the object and works with all R objects. Best regards, ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Rese

Re: [Rd] reverse object creation

2015-10-09 Thread Thierry Onkelinx
Dear Bo, I think that you are looking for dput() Best regards, ir. Thierry Onkelinx Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest team Biometrie & Kwaliteitszorg / team Biometrics & Quality Assurance Kliniekstraat 25 1070 Anderlecht Belgium To call in the sta

[Rd] reverse object creation

2015-10-09 Thread Bo Werth
Dear all, this is my first message to this mailing list - please advise if it is not the right place for the subject I've been using R very intensively the last 3-4 years and one of the most tedious tasks is modification of lookup or conversion tables So far, I have not found functions that crea