Entering edit mode
Fong Chun Chan
▴
130
@fong-chun-chan-4166
Last seen 10.2 years ago
Hi all,
I am having a lot of difficulties installing the R package Genomic
Features. When I first tried to install it using the command:
source("http://bioconductor.org/biocLite.R")
biocLite("GenomicFeatures")
I got issues about RCurl not being able to install. I followed the
instructions from this
thread<http: stackoverflow.com="" questions="" 10965755="" genomicfeatures-="" package-installation-trouble="">
by
installing libcurl <http: curl.haxx.se="" libcurl=""/> and
libxml<http: www.xmlsoft.org=""/>from source to my /home/fong/usr/local.
I then tried to install the
dependencies independently, I ran into errors for RCurl
install.packages('RCurl')
....
/usr/bin/ld: cannot find -lcurl
collect2: ld returned 1 exit status
make: *** [RCurl.so] Error 1ERROR: compilation failed for package
RCurl*
I am thinking this is because I installed libcurl in a non-standard
directory, /home/fong/usr/local, there it is complaining about that.
How
do I make R see where I installed libcurl? Or is there another
problem
that I am missing here?
Fong
----
sessionInfo()
R version 2.14.2 (2012-02-29)
Platform: x86_64-unknown-linux-gnu (64-bit)locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5]
LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=C
LC_NAME=C [9] LC_ADDRESS=C
LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] BiocInstaller_1.2.1 XML_3.9-4
loaded via a namespace (and not attached):
[1] tools_2.14.2
>
[[alternative HTML version deleted]]