Question: problem with installation of package ggplot2
0
gravatar for sithara.ep
4.0 years ago by
sithara.ep10
United States
sithara.ep10 wrote:

my R version is  3.0.2 (2013-09-25)  and i am using OS ubuntu 14.04LTS 32-bit.I am facing prolem while loading package ggplot2.here i am listing out the error.

ERROR: dependencies ‘plyr’, ‘reshape2’, ‘scales’ are not available for package ‘ggplot2’

  package ‘plyr’ is not available (for R version 3.0.2)

can any one suggest any solution.plz

plot graphics pakage R myposts • 9.2k views
ADD COMMENTlink modified 4.0 years ago by Charles Plessy2.7k • written 4.0 years ago by sithara.ep10

How about updating R to the latest version?

ADD REPLYlink written 4.0 years ago by 5heikki8.5k

Update your R version, and install packages of dependencies. ;)

ADD REPLYlink written 4.0 years ago by glihm600
2
gravatar for Charles Plessy
4.0 years ago by
Charles Plessy2.7k
Japan
Charles Plessy2.7k wrote:

If you do not need the latest version, you can install the packaged version distributed by Ubuntu

sudo apt-get install r-cran-ggplot2
ADD COMMENTlink written 4.0 years ago by Charles Plessy2.7k

This command does install all dependencies automatically on Linux?

ADD REPLYlink modified 4.0 years ago • written 4.0 years ago by glihm600
1

Yes, see packages.ubuntu.com/trusty/r-cran-ggplot2 for details. Note that the dependencies themselves will be old, since Trusty is old.

ADD REPLYlink written 4.0 years ago by Charles Plessy2.7k
0
gravatar for glihm
4.0 years ago by
glihm600
France
glihm600 wrote:

Fist : Install the new version downloaded here.

Then : Some packages need to be installed if they are not in the R basics. So, you have to install manually each packages in your error message. If you are asking you how to install one package, follow this guide. ;)

Hope it helps you.

ADD COMMENTlink written 4.0 years ago by glihm600
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 743 users visited in the last hour