Closed dd315 closed 1 week ago
One at a time please. Why did sudo apt install r-cran-rcpparmadillo
not work? What were the errors?
For the second, we need actual sessionInfo()
output for your compiler etc. RcppArmadillo very much works on Ubuntu down to 22.04 and further. (Running 24.04 on several machines here.)
I think you may have an outdated Rcpp here, it needs at update (as current versions have) related to the print format string. For what it is worth I just installed a current Rcpp (1.0.13) pulled in by a current RcppArmadillo (14.0.2-1) on Ubuntu 22.04, both from source. No issues.
So please ensure all required components are current.
I think you may have an outdated Rcpp here, it needs at update (as current versions have) related to the print format string. For what it is worth I just installed a current Rcpp (1.0.13) pulled in by a current RcppArmadillo (14.0.2-1) on Ubuntu 22.04, both from source. No issues.
So please ensure all required components are current.
Thank you very much for your reply! I am a new R user and I successfully installed RcppArmadillo after updating Rcpp! Best wishes.
and I successfully installed RcppArmadillo after updating Rcpp
I should probably impose a (correct and needed, as we have seen again here) minimum Rcpp version in the DESCRIPTION files of RcppArmadillo. That may have too be 1.0.13. I will ponder this.
From looking at the NEWS file for Rcpp we seem to have made that format string change for release 1.0.12 which would then be a suitable minimal version.
Do you know which version you upgraded from here?
Closing this as RcppArmadillo 14.2.0-1 now specified Rcpp (>= 1.0.12).
I'm sorry, I've been trying very hard to solve my problem
sudo apt install r-cran-rcpparmadillo
sudo apt install r-base-dev
The above two commands did not work
Sys.info ubuntu 22.04 R 4.4.1