Re: [R] pickle in R

2010-02-04 Thread Patrick Burns
On 03/02/2010 23:20, Frank E Harrell Jr wrote: Gábor Csárdi wrote: Perhaps you are looking for ?serialize. Best, Gábor Wouldn't save( ) and load( ) be faster and result in much smaller files? Or possibly 'attach' rather than 'load'. Pat Frank On Thu, Feb 4, 2010 at 12:09 AM, mkna005

Re: [R] pickle in R

2010-02-03 Thread Gábor Csárdi
On Thu, Feb 4, 2010 at 12:20 AM, Frank E Harrell Jr wrote: > Gábor Csárdi wrote: >> >> Perhaps you are looking for ?serialize. >> >> Best, >> Gábor > > Wouldn't save( ) and load( ) be faster and result in much smaller files? Depends, functionality is not the same, I think. 'serialize' can simply

Re: [R] pickle in R

2010-02-03 Thread Frank E Harrell Jr
Gábor Csárdi wrote: Perhaps you are looking for ?serialize. Best, Gábor Wouldn't save( ) and load( ) be faster and result in much smaller files? Frank On Thu, Feb 4, 2010 at 12:09 AM, mkna005 mkna005 wrote: Hello all! I was wondering if there is a way to pickle an R object into a file li

Re: [R] pickle in R

2010-02-03 Thread Steve Lianoglou
Hi, On Wed, Feb 3, 2010 at 6:11 PM, Rolf Turner wrote: > > On 4/02/2010, at 12:09 PM, mkna005 mkna005 wrote: > >> Hello all! >> I was wondering if there is a way to pickle an R object into a file >> like it is possible in python? Such as you have an complicated R >> object(not a dataframe) , you

Re: [R] pickle in R

2010-02-03 Thread Gábor Csárdi
Perhaps you are looking for ?serialize. Best, Gábor On Thu, Feb 4, 2010 at 12:09 AM, mkna005 mkna005 wrote: > Hello all! > I was wondering if there is a way to pickle an R object into a file > like it is possible in python? Such as you have an complicated R > object(not a dataframe) , you use a

Re: [R] pickle in R

2010-02-03 Thread Rolf Turner
On 4/02/2010, at 12:09 PM, mkna005 mkna005 wrote: > Hello all! > I was wondering if there is a way to pickle an R object into a file > like it is possible in python? Such as you have an complicated R > object(not a dataframe) , you use a function to write it to a file and > than you have a functi

[R] pickle in R

2010-02-03 Thread mkna005 mkna005
Hello all! I was wondering if there is a way to pickle an R object into a file like it is possible in python? Such as you have an complicated R object(not a dataframe) , you use a function to write it to a file and than you have a function where you can retrieve the object from that file later on.