Re: [R] Dump the "source code" of data frame

2011-04-17 Thread jim holtman
If you want to save it so that you can read it back later, then look at 'save' and 'load'. On Wed, Apr 13, 2011 at 3:09 AM, C.H. wrote: > Dear R experts, > > I remember a similar function existed and have been mentioned in > R-help before. I tried my best to search but I really can't find it > ou

Re: [R] Dump the "source code" of data frame

2011-04-13 Thread Jorge Ivan Velez
Hi CH, Take a look at ?dput HTH, Jorge On Wed, Apr 13, 2011 at 3:09 AM, C.H. <> wrote: > Dear R experts, > > I remember a similar function existed and have been mentioned in > R-help before. I tried my best to search but I really can't find it > out. > > suppose I have an data frame like this

[R] Dump the "source code" of data frame

2011-04-13 Thread C.H.
Dear R experts, I remember a similar function existed and have been mentioned in R-help before. I tried my best to search but I really can't find it out. suppose I have an data frame like this: > somedata <- data.frame(age.min = 1, age.max = 1.5, male = TRUE, l = -1.013, > m=16.133, s=0.07656)