R-beta: q and postscript in win95

Joel Allen jallen at students.cas.unt.edu
Tue Aug 5 18:10:47 CEST 1997

I have recently been introduced to R for win95 and have been impressed by
it.  It seems to outperform S-Plus greatly.  I have had 2 problems.  I am
using visual basic to automate an analysis.  The vis basic routine waits
for the creation of a data file then calls R to start the analysis.  I have
placed the source() command in the rprofile file so it will be run
automatically.  Output of the analysis is a graph.  I have not been able to
get the postscript command to work.  The command line that I am using

postscript(file="c:/rdata/current.ps", paper="letter", landscape=TRUE,
family="Helvetica", pointsize=12,bg="white", fg="black")

Is the command incorrect or is there a larger problem with postscript()?
Will other graphical output formats such as the Windows Metafile be added?

I am also trying to use the q("no") command from within the script to quit
R.  When I do this, R asks if I want to save the image anyway.  I need R to
close itself after the script has been run.  q("no") when entered at the
command line works as it should.  Any suggestions?   

Joel Allen
jallen at students.cas.unt.edu
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