[R-sig-Geo] spplot graphics problem
Tim Appelhans
tim.appelhans at gmail.com
Sun Nov 8 21:45:34 CET 2015
Hi Tom,
on Ubuntu 14.04 I can reproduce fig07.R without any problem
my sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.3 LTS
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=de_DE.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=de_DE.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] lattice_0.20-33 sp_1.2-1 gstat_1.1-0
loaded via a namespace (and not attached):
[1] zoo_1.7-12 tools_3.2.2 xts_0.9-7 spacetime_1.1-4
grid_3.2.2 FNN_1.1
[7] intervals_0.15.1
Cheers
Tim
On 08.11.2015 21:37, Thomas Adams wrote:
> All:
>
> I was previously able to do the kind of thing I will illustrate below on an
> Intel based RedHat Linux system a few years ago. The simple task is to use
> GRASS GIS with R, reading both raster and vector data into R through
> rgrass7 (previously with spgrass6). Using spplot, display the raster and
> overlay the vector polygon (a river basin boundary) for reference. As I
> said, I have previously done this with success. However, now overlaying the
> vector polygon fails, both with my own data and with the following example:
> http://rspatial.r-forge.r-project.org/gallery/ -- see the example for
> fig07.RThe raster data draws, but I get the following...
>
>> spplot(zn, c("a", "b", "c", "d"),
> + names.attr = c("ordinary kriging", "universal kriging with dist to
> river",
> + "stratified kriging with flood freq", "inverse distance"),
> + as.table = TRUE, main = "log-zinc interpolation",
> + sp.layout = list(rv, scale, text1, text2))
>
> Warning messages:
> 1: In grid.Call.graphics(L_path, x$x, x$y, index, switch(x$rule, winding =
> 1L, :
> Path drawing not available for this device
> 2: In grid.Call.graphics(L_path, x$x, x$y, index, switch(x$rule, winding =
> 1L, :
> Path drawing not available for this device
> 3: In grid.Call.graphics(L_path, x$x, x$y, index, switch(x$rule, winding =
> 1L, :
> Path drawing not available for this device
> 4: In grid.Call.graphics(L_path, x$x, x$y, index, switch(x$rule, winding =
> 1L, :
> Path drawing not available for this device
>
>
> I am using Ubuntu 15.10 and R 3.2.2. I have searched the web for others
> having this problem to no avail...
>
> Thank you for your help.
>
> Best,
> Tom
>
>
> --
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
--
#####################################
Tim Appelhans
Department of Geography
Environmental Informatics
Philipps Universität Marburg
Deutschhausstraße 12
Raum 00A08
35032 Marburg (Paketpost: 35037 Marburg)
Germany
Tel +49 (0) 6421 28-25957
http://environmentalinformatics-marburg.de/
More information about the R-sig-Geo
mailing list