Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to load dependency cairoDevice #68

Open
GoogleCodeExporter opened this issue Apr 6, 2016 · 2 comments
Open

Failure to load dependency cairoDevice #68

GoogleCodeExporter opened this issue Apr 6, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 20 Oct 2010 at 4:28

@GoogleCodeExporter
Copy link
Author

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

or perhaps explicitly 
install.packages("cairoDevice")

?

Original comment by [email protected] on 23 Oct 2010 at 8:01

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 24 Oct 2010 at 2:29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant