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

Ista Zahn istazahn at gmail.com
Thu Oct 15 05:27:46 CEST 2009


I should have also mentioned that you can search for r-cran in the
synaptic package manage if you're more comfortable with that than the
command line. This will also show you which packages are
installed/available.

-Ista

On Wed, Oct 14, 2009 at 11:25 PM, Ista Zahn <istazahn at gmail.com> wrote:
> On Wed, Oct 14, 2009 at 11:01 PM, Robert Wilkins <robstdev at gmail.com> 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!
> Open a terminal and type
>
> sudo aptitude update
> sudo aptitude search r-cran
>
> The packages marked with an "i" on the leftmost column are installed.
> Those marked with a p are not installed.
>
>> 2: List the R-related packages and add-ons that are available?
>> Probably a big number of them?
> sudo aptitude search r-cran will give you the list of packages
> available through the apt package management system. Additional
> packages are listed on the CRAN website, and can be installed using
> install.packages("PackageName") at the R command line.
>
>>
>> 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
> Depends on what your're used to. I've been using Ubuntu long enough
> that sudo is second nature...
>>
>> thanks again.
> Glad to help.
>
> -Ista
>>
>> 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
>>>
>>
>
>
>
> --
> Ista Zahn
> Graduate student
> University of Rochester
> Department of Clinical and Social Psychology
> http://yourpsyche.org
>



-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org




More information about the R-help mailing list