[R] Saving an expression to a file

Doran, Harold HDoran at air.org
Fri Aug 3 17:59:10 CEST 2007


Maybe use the sink() function 

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Yuchen Luo
> Sent: Thursday, August 02, 2007 10:17 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Saving an expression to a file
> 
> Dear Friends.
> I have a very long expression and I use function D to find 
> its derivative, which will be even longer. I save the 
> resulting expression in a variavle, say bbb. But when I tried 
> to display bbb on the screen, the R screen is not long enough 
> for me to view it. Is there a way to save the expression to a file?
> 
> Best Wishes
> Yuchen Luo
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
>



More information about the R-help mailing list