[R] How to save the variables in R to a file
    Bernardo Rangel Tura 
    tura at centroin.com.br
       
    Tue Apr  7 04:36:29 CEST 2009
    
    
  
On Mon, 2009-04-06 at 11:05 +0200, Cetinyürek Aysun wrote:
> Dear list members,
> 
> I have f.mean matrix of size 500 X 83 in R, and I want to save this into a
> file.
> I used the command
> save("f.mean.Rdata",file="D:/Users/Ays/Documents/Results")
> it saves but when I open the file in notepad it is just some characters
> meaningless.
> 
> Thank you in advance,
> 
> Kind Regards,
> 
> Aysun
Hi Aysun,
Try write.csv something like this:
write.csv(f.mean.Rdata,"D:/Users/Ays/Documents/Results/f_mean.csv")
-- 
Bernardo Rangel Tura, M.D,MPH,Ph.D
National Institute of Cardiology
Brazil
    
    
More information about the R-help
mailing list