Skip to content
Prev 361898 / 398506 Next

Rcpp on R 3.2.4 compile problem Linux

I am trying to install Rcpp to a local library on an HPC. I am having
problems. I can provide any relevant information. Thank you in advance for
the help.

install.packages("Rcpp", repos=*)
*=a couple of different repos; all give the same errors

Relevant Cutout of errors (note I have replaced my home directory with
"HOME"):
Warning in file.copy(file.path(R.home("doc"), "html", "R.css"), outman) :
  problem copying /tools/R-3.2.4/lib64/R/doc/html/R.css to
/HOME/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/html/R.css: No such file or
directory
** building package indices
** installing vignettes
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
  unable to load shared object
'/HOME/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/libs/Rcpp.so':
  /HOME/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/libs/Rcpp.so: undefined
symbol: _ZSt24__throw_out_of_range_fmtPKcz
Error: loading failed
Execution halted
ERROR: loading failed


Session Info:
R version 3.2.4 (2016-03-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS release 6.6 (Final)

locale:
 [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C
 [3] LC_TIME=en_US.utf8        LC_COLLATE=en_US.utf8
 [5] LC_MONETARY=en_US.utf8    LC_MESSAGES=en_US.utf8
 [7] LC_PAPER=en_US.utf8       LC_NAME=C
 [9] LC_ADDRESS=C              LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C

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

loaded via a namespace (and not attached):
[1] tools_3.2.4

kindest regards,