Re: [R] R on an Asus Eee PC (step-by-step guide)

From: John C Frain <frainj_at_gmail.com>
Date: Mon, 28 Apr 2008 15:33:31 +0100

Thanks for the step by step guide. It installs a base R and some libraries very well. I tries to load some of the Rmetrics libraries, using install.packages() nu ran into problems. I used apt-get install to install make and gcc from the Xandros repository. gcc also included binutils, gcc-4.1 and libsspo. Is there an easy answer to the question what I need to install to get the install process working. The R Installation and Administration guide says that I just need the compilers and tools. Installing robustbase gives the following messages. (If it is as simple as R not being able to find the header files how do I tell R where to find them?).

Best Regards

John

Warning in install.packages() :
  argument 'lib' is missing: using '/home/user/R/i486-pc-linux-gnu-library/2.7' trying URL 'http://cran.uk.r-project.org/src/contrib/robustbase_0.2-8.tar.gz' Content type 'application/x-gzip' length 372375 bytes (363 Kb) opened URL



downloaded 363 Kb

The downloaded packages are in

        /tmp/RtmposkvoD/downloaded_packages Warning message:
In install.packages() :
  installation of package 'robustbase' had non-zero exit status

2008/4/28 Viechtbauer Wolfgang (STAT) <Wolfgang.Viechtbauer_at_stat.unimaas.nl>:
> Dear All,
>
> A while back, the question was raised whether R would run on an Eee PC:
>
> http://tolstoy.newcastle.edu.au/R/e3/help/07/12/6564.html
>
> There were some positive responses and some suggestions for getting this to work:
>
> http://tolstoy.newcastle.edu.au/R/e3/help/07/12/7244.html
>
> For those who would like a step-by-step guide, here it is. I hope somebody might find this useful.
>
> 1) open up a terminal window (Ctrl-Alt-t)
> 2) get root access (su, then enter password)
> 3) cd /etc/apt/
> 4) pico sources.list (to edit the software repositories list)
> 5) at the bottom, add the following line:
>
> deb http://xnv4.xandros.com/xs2.0/upkg-srv2 etch main contrib non-free
>
> 6) save and exit with Ctrl-O and Ctrl-X
> 7) get connected to the internet (I assume you know how to do that)
> 8) apt-get update (to update the package index files)
>
> (you may get a warning about a missing public key; you can ignore this)
>
> 9) apt-get install libgfortran1
> 10) apt-get install tk8.4
>
> (both of these packages are needed before you can install r-base)
>
> You could, at this point, also install r-base from the xandros repository. However, it is version 2.4 or something like that, so let's not do that and instead get an up-to-date version.
>
> 11) again, go to /etc/apt/ (if you are not there anymore) and edit sources.list
> 12) remove the line you added under (5) and add the following line:
>
> deb http://cran.r-project.org/bin/linux/debian/ stable/
>
> (the "cran.r-project.org" could be replaced with your favorite mirror).
>
> 13) apt-get update (again, missing public key error can be ignored)
> 14) apt-get install r-base
>
> This may take a minute, depending on the speed of your connection. That's it. Now type "exit" to become a regular user again and you should be able to start R by just typing R. You may also remove the line you added under (12) from the sources.list file.
>
> Best,
>
> --
> Wolfgang Viechtbauer
> Department of Methodology and Statistics
> University of Maastricht, The Netherlands
> http://www.wvbauer.com/
>
> ______________________________________________
> 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.
>

-- 
John C Frain
Trinity College Dublin
Dublin 2
Ireland
www.tcd.ie/Economics/staff/frainj/home.html
mailto:frainj_at_tcd.ie
mailto:frainj_at_gmail.com

______________________________________________
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.
Received on Mon 28 Apr 2008 - 15:10:06 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 28 Apr 2008 - 17:30:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive