[R] problem opening pdf device on Windows 7

anupam anuptyagi at gmail.com
Thu Sep 23 14:45:49 CEST 2010


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.



More information about the R-help mailing list