Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Hello, The following code works well in R: attach(dataqtr) dataqtr <- data.table(dataqtr) setkeyv(dataqtr,c("gvkey","qtr")) vec_growth <- data.frame(0,0,0,0,0,0,0,0,0,0,0,0,0) vec_eps <- data.frame...
Hello! I am trying to run the example here: http://gallery.rcpp.org/articles/gsl-colnorm-example/ I get the following error: g++ -m64 -I"C:/R/R-30~1.3/include" -DNDEBUG -IC:/GSl-1.16/include -I"E...
Hello everybody, I have a code in C which computes the root of a function using the Brent algorithm. The code is attached below. I provided the full code but you can focus on the function definition and the main...
I don't know how to change the parameters of the function. The Brent routine finds the root of a function depending just on x. I know how to pass a vector between R and C, but I want to...
It seems that I am able to run the example in RcppGSL-intro.pdf, section 6, as far as I use the 32 bits R version. So, should I just use cxxfunction, or is there another way to make sourceCpp...
Hello everybody, Thanks for your suggestions. I used the cppFunction as follows: #include <Rcpp.h> using namespace Rcpp; // [[Rcpp::export]] NumericMatrix fun (NumericVector a, NumericVector b, NumericMatrix Am , int T ){ int nrow = Am.nrow(); int ncol = Am.ncol(); for (int...
Thank you for your quick reply! I corrected the issue mentioned by you, but I get the same error. It must be a beginner's issue. The data is quite big, but this kind of output could be produced with...
Can't find what you're looking for? Try searching with Google .