Re: [R] write.table command

From: Abd Rahman Kassim <rahmank_at_frim.gov.my>
Date: Thu 30 Mar 2006 - 05:46:52 EST

Dear Alexander,

Thanks for the useful information.

ARK
----- Original Message -----
From: "Alexander Nervedi" <alexnerdy@hotmail.com> To: <rahmank@frim.gov.my>
Sent: Tuesday, March 28, 2006 7:19 PM
Subject: RE: [R] write.table command

>
> Hi!
>
> Either use write.table() to output a data matrix and read.table() to
> retrieve it .. or use save(obj,...) to save R object and then use load to
> call it back into an R session.
>
> check out the help on both
> ?read.table
> ?save
>
> hope that helps
>
> ul-nadi.
>
>
>>From: "Abd Rahman Kassim" <rahmank@frim.gov.my>
>>To: <r-help@stat.math.ethz.ch>
>>Subject: [R] write.table command
>>Date: Wed, 29 Mar 2006 08:43:16 -0800
>>
>>
>>Dear All,
>>
>>
>>I'm trying to save a dataframe using write.table command. It works, but
>>when I retrieved, there's an error message as shown below:
>>
>> > write.table(soil.dat,file="C:/soil.rdata")
>> > load("C:/soil.rdata")
>>Error: bad restore file magic number (file may be corrupted)-- no data
>>loaded
>>
>>
>>I can figure out the error message. Any assistance to solve the problem is

>>very much appreciated.
>>
>>Regards.
>>
>>Abd. Rahman Kassim, PhD
>>Forest Management & Ecology Program
>>Forestry & Conservation Division
>>Forest Research Institute Malaysia
>>Kepong 52109 Selangor
>>Malaysia
>>
>>Fax: 603-62729852
>>Tel: 603-62797179
>>
>>
>>
>>*****************************************
>>
>>
>>*****************************************
>> [[alternative HTML version deleted]]
>>
>>______________________________________________
>>R-help@stat.math.ethz.ch mailing list
>>https://stat.ethz.ch/mailman/listinfo/r-help
>>PLEASE do read the posting guide!
>>http://www.R-project.org/posting-guide.html
>
> _________________________________________________________________

> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>
> *****************************************
> Outgoing mail is certified Virus Free.
> Checked by TrendMicro Interscan Messaging Security.
> For any enquiries, please contact FRIM IT Department.
> *****************************************



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Mar 29 14:08:43 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 29 Mar 2006 - 15:09:23 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.