[R] Bounding Box in pdf files

From: Mikael Anderson <mikael.anderson_at_gmail.com>
Date: Tue 28 Feb 2006 - 14:51:42 EST


This is probably a faq but I have not been able to find a solution.

I create a pdf file in R but latex complains that it can't find the bounding box. Here is an example:

> pdf(file="test.pdf", onefile=FALSE, width=8,height=8)
> plot(1:10)
> dev.off()
X11
  2
> sessionInfo()

R version 2.2.1, 2005-12-20, sparc-sun-solaris2.9

attached base packages:
[1] "stats" "graphics" "grDevices" "utils" "datasets" "methods" [7] "base"

other attached packages:
  mapdata mapproj maps
 "2.0-17" "1.1-7.1" "2.0-30"

This is the error from latex:

! LaTeX Error: Cannot determine size of graphic in test.pdf (no Bound ingBox).

Any thoughts about what the problem might be?

/Miakel

        [[alternative HTML version deleted]]



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 Feb 28 15:06:23 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:47 EST