[R-sig-Geo] Long time listener, first time caller

lancelot renaud.lancelot at cirad.fr
Fri Jul 15 09:51:35 CEST 2011


Dear Robert,

Working with:

 > sessionInfo()
R version 2.13.1 (2011-07-08)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252
[3] LC_MONETARY=French_France.1252 LC_NUMERIC=C
[5] LC_TIME=French_France.1252

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

other attached packages:
[1] raster_1.8-42  sp_0.9-84      fortunes_1.4-2

loaded via a namespace (and not attached):
[1] grid_2.13.1     lattice_0.19-30 tools_2.13.1


The issue is not specific to the GUI. I also see it with Rterm. I'm 
seeing the white lines on the windows() device (screen), as well as on 
jpeg, png, and postscript devices (though much finer lines for the 
latter). Conversely, pdf outputs don't seen to have the problem (also 
tested with other raster images).

All the best,

Renaud




Le 15/07/2011 02:40, Robert Hijmans a écrit :
>> Lines appear to be a GUI issue, went back to 2.13.0 and plot of raster
> looks fine.
>
> When plotting a Raster* object, raster calls the 'image' function. spplot
> uses 'levelplot'. Both are affected by these white lines in R 2.13.1 on
> Windows, I think (anyone seeing this on Mac or Linux? or not seeing this on
> Windows?). Here is a simple test:
>
> image(t(volcano)[ncol(volcano):1,])
>
> In some cases there are only lines such that it seems that there are no data
> values. I would expect that this will be fixed soon, but I am changing
> 'raster' so that the next version calls 'rasterImage' (which is not affected
> and should be more efficient) in stead of 'image'.
>
> Please correct me if I am wrong, but I think that for now one should not use
> R 2.13.1 on Windows (and perhaps other OSs) if you want to plot raster data.
> Robert
>
>> sessionInfo()
> R version 2.13.1 (2011-07-08)
> Platform: i386-pc-mingw32/i386 (32-bit)
>
>
> --
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/Long-time-listener-first-time-caller-tp6585078p6585499.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>

-- 
Renaud Lancelot
EDENext Project, coordinator: http://www.edenext.eu/

CIRAD, UMR15, Campus International de Baillarguet TA A-DIR / B
F34398 Montpellier

Tel.  +33 4 67 59 37 17  -  Fax  +33 4 67 59 37 95
Secr. +33 4 67 59 37 37  - Cell. +33 6 77 52 08 69



More information about the R-sig-Geo mailing list