Hi R users,
I need your help to install the "cem" package. I tried severla time to
install the package but I get the followinf error message:
> install.packages("cem",repos="http://r.iq.harvard.edu", type="source")
Installing package into ‘/Users/gucho/Library/R/3.1/library’
(as ‘lib’ is unspecified)
trying URL 'http://r.iq.harvard.edu/src/contrib/cem_1.1.14.tar.gz'
Content type 'application/x-gzip' length 2000723 bytes (1.9 MB)
opened URL
==================================================
downloaded 1.9 MB
* installing *source* package ‘cem’ ...
** R
** data
** inst
** preparing package for lazy loading
Error : .onLoad failed in loadNamespace() for 'tcltk', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object
'/Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.1/Resources/library/tcltk/libs/tcltk.so,
10): Library not loaded: /usr/X11/lib/libXft.2.dylib
Referenced from: /usr/local/lib/libtk8.6.dylib
Reason: image not found
Error : package ‘tcltk’ could not be loaded
ERROR: lazy loading failed for package ‘cem’
* removing ‘/Users/gucho/Library/R/3.1/library/cem’
Warning in install.packages :
installation of package ‘cem’ had non-zero exit status
I have a iMac with OS Yosemite. Thanks for your help.