Re: [R] export dataframe's column classes to a list

2010-05-19 Thread Alexander Shenkin
> >> -Original Message- >> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- >> project.org] On Behalf Of Alexander Shenkin >> Sent: Thursday, 20 May 2010 8:19 a.m. >> To: r-help@r-project.org >> Subject: [R] export dataframe's column cla

Re: [R] export dataframe's column classes to a list

2010-05-19 Thread Peter Alspach
g > Subject: [R] export dataframe's column classes to a list > > Hi Folks, > > I want to export a dataframe's column classes to a list so that I can > reinstantiate the dataframe from a CSV file in the future. (I know > about save(), which I'm using in additio

[R] export dataframe's column classes to a list

2010-05-19 Thread Alexander Shenkin
Hi Folks, I want to export a dataframe's column classes to a list so that I can reinstantiate the dataframe from a CSV file in the future. (I know about save(), which I'm using in addition to this). what I want to do is the following: write.csv(myframe); col_classes = get_col_classes(myf