I have already installed ggplot2 and Rcpp package; these run well when I am using shell, but fail if using exec()
PHP
here my error log:
Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/usr/lib64/R/library/Rcpp/libs/Rcpp.so': /opt/lampp/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /usr/lib64/R/library/Rcpp/libs/Rcpp.so) Error: package or namespace load failed for ‘ggplot2’ Execution halted
My server using centos 6. While I got Rstudio from here (v0.99.903-x86_64)