Dear list,

I encountered an odd behaviour. I have a R Script for a course I teach, which 
runs fine in my office. Now, when I attach the notebook to a beamer (i.e. 
resolution decreases), the plot function does not work (i.e. R does not respond 
anymore) for the following code:

getData("GADM", country="US", level=0)-> us_gadm #without minor islands
par(mai=c(0,0,0,0))#reduce margins of plot
class(us_gadm)
plot(us_gadm)

I use R a lot in teaching since years and this is the first time I encounter 
code that would not run when the notebook is attached to a beamer...

System configuration:
R version 2.15.1 (2012-06-22)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] de_DE.UTF-8/de_DE.UTF-8/de_DE.UTF-8/C/de_DE.UTF-8/de_DE.UTF-8

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

other attached packages:
[1] raster_2.0-12 sp_0.9-99    

loaded via a namespace (and not attached):
[1] grid_2.15.1    lattice_0.20-6

Any suggestions appreciated - rather for academic interest..
Ralf Schaefer








        [[alternative HTML version deleted]]

_______________________________________________
R-sig-Geo mailing list
R-sig-Geo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-geo

Reply via email to