Re: [R] Error while trying to save summary() output as csv

2010-03-23 Thread Kamil Sijko
Thank you David, thank you Ista - as.matrix solves the problem. Best regards, Kamil Sijko +48.790.818.212 2010/3/22 David Winsemius dwinsem...@comcast.net: On Mar 22, 2010, at 3:06 PM, Ista Zahn wrote: Hi Kamil, You can use something like write.csv(t(as.matrix(object)), file=name.csv)

[R] Error while trying to save summary() output as csv

2010-03-22 Thread Kamil Sijko
Hi, I need to save output of summary() procedure to a csv file. It's all OK when it's applied to a 'factor' class variable, but when I try to save a 'integer' class summary to csv it gives me : summary(rnorm(100, 10)) - object write.csv2(object, file='name.csv') Error in do.call(expand.grid,

Re: [R] Error while trying to save summary() output as csv

2010-03-22 Thread Ista Zahn
Hi Kamil, You can use something like write.csv(t(as.matrix(object)), file=name.csv) -Ista On Mon, Mar 22, 2010 at 2:54 PM, Kamil Sijko kamil.si...@swps.edu.pl wrote: Hi, I need to save output of summary() procedure to a csv file. It's all OK when it's applied to a 'factor' class variable, but

Re: [R] Error while trying to save summary() output as csv

2010-03-22 Thread David Winsemius
On Mar 22, 2010, at 3:06 PM, Ista Zahn wrote: Hi Kamil, You can use something like write.csv(t(as.matrix(object)), file=name.csv) -Ista On Mon, Mar 22, 2010 at 2:54 PM, Kamil Sijko kamil.si...@swps.edu.pl wrote: Hi, I need to save output of summary() procedure to a csv file. It's all OK