[R] Which packages are installed with the default R installation?

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Mar 5 09:32:23 CET 2012


On 05/03/2012 04:56, Joshua Wiley wrote:
> Hi D. Isler,
>
> It is not a very good sign if you are indeed missing the
> find.package() function, this is in the base package, and if functions
> from base are missing, your entire version of R is likely corrupt.

Or old.  Which is why we ask for 'at a minimum' information in the 
posting guide, and for you to update before posting. (find.package needs 
R >= 2.13.0, AFAIR.)

> If you just do not have some packages you want, and are having
> dependency issues, make sure you have a connection to an up-to-date
> CRAN mirror, R has write permissions to a library, and then try:
>
> install.packages("package of interest", dependencies = TRUE)
>
> Also, you should read the posting guide (see the footer of this
> message as well as every other message ever on R-help) and report the
> output of sessionInfo() to us.
>
> Best regards,
>
> Josh
>
> On Sun, Mar 4, 2012 at 1:22 PM, maya<duyguisler at gmail.com>  wrote:
>> Hello,
>>
>> I am a new R user, I have one R version in my Macbook and one in a ubuntu
>> desktop.
>> I was installing some packages from a secure private source to the R in
>> ubuntu and it replaced some of the existing packages. While the version in
>> my macbook works all ok, in the Ubuntu version of R, I am missing some basic
>> functionalities like:
>> find.package()
>> and I can't install new packages which are throwing dependency errors.

No, not-available errors.  Again, the message shows that the R used is 
rather old ....

>>> install.packages("ggplot2")
>> ..
>> Warning message:
>> In getDependencies(pkgs, dependencies, available, lib) :
>>   package ‘ggplot2’ is not available
>>
>> Can you help me with what base packages I may be missing?
>> Thanks in advance,
>> D. Isler
>>
>>
>> --
>> View this message in context: http://r.789695.n4.nabble.com/Which-packages-are-installed-with-the-default-R-installation-tp4444321p4444321.html
>> Sent from the R help mailing list archive at Nabble.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.
>
>
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list