[R] GSA list to text file

Loren Engrav engrav at u.washington.edu
Sun May 2 19:52:27 CEST 2010


Greetings and thank you

Am using GSA and have the GSA.listsets object of class list which displays
fine

But how do I get the object written to a text file?

I see to convert to data frame and then write.table but

> GSAwk1df <- data.frame(GSAwk1list, row.names=NULL, check.rows=FALSE,
check.names=FALSE)
Error in data.frame(FDRcut = 1, negative = c("21", "39", "40", "113",  :
  arguments imply differing number of rows: 1, 815, 1044

I try
sink
GSAwk1list
sink()
And this works but it comes out rather disordered and needs some
manipulation within Excel

Is there a "tidy" method that is "simple"?

Thank you



More information about the R-help mailing list