[R] problem opening pdf device on Windows 7

Peter Dalgaard pdalgd at gmail.com
Wed Sep 22 21:14:36 CEST 2010


On 09/22/2010 05:28 PM, anupam wrote:
> I can not open PDf device. Acrobat is closed. I have checked archives but 
> could not find a solution. What should I do?
> 
>> cont.cdfplot("myanalysis.pdf", myanalysis$CDF, ylbl.r="Stream Length (km)")
> Error in pdf(file = pdffile, width = width, height = height) : 
>   unable to start device pdf
> In addition: Warning message:
> In pdf(file = pdffile, width = width, height = height) :
>   cannot open 'pdf' file argument 'myanalysis.pdf'
> 
> 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.


-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list