Re: [R] problems with device drivers postscript() and pdf()

From: Roger Bivand <Roger.Bivand_at_nhh.no>
Date: Tue 18 Oct 2005 - 23:22:43 EST


On Tue, 18 Oct 2005, Sibylle Matthes wrote:

>
> Dear R-help,
> We are using the Platform AMD 64 Bit Opteron.
> Our operating system is SUSE LINUX ENTERPRISESERVER SLES9.0
> We are using R version 2.2.0 .
> This is our problem:
> None of the device drivers postscript() or pdf() is opening, e.g.
> the following message is coming:
> postscript("splines-Ex.ps")
> Fehler in postscript("splines-Ex.ps") : unable to start device
> PostScript
> Zusätzlich: Warning message:
> cannot open 'postscript' file argument 'splines-Ex.ps'
>

As far as I can see, you are trying to write 'splines-Ex.ps' in a directory where you do not have write access. Check getwd(), and move with setwd() to a directory you can write to, or give a full path to such a directory.

Look at:

getwd()
system("ls -l ..")

to see the permissions of your working directory.

> with regards
> Sibylle Matthes
>
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand@nhh.no

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Tue Oct 18 23:36:51 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 19:01:30 EST