[Rcpp-devel] Rcpp documentation

2016-10-20 Thread Tiago Fragoso
Hello all, Is there any sort of concise Rcpp documentation that lists the constructors and methods for Rcpp classes in an useful way? I know there are vignettes and examples and all that, but I was looking for a dirty quick reference like the (very good one) for Armadillo: http://arma.sourceforg

Re: [Rcpp-devel] Linking to GLPK

2016-06-09 Thread Tiago Fragoso
ource files. Any pointers will be of great help. Thanks! On Wed, Jun 8, 2016 at 5:19 PM, Tiago Fragoso wrote: > Hello, > > I've been trying to use glpk with Rcpp on Windows, to no avail. Is there > any way to directly link to GLPK from a C++ source file (like simply using > #i

[Rcpp-devel] Issue on eig_sym()

2014-03-11 Thread Tiago Fragoso
Hello all,. I am running into the following issue on eig_sym() when using RcppArmadillo: error: eig_sym(): failed to converge error: matrix multiplication: incompatible matrix dimensions: 0x0 and 108x1 It occurs somewhat at random (this time, I had the surprise around iteration 10^6), mostly w

[Rcpp-devel] Rcpp+bigmemory+inline

2014-01-27 Thread Tiago Fragoso
Hi all, I'm trying to use Rcpp with bigmemory, and I'm using the exact same example from http://gallery.rcpp.org/articles/using-bigmemory-with-rcpp/ , but I'm encountering the following error: > sourceCpp("example.cpp") In file included from /home/tiago/R/x86_64-pc-linux-gnu-library/3.0/bigmemor

[Rcpp-devel] Negative indexing in Rcpp

2013-04-01 Thread Tiago Fragoso
Hello, Say I have a 10x10 matrix A. If I want to access everything remaining after I delete columns 1, 5 and 10, all I have to do is A[,-c(1,5,10)] Is there a convenient way to do it in Rcpp (or using Armadillo objects)? Best regards, Tiago ___ Rcpp-