Entering edit mode
8.0 years ago
jolin0701-dy
▴
100
I'd like to install ballgown in R. But it seems that I can not install RCurl
Any help would be greatly appreciated~~
> source("http://bioconductor.org/biocLite.R")
> biocLite("ballgown")
* installing *source* package ‘RCurl’ ...
** package ‘RCurl’ successfully unpacked and MD5 sums checked
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package ‘RCurl’
* removing ‘/home/apps/R-3.1.1/library/RCurl’
ERROR: dependency ‘RCurl’ is not available for package ‘rtracklayer’
* removing ‘/home/apps/R-3.1.1/library/rtracklayer’
ERROR: dependency ‘rtracklayer’ is not available for package ‘ballgown’
* removing ‘/home/apps/R-3.1.1/library/ballgown’
The downloaded source packages are in
‘/tmp/Rtmpvtw3AA/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘RCurl’ had non-zero exit status
2: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘rtracklayer’ had non-zero exit status
3: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) :
installation of package ‘ballgown’ had non-zero exit status
Thanks so much~~
You need to install libcurl (or it might be installed but cannot be found). What system are you in? (In linux you can try
apt-get install libcurl
or similar to install it). Technically not a bioinformatics question...Alternatively:
sudo yum install libcurl-devel
(or similar)