[R-sig-Debian] [R] installation problem: package 'mgcv' could not be loaded
Vincent Goulet
vincent.goulet at act.ulaval.ca
Tue Sep 2 17:23:09 CEST 2008
Le mar. 2 sept. à 10:05, Vincent Goulet a écrit :
> [Moved to R-SIG-Debian where this actually belongs]
>
> Le mar. 2 sept. à 03:03, Simon Zhu a écrit :
>
>> Hello all, i'm a newbie of R trying to make some statistical work
>> in R environment. Now i have to laptops, one is Thinkpad X40 with
>> Debian Lenny and the other is Thinkpad T43 with Ubuntu 8.10.
>> Recently i met such problem and am wondering if anybody can do some
>> help.
>>
>> After upgrading my /etc/apt/sources.list , i install R by apt-get
>> install command. It works fine in both laptops. Then i tried to
>> install packages such as JGR and TSA. Problem occured when i
>> installed TSA in my Ubuntu T43.
>>
>> > install.packages('TSA')
>>
>> and i get the following error message:
>>
>> Loading required package: leaps
>> Loading required package: locfit
>> Loading required package: akima
>> Loading required package: lattice
>> locfit 1.5-4 2007-11-27
>> Loading required package: mgcv
>> Error in dyn.load(file, DLLpath = DLLpath, ...) :
>> unable to load shared library '/usr/lib/R/library/mgcv/libs/
>> mgcv.so':
>> libRlapack.so: cannot open shared object file: No such file or
>> directory
>> Error: package 'mgcv' could not be loaded
>
> I confirm the problem. Working on a solution. Stay tuned.
Package mgcv had to be rebuilt for Hardy. The new package is on its
way to CRAN now. Please
sudo apt-get update
sudo apt-get dist-upgrade
on your Ubuntu box before installing package TSA.
And sorry for the inconvenience.
V.
>
>
> ---
> Vincent Goulet, Associate Professor
> École d'actuariat
> Université Laval, Québec
> Vincent.Goulet at act.ulaval.ca http://vgoulet.act.ulaval.ca
>
>
>> Execution halted
>> ERROR: lazy loading failed for package 'TSA'
>> ** Removing '/usr/local/lib/R/site-library/TSA'
>>
>> The downloaded packages are in
>> /tmp/RtmpClJMOJ/downloaded_packages
>> Warning message:
>> In install.packages("TSA") :
>> installation of package 'TSA' had non-zero exit status
>>
>> The problems is, i used exact the same commands and configuration
>> of R in both my Debian-X40 and Ubuntu-T43. It works in Debian but
>> not in T43. Anybody who can help me about how to fix it would be a
>> lot appreciated. thanks !
>>
>> --
>> ---------------
>> Yanyuan Zhu
>> Doctoral Candidate
>> School of Economics & Management, Tongji University
>> MSN messenger: CaoAnRoad4800 at hotmail.com
>> E-mail: CaoAnRoad4800 at gmail.com
>> BLOG http://yyzhu.net
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> 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.
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
More information about the R-SIG-Debian
mailing list