maya
2012-Mar-04 21:22 UTC
[R] Which packages are installed with the default R installation?
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.> 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.
David Winsemius
2012-Mar-05 01:02 UTC
[R] Which packages are installed with the default R installation?
On Mar 4, 2012, at 4:22 PM, maya 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. > >> 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?So far I see no evidence that any base packages are "missing". "ggplot2" is certainly not a base package. -- David Winsemius, MD West Hartford, CT
Joshua Wiley
2012-Mar-05 04:56 UTC
[R] Which packages are installed with the default R installation?
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.
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.
>
>> 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.
--
Joshua Wiley
Ph.D. Student, Health Psychology
Programmer Analyst II, Statistical Consulting Group
University of California, Los Angeles
https://joshuawiley.com/