[R] print() to file?

Steve Jaffe sjaffe at riskspan.com
Wed Jul 8 21:03:21 CEST 2009


I'd like to write some objects (eg arrays) to a log file. cat() flattens them
out. I'd like them formatted as in 'print' but print only writes to stdout.
Is there a simple way to achieve this result? 

Thanks

-- 
View this message in context: http://www.nabble.com/print%28%29-to-file--tp24397445p24397445.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list