[R-SIG-Mac] digest.so not found

Marius Hofert marius.hofert at math.ethz.ch
Sun Apr 22 20:01:14 CEST 2012


Dear Mac expeRts,

I'm working with R-2.15.0 on Mac OS X 10.7.3. I need to install the development
version of ggplot2. This can be done as follows (note that actually some more
things are required, see https://gist.github.com/1150934, but that doesn't play a role here):

,----
| require(devtools)
| dev_mode(TRUE)
| install_github("scales")
| install_github("ggplot2")
`----

When installing ggplot2 (executing the last line), I obtain...

,----
| ...
| * installing *source* package ‘ggplot2’ ...
| ** R
| ** data
| **  moving datasets to lazyload DB
| ** inst
| ** preparing package for lazy loading
| Error in library.dynam(lib, package, package.lib) : 
|   shared object ‘digest.so’ not found
| ERROR: lazy loading failed for package ‘ggplot2’
| * removing ‘/Users/mhofert/R-dev/ggplot2’
| * restoring previous ‘/Users/mhofert/R-dev/ggplot2’
| Error: Command failed (1)
`----

... although the R package digest is installed and locate gave:
/Library/Frameworks/R.framework/library/digest/libs/digest.so
/usr/libexec/apache2/mod_auth_digest.so

Apparently, I'm not alone:
https://github.com/johnmyleswhite/ML_for_Hackers/issues/5

How can I solve this?

Cheers,

Marius



More information about the R-SIG-Mac mailing list