Dear joris and Michael, thanks a lot for your kind help !

it really is a weird problem coz i've just reinstalled my laptop 1 month
ago, and before the re-installation R worked fine on my previous Ubuntu,
including DAAG, MASS, JGR, etc. I just dont know why it wouldn't work after
my re-installation....

Fortunately, my last desperate try worked. I removed all my
debian-installed-R including all the packages in /usr/lib/R/library,
/usr/local/lib/R/site-library and ~/R/library. Then i downloaded the latest
R (2.9.10) sources to configure & make & make install. Everything was fine
then, including DAAG, MASS, etc. I feel so lucky that i wasn't abandoned by
R anyway :)

recently i'm working on my ph.d thesis which involves a econometric model,
and i want it to be done with the help of R. I'm a total newbie to R, so
there are going to be more questions about it when i'm stuck. thanks again
for your kind help ! it's the first time i use newsgroup and everthing is so
amazing.

best regards

Yanyuan Zhu

On Fri, Oct 9, 2009 at 11:37 PM, Michael Rutter <ma...@psu.edu> wrote:

> Yanyaun,
>
> I was unable to recreate this error, as DAAG installed fine for me.  I
> would suggest that you remove the randomForest package (remove.packages
> command), then try to install DAAG.  At least try to install randomForest by
> itself and see if that generates and error.
>
> Hope this helps,
> Michael
>
> Yanyuan Zhu wrote:
>
>> Dear all:
>>
>>
>> I use R on my Ubuntu 9.04 laptop, which was installed by "aptitude
>> install"
>> way
>> Now i'm learning a book of R which needs "MASS" and "DAAG" installed.
>> So i followed the instructions:
>>
>>  install.packages("MASS")
>>> library("MASS")
>>>
>>
>> MASS works fine.
>>
>> But DAAG doesn't. Anyone who could help would be appreciated a lot !
>>
>> Below are my error outpus :
>>
>>  install.packages("DAAG")
>>>
>> Warning in install.packages("DAAG") :
>>  argument 'lib' is missing: using
>> '/home/simon/R/i486-pc-linux-gnu-library/2.9'
>> --- Please select a CRAN mirror for use in this session ---
>> Loading Tcl/Tk interface ... done
>> also installing the dependency ‘randomForest’
>>
>> trying URL '
>> http://ftp.ctex.org/mirrors/CRAN/src/contrib/randomForest_4.5-30.tar.gz'
>> Content type 'application/x-gzip' length 70247 bytes (68 Kb)
>> opened URL
>> ==================================================
>> downloaded 68 Kb
>>
>> trying URL 'http://ftp.ctex.org/mirrors/CRAN/src/contrib/DAAG_1.00.tar.gz
>> '
>> Content type 'application/x-gzip' length 2172778 bytes (2.1 Mb)
>> opened URL
>> ==================================================
>> downloaded 2.1 Mb
>>
>>
>>  Warning: you have multiple copies of the following packages:
>> Error: could not find function "installed.packages"
>> Execution halted
>>
>>  Warning: you have multiple copies of the following packages:
>> Error: could not find function "installed.packages"
>> Execution halted
>>
>> The downloaded packages are in
>>    ‘/tmp/Rtmp7w4WPA/downloaded_packages’
>> Warning messages:
>> 1: In install.packages("DAAG") :
>>  installation of package 'randomForest' had non-zero exit status
>> 2: In install.packages("DAAG") :
>>  installation of package 'DAAG' had non-zero exit status
>>
>>  library(DAAG)
>>>
>> Error in library(DAAG) : there is no package called 'DAAG'
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> R-SIG-Debian mailing list
>> R-SIG-Debian@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>>
>
> --
> Dr. Michael A. Rutter
> School of Science
> Penn State Erie, The Behrend College
> Station Road
> Erie, PA 16563
> http://math.bd.psu.edu/faculty/rutter
>



-- 
---------------
Yanyuan Zhu
Doctoral Candidate
School of Economics & Management, Tongji University
MSN messenger:caoanroad4...@hotmail.com<messenger%3acaoanroad4...@hotmail.com>
E-mail: caoanroad4...@gmail.com
BLOG http://yyzhu.net

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to