[R-SIG-Mac] New problem loading packages

Simon Urbanek simon.urbanek at r-project.org
Fri Apr 20 16:21:44 CEST 2007


Michael,

please make sure you have removed your old 2.4.1 packages from your  
home before proceeding (best solution is to move ~/Library/R aside).  
You are still using the package for 2.4.1 instead of the one for 2.5.0.

Cheers,
Simon


On Apr 20, 2007, at 9:24 AM, Michael Kubovy wrote:

> Dear R-Mac users,
>
> Following Simon Urbanek's "[R-SIG-Mac] update on failing Mac  
> packages in 2.4.1" of April 19 I tried to remedy the problem by  
> installing R 2.5.0.
>
> To my chagrin:
>
> > install.packages('Hmisc')
> Warning in install.packages("Hmisc") : argument 'lib' is missing:  
> using '/Users/mk/Library/R/library'
> trying URL 'http://lib.stat.cmu.edu/R/CRAN/bin/macosx/universal/ 
> contrib/2.5/Hmisc_3.3-1.tgz'
> Content type 'application/x-gzip' length 1446599 bytes
> opened URL
> ==================================================
> downloaded 1412Kb
>
>
> The downloaded packages are in
> 	/tmp/RtmpWaccmS/downloaded_packages
>
> > library(Hmisc)
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> 	unable to load shared library '/Users/mk/Library/R/library/Hmisc/ 
> libs/i386/Hmisc.so':
>   dlopen(/Users/mk/Library/R/library/Hmisc/libs/i386/Hmisc.so, 6):  
> Library not loaded: /usr/local/gcc4.0/i686-apple-darwin8/lib/ 
> libgcc_s.1.0.dylib
>   Referenced from: /Users/mk/Library/R/library/Hmisc/libs/i386/ 
> Hmisc.so
>   Reason: image not found
> Error: package/namespace load failed for 'Hmisc'
>
> > sessionInfo()
> R version 2.5.0 RC (2007-04-19 r41248)
> i386-apple-darwin8.9.1
>
> locale:
> en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] "stats"     "graphics"  "grDevices" "utils"     "datasets"   
> "methods"   "base"
>
> other attached packages:
>   acepack
> "1.3-2.2"
>
> I would be extremely grateful for any help to get me going again.
>
> Michael
>
> On Apr 20, 2007, at 8:18 AM, Michael Kubovy wrote:
>
>> Dear R-Mac users,
>>
>> After rebooting my machine today (for reasons unrelated to R):
>>
>>>> require(Hmisc)
>>> Loading required package: Hmisc
>>> Error in dyn.load(x, as.logical(local), as.logical(now)) :
>>> 	unable to load shared library '/Users/mk/Library/R/library/Hmisc/
>>> libs/i386/Hmisc.so':
>>>   dlopen(/Users/mk/Library/R/library/Hmisc/libs/i386/Hmisc.so, 6):
>>> Library not loaded: /usr/local/gcc4.0/i686-apple-darwin8/lib/
>>> libgcc_s.1.0.dylib
>>>   Referenced from: /Users/mk/Library/R/library/Hmisc/libs/i386/
>>> Hmisc.so
>>>   Reason: image not found
>>> [1] FALSE
>>
>> I tried to reinstall Hmisc
>>
>>>> install.packages("Hmisc", dep = TRUE)
>>> Warning in install.packages("Hmisc", dep = TRUE) :
>>> 	 argument 'lib' is missing: using /Users/mk/Library/R/library
>>> trying URL 'http://lib.stat.cmu.edu/R/CRAN/bin/macosx/universal/
>>> contrib/2.4/Hmisc_3.3-1.tgz'
>>> Content type 'application/x-gzip' length 1450661 bytes
>>> opened URL
>>> ==================================================
>>> downloaded 1416Kb
>>>
>>>
>>> The downloaded packages are in
>>> 	/tmp/RtmpJSBQcq/downloaded_packages
>>
>> But the problem remains( and occurs when I try to load the gmodels
>> package as well. I tried to reinstall R, but the problem remains.
>>
>>>> sessionInfo()
>>> R version 2.4.1 (2006-12-18)
>>> i386-apple-darwin8.8.1
>>>
>>> locale:
>>> en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>>>
>>> attached base packages:
>>> [1] "stats"     "graphics"  "grDevices" "utils"     "datasets"
>>> "methods"   "base"
>>>
>>> other attached packages:
>>>     acepack        lme4      Matrix     lattice
>>>   "1.3-2.2" "0.9975-13" "0.9975-11"   "0.14-16"
>
>



More information about the R-SIG-Mac mailing list