search for: gsl_vector

Displaying 2 results from an estimated 2 matches for "gsl_vector".

Did you mean: as_vector
2007 Jan 04
1
Parameter changes and segfault when calling C code through .Call
...print(sig) # sig has changed after .Call This code takes the SEXP's that were passed from R and converts them to gsl objects, and then calls the logpdf function: # include <R.h> # include <Rinternals.h> # include <Rmath.h> # include <gsl/gsl_matrix.h> # include <gsl/gsl_vector.h> # include <gsl/gsl_blas.h> # include <gsl/gsl_linalg.h> # include <gsl/gsl_math.h> SEXP R_mvnorm_logpdf (SEXP xx, SEXP mux, SEXP sigmax, SEXP kx) { int k = INTEGER(kx)[0]; double * xAr = REAL(xx); double * muAr = REAL(mux); double * sigmaAr = REAL(sigmax); SEX...
2011 Jun 21
2
Error using RcppGSL
Hi, I get an error using RcppGSL: fatal error: gsl/gsl_vector.h:No such file or directory. What is the best way to install these files as they seem to be missing? Thanks, Oyvind -- View this message in context: http://r.789695.n4.nabble.com/Error-using-RcppGSL-tp3613535p3613535.html Sent from the R devel mailing list archive at Nabble.com.