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
Cetiny?rek Aysun schrieb:> 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.The purpose of save is to save R objects to a file so you can retrieve them later or on another system via the load command. I think what you are looking for is the write.table command. See help(write.table). Greetings, Christian
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, > > AysunHi 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