Message-ID: <Pine.LNX.4.31.0208150720000.19881-100000@gannet.stats>
Date: 2002-08-15T06:23:56Z
From: Brian Ripley
Subject: How to run R to generate graphics (jpeg) files dynamically ?
In-Reply-To: <F126SOlbpH71yEXUIEA000004a1@hotmail.com>
Please read the rw-FAQ Q2.9. You want to use rterm --no-save < input.R
and to open a jpeg() device in input.R. You cannot use Rgui.
The answer here depends on the platform in use: you are using Windows, and
neglected to tell us.
On Wed, 14 Aug 2002, Helena Shevchuk wrote:
>
> Hello.
> I am getting started with R system and I have a question:
>
> I'd like to use R system to generate some graphics (jpeg) files dynamically
> from
> command line or perl script (like: > Rgui -input_r_file <file>.r
> -output_jpeg_file <file>.jpeg)
>
> 1) How should I invoke R to read the data from external file.
There's a whole R manual on that: see the Help menu in Rgui.
> 2) How should I invoke R to run statements from external *.r file.
> 3) How should I invoke R to save processed data as jpeg file.
Answered above.
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._