Peter Dalgaard <pdalgd <at> gmail.com> writes: > > Then I tried: > > > >> pdf() > > Error in pdf() : unable to start device pdf > > In addition: Warning message: > > In pdf() : cannot open 'pdf' file argument 'Rplots.pdf' > > And your working directory is writable for you? Otherwise, "Change dir" > from the "File" menu to somewhere that is. >
Thanks, Peter. I was using Tinn-R and default working directory set for the latest version of R: C:\Program Files\R\R-2.11.1\bin Changing the working directory worked. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.