Hi Conrad, all,
Thanks for the fixes and fast release. I have just tested
RcppArmadillo_0.2.22 on my code and it works fine.
Best regards,
baptiste
On 7 June 2011 03:52, Conrad Sand wrote:
> Hi Baptise & Terrance,
>
> I've fixed several issues in Armadillo and released an updated version
> (1
Richard,
I usually use a list for this (see below). If anybody has a simpler way,
I would love to learn about it...
Sanjog
src.cube = '
Rcpp::List aL(aL_);
int nr = Rcpp::as(nr_);
int nc = Rcpp::as(nc_);
int ns = Rcpp::as(ns_);
arma::cube a(nr,nc,ns);
for(int i=0; i(aL(i));
}
On 6 June 2011 at 08:35, Dirk Eddelbuettel wrote:
|
| Armadillo 1.99.4 is out with fixes for small matrices, and this has been
| wrapped into RcppArmadillo 0.2.22 which is now on CRAN. Please test this and
| see if it addresses the issues with the prior pre-releases of Armadillo 2.0.0.
|
| The
Hi Baptise & Terrance,
I've fixed several issues in Armadillo and released an updated version
(1.99.4). Dirk has wrapped it up in RcppArmadillo 0.2.22, which
should be hitting the mirrors soon.
Could you try your code again and let me know if you encounter any problems ?
With regards,
Conrad
Hi,
I would like to do something like this:
src.cube <- "
arma::cube a = as(aR);
return wrap(a);
"
fx <- cxxfunction(signature(aR="array"), src.cube, plugin="RcppArmadillo")
fx(array(1:27, c(3,3,3)))
But it fails. Can someone suggest a good alternative? I tried to create the
cube on
Armadillo 1.99.4 is out with fixes for small matrices, and this has been
wrapped into RcppArmadillo 0.2.22 which is now on CRAN. Please test this and
see if it addresses the issues with the prior pre-releases of Armadillo 2.0.0.
The NEWS entry is below.
Cheers, Dirk
0.2.22 2011-06-06
o
Le 06/06/11 06:09, Christian Gunning a écrit :
At the moment the only way i see is to make an R call to "new" and construct
the object this way...
Many of the methods for this class return other members of this class.
Can I create a new instance of the reference class in R from within
the mod
> On 06.06.2011, at 14:03, Romain Francois wrote:
>
> Le 04/06/11 14:53, soeren.vo...@uzh.ch a écrit :
>
>> On 02.06.2011, at 22:51, Laurent Gatto wrote:
>>
>>> On 2 June 2011 20:39, wrote:
On 02.06.2011, at 18:50, Dirk Eddelbuettel wrote:
> On 2 June 2011 at 18:37, soeren.vo...@
On 6 June 2011 at 09:56, baptiste auguie wrote:
| > | > I don't think it is a matter of fixing the R-Forge server. I think it
is a
| > | > matter of making your package installable on the largest number of user
| > | > systems. Also try win-builder.r-project.org to see how it fares on that
| > |
Le 04/06/11 14:53, soeren.vo...@uzh.ch a écrit :
On 02.06.2011, at 22:51, Laurent Gatto wrote:
On 2 June 2011 20:39, wrote:
On 02.06.2011, at 18:50, Dirk Eddelbuettel wrote:
On 2 June 2011 at 18:37, soeren.vo...@uzh.ch wrote:
When R CMD CHECKing the package, I repeatedly get the error:
|
|
Le 02/06/11 14:43, Cedric Ginestet a écrit :
Hi again,
I have tried to do the same for Matrices. Here my naive attempt:
template
Rcpp::Matrix< Rcpp::traits::r_sexptype_traits::rtype >
ublas2rcpp( const matrix& x ){
return Rcpp::Ma
Le 02/06/11 12:10, rom...@r-enthusiasts.com a écrit :
Thanks.
Making init protected instead of private in Vector.h solved it for me.
I cant commit the fix from the eurostar.
Romain
Done in rev 3046.
Le 1 juin 2011 à 21:36, Douglas Bates a écrit :
I am developing classes for sparse matri
Le 04/06/11 16:31, soeren.vo...@uzh.ch a écrit :
Hello
Apologies for cross-posting, the discussion should (if) go to R-devel, but I
also want to reach the rcpp-devel people.
My C++ class FOO is a module available through Rcpp, and it works fine and is
-- so far -- bug free. With trying to fu
> At the moment the only way i see is to make an R call to "new" and construct
> the object this way...
>> Many of the methods for this class return other members of this class.
>> Can I create a new instance of the reference class in R from within
>> the module? I'm sure it is possible, I'm jus
Thank you for the explanations below.
On 5 June 2011 10:40, Dirk Eddelbuettel wrote:
>
> On 5 June 2011 at 10:12, baptiste auguie wrote:
> | Hi Dirk and all,
> |
> | On 4 June 2011 12:04, Dirk Eddelbuettel wrote:
> | >
> | > Baptiste,
> | >
> | > On 4 June 2011 at 11:45, baptiste auguie wrote:
>
15 matches
Mail list logo