i using ubuntu 14.04. have problem installing rcpp after installed mro 3.2.3 find out revomath lib did not install. had remove , reinstall r did not reinstall rstudio.
i researched , read dirk e's post on r cmd shlib led me answer post listed below.
https://stackoverflow.com/a/14389028/5153539
i tried installing code , looked going work got same error posted below (although did not try install rcpp terminal using method yet).
any appreciated.
error when installing rcpp in rstudio on ubuntu 14.04:
installing source package ‘rcpp’ ...
package ‘rcpp’ unpacked , md5 sums checked warning in file.copy(f, instdir, true) : problem copying ./namespace /home/briangriner/r/x86_64-pc-linux-gnu-library/3.2/rcpp/namespace: permission denied warning in file(file, ifelse(append, "a", "w")) :
cannot open file '/home/briangriner/r/x86_64-pc-linux-gnu-library/3.2/rcpp/description':
permission denied error in file(file, ifelse(append, "a", "w")) : cannot open connection error: installing package description failed package ‘rcpp’
removing ‘/home/briangriner/r/x86_64-pc-linux-gnu-library/3.2/rcpp’
i think error is
problem copying ./namespace /home/briangriner/r/x86_64-pc-linux-gnu-library/3.2/rcpp/namespace: permission denied
check permissions on rcpp
directory, or remove , reinstall rcpp. you're on ubuntu can install (probably little older) binary package r-cran-rcpp
.
Comments
Post a Comment