python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Scale the columns of an RcppArmadillo matrix using lambda function
I want to min-max the columns of a matrix using RcppArmadillo and a lambda function, without using a for loop. I have tried this in the code below but this just returns the original matrix. How to rep...
NickSc79
Votes: 0
Answers: 0
fail to install package ‘RcppArmadillo’ on ubuntu 20.04 R version 4.1.3
I am trying to install the 'forecast' package for my shiny server on ubuntu.
that process on my terminal is just getting stuck and once stopping the installation- it says:
ERROR: compilation failed fo...
mailo
Votes: 0
Answers: 1
Invoke the element in `Rcpp::List` for futher use directly
In an application, I use List to contain some variables (double, arma::mat and other types), and then take the arma::mat component in this list for futher use directly, such as matrix addition. Howeve...
zengc
Votes: 0
Answers: 1
sourceCpp error: not mach-o or a static library file '/usr/local/lib/libgfortran.dylib'
I've long been a user of RcppArmadillo, but have been unable to compile any programs via sourceCpp since upgrading my OS to Monterey Version 12.3.
Getting the following error:
ld: malformed universal ...
Alexander McLain
Votes: 0
Answers: 3