Brandon.J.Whitcher@gsk.com
2004-Mar-10 13:26 UTC
[R] PDF and Postscript figures in Solaris 9
Dear R-help, I just configured and installed R-1.8.1 according to the following R is now configured for sparc-sun-solaris2.9 Source directory: . Installation directory: /usr/local C compiler: gcc -g -O2 C++ compiler: g++ -g -O2 Fortran compiler: g77 -g -O2 Interfaces supported: X11 External libraries: readline Additional capabilities: bzip2, PCRE Options enabled: R profiling Recommended packages: yes The make test failed in the internet package, but that is most likely due to the fact that I have to use a proxy. When I ran a simple test in R, the following occurred> x <- rnorm(500) > plot(x) > dev.print(pdf, file="blah.pdf")Error in PDF(file, old$family, old$encoding, old$bg, old$fg, width, height, : unable to start device pdf In addition: Warning message: problem loading encoding file So I can't produce PDF graphics (nor postscript, it also failed for dev.copy2eps). What am I doing wrong in the configuration/installation? cheers... Brandon Translational Medicine & Technology GlaxoSmithKline, Greenford, United Kingdom +44 (0)20 8966 8467 +44 (0)20 8966 2757 (fax) [[alternative HTML version deleted]]