orge.r-project.org] On Behalf Of Douglas
Bates
Sent: 31. januar 2014 21:45
To: French, Joshua
Cc:
rcpp-devel@lists.r-forge.r-project.org<mailto:rcpp-devel@lists.r-forge.r-project.org>
Subject: Re: [Rcpp-devel] Sparse matrix operations
On Fri, Jan 31, 2014 at 1:14 PM, French, Joshua
mailto:
Hello everyone,
For those of you who have used the sparse matrix capabilities of
Armadillo/RcppArmadillo, how seamless are the operations in moving between
sparse and dense matrices? I know there are some tricks for getting
sparseMatrix objects into SpMat objects (Dirk has a nice Rcpp Gallery
Davor,
I¹m not sure if this question is in reference to an email from Brian
Ripley, but I was under the impression that we should include Rcpp and/or
RcppArmadillo in Depends so that it is not installed for binary versions
of the packages. The following excerpt is from an email recently sent out
oshua French
mailto:joshua.fre...@ucdenver.edu>>
Subject: Re: [Rcpp-devel] Error with NumericMatrix using SourceCpp
Hi Joshua,
I had the same problem a month or two ago. Try installing Rcpp from source.
(that did the trick for me)
Best,
--
Hao Ye
h...@ucsd.edu<mailto:h...@ucsd.edu>
On Jan 2,
Hello everyone,
I’m getting a weird error anytime I try to use a NumericMatrix in a function
compiled using the sourceCpp function. In case it matters, I’m running Mac OS
X 10.9.1.
I compiled a simple NumericVector function with no problem:
library(Rcpp)
src <- '
#include
using namespace Rc
>To be fair, it's 300k by 300k (not 3mill by 3mill), so:
>
>R> (30 * 30 * 8) / 2^30
>[1] 670.5523
>
>So, I guess 0.67 terabytes ... no problemo ;-)
>
>-steve
I'm getting the picture now. Thanks for the additional example. And
Doug, sorry I still missed your earlier point.
__
orado Denver
joshua.fre...@ucdenver.edu
http://math.ucdenver.edu/~jfrench/
Ph: 303-556-6265 Fax: 303-556-8550
On 7/17/12 8:56 AM, "Douglas Bates" wrote:
>On Tue, Jul 17, 2012 at 8:14 AM, Dirk Eddelbuettel wrote:
>>
>> On 16 July 2012 at 23:30, French, Joshua wrot
I am doing some linear algebra on large matrices in R and receiving the
following error: "allocMatrix: too many elements specified". From what I
understand, the error is caused by the fact that R uses 32-bit ints and not
64-bit ints for matrix indices, so R doesn't have a way to represent all
http://math.ucdenver.edu/~jfrench/
Ph: 303-556-6265 Fax: 303-556-8550
On 2/13/12 10:52 AM, "Dirk Eddelbuettel" wrote:
>
>Hi Joshua,
>
>On 13 February 2012 at 10:32, French, Joshua wrote:
>| I got flagged for the _ZSt4cout warning below on a recent CRAN
>s
Hello everyone,
I got flagged for the _ZSt4cout warning below on a recent CRAN submission of an
R package which depends on RcppArmadillo.
* checking compiled code ... NOTE
File
‘/data/smith/R/packages/incoming/SpatialTools.Rcheck/SpatialTools/libs/SpatialTools.so’:
Found ‘_ZSt4cout’, possibly
10 matches
Mail list logo