11010tianyi / playwith

Automatically exported from code.google.com/p/playwith
0 stars 2 forks source link

Failure to load dependency cairoDevice #68

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. install.packages("playwith")
2. library(playwith)

What is the expected output? What do you see instead?

Expect it to load without a hitch. Instead:
__________________________________________________________________
Loading required package: lattice
Loading required package: cairoDevice
Error in inDL(x, as.logical(local), as.logical(now), ...) : 
  unable to load shared library 'C:/PROGRA~1/R/R-211~1.1/library/cairoDevice/libs/cairoDevice.dll':
  LoadLibrary failure:  The specified module could not be found.
___________________________________________________________________

Gtk+ 2.12.9 Runtime Environment Revision 2 is installed.

What version of the product are you using? On what operating system?

Windows XP SP3, playwith 0.9-52, R 2.11.1 

Please provide any additional information below.

No administrator privileges.

Original issue reported on code.google.com by masterca...@gmail.com on 20 Oct 2010 at 4:28

GoogleCodeExporter commented 8 years ago
Not sure this would make a difference, have you tried 
install.packages("playwith", dep=T) 

or perhaps explicitly 
install.packages("cairoDevice")

?

Original comment by landroni...@gmail.com on 23 Oct 2010 at 8:01

GoogleCodeExporter commented 8 years ago
I tried both, neither worked.

I did fix it by copying all the files from Gtk directly into my R libraries. I 
was inexperienced with R and unaware that it had to be installed directly 
there. 

Having said that, I was slightly confused by the fact that the cairoDevice.dll 
file was present, but didn't seem to do anything until I overwrote it with the 
.dll from the Gtk install folder.

Original comment by masterca...@gmail.com on 24 Oct 2010 at 2:29