[R] text plots?

Kevin E. Thorpe kevin.thorpe at utoronto.ca
Fri May 12 17:21:33 CEST 2006


This may not help, but if you have S-Plus on the machine you're
connecting to, it has a printer() device for this sort of thing.

Robert Citek wrote:
> Is there a way to do text plots in R?
> 
> I'd like to do some simple XY plots in R with the output in text  
> (ascii).  For example, with gnuplot I can do the following:
> 
> echo 'set terminal dumb ; plot sin(x)' | gnuplot
> 
> To generate a simple sin wave.  Since I connect to a remote Linux  
> machine using SSH, being able to generate a rough idea of what a plot  
> will look like in text would be of benefit.  I've looked at ?plot, ? 
> par, and ?plot.default but didn't see anything obvious.
> 
> Regards,
> - Robert


-- 
Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Department of Public Health Sciences
Faculty of Medicine, University of Toronto
email: kevin.thorpe at utoronto.ca  Tel: 416.946.8081  Fax: 416.946.3297




More information about the R-help mailing list