Hi,

I am trying to install a bunch of packages via command line and can use 
some help in getting it right. My env is a freshly setup OpenSuse 11.4 
on an amd desktop. I have not yet installed gcc (Will I need gcc to 
install packages? I have installed make, assuming R might need it.). I 
have tried it both under R2.12 and R2.13. I have a list of packages to 
install such as fImport, fGarch, zoo, and several more. I am logged in 
as root because I want the packages to be visible to all users

a) R CMD INSTALL "fImport"
This produces no results.

b) sudo R CMD INSTALL "fImport"
This downloads timeDate and gets stuck there. (I did sudo based on my 
experience on Win7 where I had to start R as administrator to update the 
common package library regardless of how I was logged in.)

c) R
then,
install.packages( "fImport", repo=|"http://cran.r-project.org"; );
If I executed via command "R" then it furnishes a listbox of mirrors, I 
select a mirror and then it hangs. If I executed via command "sudo R" 
then it furnishes a 24x80 style (not tk) list of choices, I select a 
mirror and then it hangs.

I will appreciate your help in figuring this out. Ideally,  I would 
ideally to run R CMD INSTALL or R CMD BATCH with a short command file so 
that I can configure a new machine via a script.

I also tried to download the tarballs - but then figuring out all the 
dependencies gets very messy. Besides, that would be, like, reinventing 
the wheel!

|--
-- 

Regards,
Dinesh K. Somani
--
/Improving Your Odds/


        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to