[R] installing R on Ubuntu, can ignore warning messages?

David Winsemius dwinsemius at comcast.net
Thu Oct 15 05:29:12 CEST 2009


On Oct 14, 2009, at 11:01 PM, Robert Wilkins wrote:

> It does, thank you. I was able to understand enough of it to do the
> install successfully . Still trying to understand the later paragraphs
> such as install.package() and the r-cran-foo build dependencies. (the
> site you pointed me to is the same site i did a printout of yesterday
> to try to do an install, the readme file prints to 3 pages).
>
> Is there an easy way to:
> 1: List the R-related packages and add-ons that are already installed?
> no point in trying to install what you already got!

installed.packages()

> 2: List the R-related packages and add-ons that are available?
> Probably a big number of them?

Larger innumber than you would want to print. Why not go to CRAN with  
your browser?

>
> Also, for people who try Ubuntu out for the first time could be thrown
> for a loop by the weird way it handles the root account:
> https://help.ubuntu.com/community/RootSudo
>
> thanks again.
>
> On Wed, Oct 14, 2009 at 10:38 PM, Ista Zahn <istazahn at gmail.com>  
> wrote:
>> Hi,
>> Instructions for authenticating the cran repositories are here:
>> http://cran.r-project.org/bin/linux/ubuntu/
>>
>> r-base comes with whatever the base R libraries are (stats, graphics
>> etc.). I don't know if MASS in particular is in base because I don't
>> use it directly.
>>
>> As far as I know it's safe to ignore the warnings, but they annoy me
>> so I always following the instructions linked above.
>>
>> The list of packages regularly updated in the cran repo are also
>> listed on the webpage linked above.
>>
>> A couple of further tips:
>> 1) I usually install packages with sudo aptitude install r-cran-xxx
>> and then make sure they are up-to date by running update.packages()  
>> in
>> R.
>> 2) You can also install packages using the regular install.packages()
>> in an R session.
>>
>> Hope that helps,
>> -Ista
>>
>> On Wed, Oct 14, 2009 at 10:11 PM, robstdev <robstdev at gmail.com>  
>> wrote:
>>> Installing R on Ubuntu 8.10,
>>> ( using sudo apt-get install r-base , and using one of the cran  
>>> sites
>>> (cran.cnr.berkeley.edu))
>>>
>>> the installation process says something about not having some gpg
>>> public key and
>>> "are you sure you want to download non-authenticated stuff [y/ 
>>> n]"  (to
>>> which I answered yes).
>>> I'm assuming this warning can be ignored?
>>>
>>> Also: even though the Ubuntu install and online update did a GCC
>>> install the other day, the R installation did an update of some GCC
>>> files, which I thought was odd. Probably I can ignore that too.
>>>
>>> Once you've installed R, does that automatically include some data
>>> examples ( such as that MASS library ? )?
>>> Or does that require further downloads?
>>>
>>> Also, thanks for the previous tips
>>>
>>> ______________________________________________
>>> 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.
>>>
>>
>>
>>
>> --
>> Ista Zahn
>> Graduate student
>> University of Rochester
>> Department of Clinical and Social Psychology
>> http://yourpsyche.org
>>
>
> ______________________________________________
> 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.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list