>
> Hi!
>
> The R-intro guide states that:
> "The graphics facilities can be used in both interactive and batch
> modes,.."
>
> but I'm trying both
>
> R BATCH commands.file
> and
> R --no-save < commands.file
>
> and, although I get no errors and
> the output file with the results is
> written to disk, I get no graphics.
> (I want the R function to leave
> results in a file that a shell script
> reads and use, and to draw a graphic).
As I understand it is possible to make plots an save them to a file with for
example dev.print(),
but no on-screen graphics device is opened. Like in:
hist(rnorm(100))
dev.print(png, file="foo.png", width=300, height=300)
dev.off()
>
> Am I missing another option in the command line?
>
> Thanks
>
> Dr. Agustin Lobo
> Instituto de Ciencias de la Tierra (CSIC)
> Lluis Sole Sabaris s/n
> 08028 Barcelona SPAIN
> tel 34 93409 5410
> fax 34 93411 0012
> alobo at ija.csic.es
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-.-> 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
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
--
Encyklopedia multimedialna w prezencie!
http://www.e-mail.onet.pl
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._