R Excel Out jrue  2016-09-13 09:41
Status: Closed
 
Hi David,

I've used this method successfully in a few scripts without any issues.

The following snippet should give and attachment output, TSV output, and console output as shown in the image:

require(xlsx)
write.xlsx(labkey.data, file = "${fileout:labkeyData.xlsx}")
write.table(labkey.data, file = "${tsvout:tsvfile}", sep = "\t", qmethod = "double", col.names=NA)