> On 9 December 2012 at 10:32, Gabor Grothendieck wrote:
> | Rgui.bat, R.bat and Rcmd.bat in the batchfiles distribution
> | automatically locate R, Rtools and temporarily set all environment
> | variables and modify your path appropriately each time you call R so
> | the whole process is just inst
On 9 December 2012 at 14:44, Jiqiang Guo wrote:
| Well, those are good points. But I just do not know the size of my list a
| priori, so I have to grow it along the way. It might not be optimal, but I
| suppose as you said it is just suboptimal (i.e., not that bad).
Sometimes you can change yo
Well, those are good points. But I just do not know the size of my list a
priori, so I have to grow it along the way. It might not be optimal, but I
suppose as you said it is just suboptimal (i.e., not that bad).
Thanks,
Jiqiang
On Sun, Dec 9, 2012 at 2:25 PM, Dirk Eddelbuettel wrote:
>
> On
On 9 December 2012 at 14:07, Jiqiang Guo wrote:
| Note in the above, the printout for the second does not print any attribute as
| for the first function.
Hm. That it not desirable so maybe we can do better, but you should also note
that you are using the list type in a suboptimal way by growing
Hi,
For a Rcpp::List object, the attributes got lost say if I add another
element to the list. I am not sure this is supposed to be, but it's not in
R. The following is some code to demonstrate that.
> library(Rcpp)
> src <- '
+ #include
+ // [[Rcpp::export]]
+ SEXP crtlist() {
+ Rcpp::List
On 9 December 2012 at 10:32, Gabor Grothendieck wrote:
| Rgui.bat, R.bat and Rcmd.bat in the batchfiles distribution
| automatically locate R, Rtools and temporarily set all environment
| variables and modify your path appropriately each time you call R so
| the whole process is just install R, in
On Tue, Nov 27, 2012 at 2:24 AM, Christian Gunning wrote:
> Advice for introducing students to Rcpp:
>
> I'm TAing for a statistical programming class next semester, and I'm
> talking to the instructor about including Rcpp examples -- sourceCpp()
> makes this very easy to sell!
>
> The question is
Thanks for the valuable information.
I will look into it more seriously at some point when I have some more
time.
Romain
Le 09/12/12 14:40, c s a écrit :
Hi Romain & Doug,
Two points to note:
(1)
When poking around internal Armadillo pointers and arrays for sparse
matrices, please take int
Hi Romain & Doug,
Two points to note:
(1)
When poking around internal Armadillo pointers and arrays for sparse
matrices, please take into account that the col_ptrs array is slightly
longer than specified by the Compressed Sparse Column (CSC) format.
However, this should not cause any problems wh
> | I haven't seen any discussion on this in a while. Is this something
> | that warrants discussion, or something to keep in mind for later?
> | I'd prefer such a package to depend on RcppArmadillo so that my
> | implementation of sample() can be easily included. Are there
> | downsides to this?
10 matches
Mail list logo