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]]


