johnmyleswhite / ML_for_Hackers

Code accompanying the book "Machine Learning for Hackers"
http://shop.oreilly.com/product/0636920018483.do
3.66k stars 2.22k forks source link

digest package on OSX #5

Open paul-english opened 12 years ago

paul-english commented 12 years ago

While trying to install the necessary packages using source('package_installer.R') I run into these errors,

Error in library.dynam(lib, package, package.lib) : 
  shared object ‘digest.so’ not found
ERROR: lazy loading failed for package ‘memoise’
* removing ‘/usr/local/Cellar/r/2.14.1/R.framework/Versions/2.14/Resources/library/memoise’
ERROR: dependency ‘memoise’ is not available for package ‘ggplot2’
* removing ‘/usr/local/Cellar/r/2.14.1/R.framework/Versions/2.14/Resources/library/ggplot2’

Is there an issue in my R install, that may be stopping the digest package dependency from installing correctly?

mhofert commented 12 years ago

I have exactly the same issue (Mac OS X 10.7.3, R-2.15.0)

drewconway commented 12 years ago

You could try to install the digest package from the Mac OS X binary: http://cran.r-project.org/web/packages/digest/