query for Rstudio command
1
1
Entering edit mode
8.5 years ago

Hi all, i have some problem on some commands install.packages("ggplot2") Installing package into ‘/home/vn/R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘ggplot2’ is not available (for R version 3.0.2)

install.packages("reshape") Installing package into ‘/home/vn/R/x86_64-pc-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) Warning in install.packages : dependency ‘plyr’ is not available --2016-06-03 14:36:18-- https://cran.rstudio.com/src/contrib/reshape_0.8.5.tar.gz Resolving cran.rstudio.com cran.rstudio.com)... 54.240.168.41 Connecting to cran.rstudio.com cran.rstudio.com)|54.240.168.41|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 42350 (41K) [application/x-gzip] Saving to: ‘/tmp/Rtmp1fKcbI/downloaded_packages/reshape_0.8.5.tar.gz’

 0K .......... .......... .......... .......... .         100% 53.7K=0.8s

2016-06-03 14:36:37 (53.7 KB/s) - ‘/tmp/Rtmp1fKcbI/downloaded_packages/reshape_0.8.5.tar.gz’ saved [42350/42350]

ERROR: dependency ‘plyr’ is not available for package ‘reshape’ * removing ‘/home/vn/R/x86_64-pc-linux-gnu-library/3.0/reshape’ Warning in install.packages : installation of package ‘reshape’ had non-zero exit status so please help me to solvethis problem

R • 2.2k views
ADD COMMENT
1
Entering edit mode

Perhaps upgrading your version of R will solve this. If not, you could try posting this on the support.bioconductor.org site, which is more relevant than biostars.

ADD REPLY
1
Entering edit mode

Try installing the plyr package first since it's what it is complaining about.

ADD REPLY
1
Entering edit mode
8.5 years ago
Shab86 ▴ 310

Stackoverflow is also a good place to search for such software related issues. Here's a problem similar to yours: http://stackoverflow.com/questions/30636670/ggplot2-fails-to-install-on-r-3-0-2 Hope this helps!

ADD COMMENT

Login before adding your answer.

Traffic: 1658 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6