[R] Write a script

zze-CHOQUET Denis stagiaire FTRD/DMI/SOP denis.choquet at rd.francetelecom.com
Fri Jul 20 15:45:15 CEST 2001


Thanks to everybody for your help.
I have tried to use
R < myscript.R 
and it works.
I have also tried
R CMD BATCH myscript.R
but I get an error:
Error in png(filename = fichier) : the x11 device has not been loaded
that correspond with the command lines:
  file1_paste(Classification,"dendo.png",sep="")
  png(filename=file1)
  plot(tri1)
  dev.off()

I can't find where it comes from.
I would like to use BATCH because I have some parameters to give to my
script. Can someone also tell me how it has to be done?
Thanks for your help
Denis Choquet
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list