Le 23/10/2013 06:12, jean-michel.perr...@csiro.au a écrit :
Hi,
This has to be a basic question, but I cannot figure out what I am missing nor
see quite similar pre-existing posts.
I am trying to create an Rcpp module around a class (generated C++ proxy
class). The environment is Rcpp 0.10.5
Salut Jean-Michel,
On 23 October 2013 at 04:12, jean-michel.perr...@csiro.au wrote:
| Hi,
|
| This has to be a basic question, but I cannot figure out what I am missing
nor see quite similar pre-existing posts.
|
| I am trying to create an Rcpp module around a class (generated C++ proxy
class
On 23 October 2013 at 14:31, Romain Francois wrote:
| Le 23/10/2013 13:47, Dirk Eddelbuettel a écrit :
| > As always, preferably with a usage example (Rcpp Gallery post? Section in
a (new)
| > vigntte?) and tests so that people have some info on how to use it.
|
| That means it will take me mor
I just wanted to jump in here.
Mark, I'm going to email you off the list to chat about a Gallery post. It
looks like we wanted to know roughly the same thing at roughly the same
time.
For this email, I just wanted to allay fears amongst the helpers that their
help in the last week on this topic w
Le 23/10/2013 13:47, Dirk Eddelbuettel a écrit :
On 21 October 2013 at 14:32, Romain Francois wrote:
| Hello,
|
| Another thing I have developped in dplyr but might be generally useful
| is the ListOf class. See
| https://github.com/hadley/dplyr/blob/master/inst/include/tools/ListOf.h
|
| The id
Le 21/10/2013 11:59, Florian Oswald a écrit :
Dear all,
I've noted that I cannot return an Rcpp::List longer than 20 elements.
In particular, this here compiles:
library(Rcpp)
library(inline)
src <- '
List out = List::create(_["x1"] = 1,
_["x2"] = 2,
_["x3"] = 3,
_["x4"] = 4,
_["x5"] = 5,
_["x
There have been discussions in the past when R-Forge "had issues" building
Rcpp and related packages. I am happy to say that with help from Martin and
Stefan (mostly behind the curtains) we can now benefit again from the
autobuilder.
Rcpp is current, RcppArmadillo is current, and I am working my
Le 21/10/2013 12:24, Renaud Gaujoux a écrit :
Hi,
this is somehow a general C++ question, but it could be of interest to
all Rcpp users (I think).
Still for the purpose of RcppOctave, I would like to redirect cout and
cerr streams that are used by Octave to Rprintf REprintf respectively.
Curren
On 21 October 2013 at 14:32, Romain Francois wrote:
| Hello,
|
| Another thing I have developped in dplyr but might be generally useful
| is the ListOf class. See
| https://github.com/hadley/dplyr/blob/master/inst/include/tools/ListOf.h
|
| The idea is to embed, by means of the template parame
Hi Florian,
On 21 October 2013 at 10:59, Florian Oswald wrote:
| I've noted that I cannot return an Rcpp::List longer than 20 elements. In
| particular, this here compiles:
[...]
| whereas it does not if you uncomment element "x20" with the error message
|
| no matching function for call to ‘Rc
Interesting. Again, I would say "build it and they will use it".
Dale Smith, Ph.D.
Senior Financial Quantitative Analyst
Financial & Risk Management Solutions
Fiserv
Office: 678-375-5315
www.fiserv.com
-Original Message-
From: rcpp-devel-boun...@r-forge.wu-wien.ac.at
[mailto:rcpp-devel-b
Hi,
This has to be a basic question, but I cannot figure out what I am missing nor
see quite similar pre-existing posts.
I am trying to create an Rcpp module around a class (generated C++ proxy
class). The environment is Rcpp 0.10.5 on Windows, R 3.0.2 x64 and RTools 3.0.
R CMD INSTALL spits t
Dear Rcpp developers,
I am optimizing some R code by replacing some loops with Rcpp code.
After some profiling, it looks like the cpp function below is still
the limiting step. Does anybody see some possible source of
inefficiency or something easy to improve? Or is it already as fast as
it can ge
Hello,
Another thing I have developped in dplyr but might be generally useful
is the ListOf class. See
https://github.com/hadley/dplyr/blob/master/inst/include/tools/ListOf.h
The idea is to embed, by means of the template parameter what this list
contains. Of course it is only usable if the
Hi,
this is somehow a general C++ question, but it could be of interest to all
Rcpp users (I think).
Still for the purpose of RcppOctave, I would like to redirect cout and cerr
streams that are used by Octave to Rprintf REprintf respectively.
Currently I redirect these streams to 2 temporary stri
Dear all,
I've noted that I cannot return an Rcpp::List longer than 20 elements. In
particular, this here compiles:
library(Rcpp)
library(inline)
src <- '
List out = List::create(_["x1"] = 1,
_["x2"] = 2,
_["x3"] = 3,
_["x4"] = 4,
_["x5"] = 5,
_["x6"] = 6,
_["x7"] = 7,
_["x8"] = 8,
_["x9"] = 9
On 20 October 2013 at 12:55, Mark Fredrickson wrote:
| I wanted to thank everyone for help on this. Putting the typedef in a header
| (inst/include/RItools.h) the export function would auto-include was exactly
| what I was looking for. This discussion also prompted me to think a little
more
| abo
I wanted to thank everyone for help on this. Putting the typedef in a
header (inst/include/RItools.h) the export function would auto-include was
exactly what I was looking for. This discussion also prompted me to think a
little more about the interface my package should export should anyone else
wa
Le 19/10/13 22:06, JJ Allaire a écrit :
For it to actually work though we'd need to modify Makevars as well (as
Romain pointed out) so that the RcppExports.cpp could see the include
file.
IMO, R should do this. R should recognize that a package has a
inst/include directory and automatically se
Le 19/10/13 22:37, JJ Allaire a écrit :
Another alternative would be to create a new mechanism: an
RcppExports.h file written into src (and thus not requiring
modification of Makevars). This could include a comment explaining
that anything "extra" the user wants in RcppExports.cpp should be
decla
20 matches
Mail list logo