Displaying 3 results from an estimated 3 matches for "eddelbeutel".
2010 Mar 25
1
Error using Rcpp
...vecout[i] = orig[i]+1;
}
Rcpp::Pairlist
res(Rcpp::Named("result",vecout),Rcpp::Named("original",orig));
return res;
}
I then try to use - R CMD SHLIB addone.cpp
that didnt work. the error said there was no such file - "Rcpp.h" .
Then i came across Dirk Eddelbeutel's beamer presentation and followed the
suggestion to copy Rcpp.h to /usr/loca/include and libRcpp.so to
/usr/local/lib
Then i tried R CMD SHLIB addone.cpp again but got many errors. Here is a
small selection:
/usr/local/include/Rcpp.h:34:32: error: RcppDatetimeVector.h: No such file
or direct...
2011 Sep 02
2
Avoiding for Loop for moving average
Hello,
I need to calculate a moving average and an exponentially weighted moving average over a fairly large data set (500K rows).
Doing this in a for loop works nicely, but is slow.
ewma <- data$col[1]
N <- dim(data)[1]
for(i in 2:N){
data$ewma <- alpha * data$ewma[i-1] + (1-alpha) * data$value[i]
}
Since the moving average "accumulates" as we move through the data,
2018 Apr 04
5
r python interfaz
Estimados
Recuerdo que hace unos años en esta lista con uno de los Carlos se había
creado un hilo sobre R y python, hoy leo una noticia, por lo menos para mí,
que podría entrar en esa situación entre lo mejor de dos alternativas.
Lógicamente, es nuevo para mí, no puedo opinar nada más que compartir la
información, probar, usar, y cada uno puede utilizar o rechazar la
herramienta.
Miren