[R] problem with RCurl install on Unix

Steven McKinney smckinney at bccrc.ca
Thu Mar 22 03:29:43 CET 2007


I get the same problem, and haven't
figured it out yet.

Is it a 32bit/64bit clash?

(Similarly, I don't have RMySQL up and running cleanly.)




> library(RCurl)
Error in dyn.load(x, as.logical(local), as.logical(now)) : 
	unable to load shared library '/share/apps/R/R-2.4.1/library/RCurl/libs/RCurl.so':
  libcurl.so.4: cannot open shared object file: No such file or directory
Error: package/namespace load failed for 'RCurl'


> sessionInfo()
R version 2.4.1 (2006-12-18) 
x86_64-unknown-linux-gnu 

locale:
LC_CTYPE=en_US.iso885915;LC_NUMERIC=C;LC_TIME=en_US.iso885915;LC_COLLATE=en_US.iso885915;LC_MONETARY=en_US.iso885915;LC_MESSAGES=en_US.iso885915;LC_PAPER=en_US.iso885915;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.iso885915;LC_IDENTIFICATION=C

attached base packages:
[1] "stats"     "graphics"  "grDevices" "utils"     "datasets"  "methods"  
[7] "base"     

other attached packages:
     DBI 
"0.1-12" 
> 

Steven McKinney

Statistician
Molecular Oncology and Breast Cancer Program
British Columbia Cancer Research Centre

email: smckinney at bccrc.ca

tel: 604-675-8000 x7561

BCCRC
Molecular Oncology
675 West 10th Ave, Floor 4
Vancouver B.C. 
V5Z 1L3
Canada




-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch on behalf of Mark W Kimpel
Sent: Wed 3/21/2007 3:09 PM
To: r-help at stat.math.ethz.ch
Subject: [R] problem with RCurl install on Unix
 
I am having trouble getting an install of RCurl to work properly on a 
Unix server. The steps I have taken are:

1. installed cUrl from source without difficulty
2. installed RCurl from source using the command
	~/R_HOME/R-devel/bin/R CMD INSTALL -l ~/R_HOME/R-devel/library 
~/RCurl_0.8-0.tar.gz     I received no errors during this install
3. when I go back to R and require(RCurl), I get

 > require(RCurl)
Loading required package: RCurl
Error in dyn.load(x, as.logical(local), as.logical(now)) :
         unable to load shared library 
'/N/u/mkimpel/BigRed/R_HOME/R-devel/library/RCurl/libs/RCurl.so':
   libcurl.so.4: cannot open shared object file: No such file or directory
°1§ FALSE

Outside of R I get

mkimpelàBigRed:¨/R_HOME/R-devel/library/RCurl/libs> ls
RCurl.so

I can cat into RCurl and I have even done chmod a+x RCurl.so in case 
there was a problem with permission for R to open the file.

Below is my sessionInfo. Thanks, Mark

 > sessionInfo()
R version 2.5.0 Under development (unstable) (2007-03-11 r40824)
powerpc64-unknown-linux-gnu

locale:
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=C

attached base packages:
°1§ "stats"     "graphics"  "grDevices" "datasets"  "utils"     "tools"
°7§ "methods"   "base"

other attached packages:
     limma      affy    affyio   Biobase
  "2.9.13" "1.13.14"   "1.3.3" "1.13.39"
 >



-- 
Mark W. Kimpel MD
Neuroinformatics
Department of Psychiatry
Indiana University School of Medicine

______________________________________________
R-help at stat.math.ethz.ch 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.



More information about the R-help mailing list