But adding 0 to a sparse matrix is expensive operation. It doesn't look
fair to include it to benchmark.
вт, 27 нояб. 2018 г., 20:07 rcpp-devel-requ...@lists.r-forge.r-project.org:
> Send Rcpp-devel mailing list submissions to
> rcpp-devel@lists.r-forge.r-project.org
>
> To subscribe or u
buettel | e...@debian.org
> >
> -- next part --
> An HTML attachment was scrubbed...
> URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-
> devel/attachments/20180122/aed8cb0b/attachment-0001.html>
>
> --
>
&
I was going to suggest the same - Martin is very responsive and open for
improvements.
18 янв. 2018 г. 15:00 пользователь <
rcpp-devel-requ...@lists.r-forge.r-project.org> написал:
Send Rcpp-devel mailing list submissions to
rcpp-devel@lists.r-forge.r-project.org
To subscribe or unsubscr
My 2 cents. Last couple of years I used sparse matrices a lot. Matrix
package is really great. I'm not sure I understand issue with wrapping - as
Doug said CSC format is main in both Armadillo and Matrix. Given matrix in
CSC format (dgCMatrix/CsparseMatrix) it is trivial to convert it to COO or
CSR
I'm interested, but not sure when will have time. You can start to play
with, check python bindings and try to replicate with Rcpp. If you will
have some questions you can write directly to me. Will figure out something.
10 июн. 2017 г. 14:00 пользователь <
rcpp-devel-requ...@lists.r-forge.r-proje
ject.org
>
> You can reach the person managing the list at
> rcpp-devel-ow...@lists.r-forge.r-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Rcpp-devel digest..."
>
>
> Today's Topics:
&g
ld small package which can be used by other people (not
text2vec only).
Usage is as usual
1. add to DESCRIPTION of your package: LinkingTo: sparsepp
2. add #include to you source/header
3. use spp::sparse_hash_map as drop-in replacement for std::unordered_map
.
--
Finally I caught this issue. My bad - I used `.property` instead of
`.method` in RCPP_MODULE macro for function call (forgot to adjust it when
changed underlying c++ code).
2015-10-22 11:01 GMT+03:00 Dmitriy Selivanov :
> Hi, mailing list!
> I have issue with Rcpp modules on *window
uot;)
dim(dtm)
#but this crashes:
corp <- create_dict_corpus(src = movie_review[['review']][1:100],
preprocess_fun = tolower,
tokenizer = regexp_tokenizer,
batch_size = 100,
progress = F)
str(corp)
```
Any t