Quick question from a new user to R,
 
 How do I extract my solution of a median polish matrix from R to a spreadsheet 
file such as .csv?
 
>From my reading of my guide book (R for SPSS and SAS users version 2), I 
>deduce that exporting a file to .csv would look like the following:
write.csv(medpolish, file ="outfilename.csv", row.names = FALSE) , 

by I get the following:
Error in as.data.frame.default(x[[i]], optional = TRUE) : 
  cannot coerce class '"function"' into a data.frame

So far I've been copy/pasting segment by segment into Excel and running 
text2column, but there has got to be a better way.


Martin R. Lefebvre


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to