Can you post the results of a 
sessionInfo()

It looks like you may have an old installation of R

John Kane
Kingston ON Canada


> -----Original Message-----
> From: samarvir1...@gmail.com
> Sent: Sun, 12 Apr 2015 14:01:14 +0530
> To: r-help@r-project.org
> Subject: [R] Can't load CARET package, on Mac OS X (latest), on R version
> 3.1.2 (2014-10-31)
> 
> 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]]
> 
> ______________________________________________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and 
family!
Visit http://www.inbox.com/photosharing to find out more!

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to