[R] cairoDevice on Windows: succesful installation but does not load

Agustin Lobo Agustin.Lobo at ictja.csic.es
Thu Jun 9 16:40:26 CEST 2011


Hi!
I've tried to install playwith on Windows XP but,

> install.packages("cairoDevice")
trying URL 'http://cran.at.r-project.org/bin/windows/contrib/2.13/cairoDevice_2.15.zip'
Content type 'application/zip' length 52371 bytes (51 Kb)
opened URL
downloaded 51 Kb

package 'cairoDevice' successfully unpacked and MD5 sums checked

The downloaded packages are in
        d:\Documents and Settings\_llp_gr_interfase.UAB\Configuración
local\Temp\RtmpOo5UAa\downloaded_packages
> require(playwith)
Loading required package: playwith
Loading required package: cairoDevice
Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared object 'C:/Archivos de
programa/R/R-2.13.0/library/cairoDevice/libs/i386/cairoDevice.dll':
  LoadLibrary failure:  No se puede encontrar el módulo especificado.

Failed with error:  ‘package 'cairoDevice' could not be loaded’

I've also tried installing cairoDevice but get the same problem. The dll
'C:/Archivos de
programa/R/R-2.13.0/library/cairoDevice/libs/i386/cairoDevice.dll'
is there despite the system claiming it's not

> sessionInfo()
R version 2.13.0 (2011-04-13)
Platform: i386-pc-mingw32/i386 (32-bit)

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

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

other attached packages:
[1] lattice_0.19-23 rgdal_0.6-33    raster_1.8-31   geoR_1.6-35
sp_0.9-82

loaded via a namespace (and not attached):
[1] grid_2.13.0  tools_2.13.0
>

Thanks

Agus



More information about the R-help mailing list