[R] Can't load CARET package, on Mac OS X (latest), on R version 3.1.2 (2014-10-31)

samarvir singh samarvir1996 at gmail.com
Sun Apr 12 10:31:14 CEST 2015


I installed CARET package, but when I try to load CARET. I see this error.
Please help. thank you


install.packages("caret")
trying URL '
http://cran.rstudio.com/bin/macosx/mavericks/contrib/3.1/caret_6.0-41.tgz'
Content type 'application/x-gzip' length 3997718 bytes (3.8 Mb)
opened URL
==================================================
downloaded 3.8 Mb

tar: Failed to set default locale

The downloaded binary packages are in
/var/folders/wr/h77ghk5104d1l5xyx3v67yk80000gn/T//RtmpEqNi84/downloaded_packages

> library("caret")
Loading required package: lattice
Loading required package: ggplot2
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object
'/Library/Frameworks/R.framework/Versions/3.1/Resources/library/minqa/libs/minqa.so':

dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/minqa/libs/minqa.so,
6): initializer function 0x0 not in mapped image for
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/minqa/libs/minqa.so

In addition: Warning messages:
1: package 'lattice' was built under R version 3.1.3
2: package 'ggplot2' was built under R version 3.1.3
Error: package or namespace load failed for 'caret'

	[[alternative HTML version deleted]]



More information about the R-help mailing list