Dear R Users; I am an R user who has recently bought a new laptop;Toshiba Satellite U405 running on both Windows Vista and Ubuntu. I have problems on the wondows vista when installing packages. The argument 'lib' is missing. How do i solve this problem? Illustration:> install.packages("epicalc")Warning in install.packages("epicalc") : argument 'lib' is missing: using 'C:\Users\lazurus\Documents/R/win-library/2.7' --- Please select a CRAN mirror for use in this session --- trying URL 'http://cran.za.r-project.org/bin/windows/contrib/2.7/epicalc_2.7.1.2.zip' Content type 'application/zip' length 629215 bytes (614 Kb) opened URL downloaded 614 Kb package 'epicalc' successfully unpacked and MD5 sums checked The downloaded packages are in C:\Users\lazurus\AppData\Local\Temp\RtmpMrOxin\downloaded_packages updating HTML package descriptions ## problem 2 is about downloading R without internet connection I have failed to get internet working under ubuntu for both wireless LAN and Ethernet cable and therefore i cannot download R from the net. Both wireless and ethernet are not detected at all leave alone connecting to the internet. I am using Atheros AR5007EG wireless network adapter, Marvel Yukon 88E8040T PCI-E Fat Ethernrt Controller. Internet works fine under the windows Vista system but not on the Ubuntu side Anyhelp will be appreciated. Kind regards, Lazarus Mramba Junior Statistician P.O Box 986, 80108, Kilifi, Kenya Mobile No. +254721292370 Tel: +254 41 522063 Tel: +254 41 522390 (office extension : 419)
Lazarus I'm not sure your first problem is actually a problem - it looks to me like the epicalc package installed OK. Have you tried using epicalc? I'm sure your problem 2 is not an R problem, so don't know whether you'll get any help on this list. Best wishes Richard. Lazarus Mramba wrote:> Dear R Users; > > I am an R user who has recently bought a new laptop;Toshiba Satellite > U405 running on both Windows Vista and Ubuntu. > > I have problems on the wondows vista when installing packages. The > argument 'lib' is missing. How do i solve this problem? > > > Illustration: > >> install.packages("epicalc") > Warning in install.packages("epicalc") : > argument 'lib' is missing: using > 'C:\Users\lazurus\Documents/R/win-library/2.7' > > --- Please select a CRAN mirror for use in this session --- > trying URL > 'http://cran.za.r-project.org/bin/windows/contrib/2.7/epicalc_2.7.1.2.zip' > Content type 'application/zip' length 629215 bytes (614 Kb) > opened URL > downloaded 614 Kb > > package 'epicalc' successfully unpacked and MD5 sums checked > > The downloaded packages are in > > C:\Users\lazurus\AppData\Local\Temp\RtmpMrOxin\downloaded_packages > updating HTML package descriptions > > ## problem 2 is about downloading R without internet connection > I have failed to get internet working under ubuntu for both wireless > LAN and Ethernet cable and therefore i cannot download R from the net. > Both wireless and ethernet are not detected at all leave alone > connecting to the internet. I am using Atheros AR5007EG wireless network > adapter, Marvel Yukon 88E8040T PCI-E Fat Ethernrt Controller. > Internet works fine under the windows Vista system but not on the > Ubuntu side > Anyhelp will be appreciated. > > > > Kind regards, > Lazarus Mramba > Junior Statistician > P.O Box 986, 80108, > Kilifi, Kenya > Mobile No. +254721292370 > Tel: +254 41 522063 > Tel: +254 41 522390 > (office extension : 419) > > ______________________________________________ > 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. >-- Richard D. Pearson richard.pearson at postgrad.manchester.ac.uk School of Computer Science, http://www.cs.man.ac.uk/~pearsonr University of Manchester, Tel: +44 161 275 6178 Oxford Road, Mob: +44 7971 221181 Manchester M13 9PL, UK. Fax: +44 161 275 6204
Lazarus Mramba <LMramba <at> kilifi.kemri-wellcome.org> writes:> > Dear R Users; > > I am an R user who has recently bought a new laptop;Toshiba Satellite > U405 running on both Windows Vista and Ubuntu. > > I have problems on the wondows vista when installing packages. The > argument 'lib' is missing. How do i solve this problem? > > Illustration: > > > install.packages("epicalc") > Warning in install.packages("epicalc") : > argument 'lib' is missing: using > 'C:\Users\lazurus\Documents/R/win-library/2.7'This is a warning rather than an error; I think your package installed just fine.> ## problem 2 is about downloading R without internet connection > I have failed to get internet working under ubuntu for both wireless > LAN and Ethernet cable and therefore i cannot download R from the net. > Both wireless and ethernet are not detected at all leave alone > connecting to the internet. I am using Atheros AR5007EG wireless network > adapter, Marvel Yukon 88E8040T PCI-E Fat Ethernrt Controller. > Internet works fine under the windows Vista system but not on the > Ubuntu side > Anyhelp will be appreciated.Obviously (?) we can't help you with the network connection problems. But ... Under Windows (or on some other machine), go to http://cran.za.r-project.org/bin/linux/ubuntu/hardy/ download http://cran.za.r-project.org/bin/linux/ubuntu/hardy/r-base-core_2.7.1-1hardy0_i386.deb and try dpkg -i r-base-core_2.7.1-1hardy0_i386.deb (assuming you're using Hardy) I'm not sure how much of the other stuff there you'll need for a working installation. You might want to either (a) retrieve everything in the directory and stick it on a CD or a flash drive or (b) have another machine with an ethernet connection working while you try to install. On the other hand, unless you can get the networking going on the Ubuntu side or you're really desperate to use Ubuntu I would stick with R on the Windows side for now ...
If the warning bothers you then look at: .libPaths() and if you want to install to the second library, say, then do: install.packages("some.package", lib = .libPaths()[2]) Regarding your Ubuntu problem, another possibility is to try AndLinux which is a coLinux-based Ubuntu system that sits right on top of Windows and presumably makes use of the Windows drivers, which if correct would avoid that problem. I tried it a 1.5 years ago and initially thought it was working ok but after a while found it too flaky and junked it; however, by now it may be usable. On Tue, Jul 22, 2008 at 9:02 AM, Lazarus Mramba <LMramba at kilifi.kemri-wellcome.org> wrote:> Dear R Users; > > I am an R user who has recently bought a new laptop;Toshiba Satellite > U405 running on both Windows Vista and Ubuntu. > > I have problems on the wondows vista when installing packages. The > argument 'lib' is missing. How do i solve this problem? > > > Illustration: > >> install.packages("epicalc") > Warning in install.packages("epicalc") : > argument 'lib' is missing: using > 'C:\Users\lazurus\Documents/R/win-library/2.7' > > --- Please select a CRAN mirror for use in this session --- > trying URL > 'http://cran.za.r-project.org/bin/windows/contrib/2.7/epicalc_2.7.1.2.zip' > Content type 'application/zip' length 629215 bytes (614 Kb) > opened URL > downloaded 614 Kb > > package 'epicalc' successfully unpacked and MD5 sums checked > > The downloaded packages are in > > C:\Users\lazurus\AppData\Local\Temp\RtmpMrOxin\downloaded_packages > updating HTML package descriptions > > ## problem 2 is about downloading R without internet connection > I have failed to get internet working under ubuntu for both wireless > LAN and Ethernet cable and therefore i cannot download R from the net. > Both wireless and ethernet are not detected at all leave alone > connecting to the internet. I am using Atheros AR5007EG wireless network > adapter, Marvel Yukon 88E8040T PCI-E Fat Ethernrt Controller. > Internet works fine under the windows Vista system but not on the > Ubuntu side > Anyhelp will be appreciated. > > > > Kind regards, > Lazarus Mramba > Junior Statistician > P.O Box 986, 80108, > Kilifi, Kenya > Mobile No. +254721292370 > Tel: +254 41 522063 > Tel: +254 41 522390 > (office extension : 419) > > ______________________________________________ > 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. >