[Rcpp-devel] Rcpp - libtorrent

Neal Fultz nfultz at gmail.com
Sun Feb 10 22:38:27 CET 2019


Rcpp should make this very straightforward; assuming you are putting this
in a package (because why wouldn't you?) you would just need to set some
flags in src/Makefile so that the external library gets picked up correctly
by R, and write a few Rcpp wrapper functions for interacting with it.

See also Writing R Extensions for "offical" docs and Dirk's book for plain
english explanations.

Feel free to share a link eg if you get something up on github - I've
wanted to share data via torrent before and didn't find a nice solution.



On Sun, Feb 10, 2019 at 11:21 AM Morgan Morgan <morgan.emailbox at gmail.com>
wrote:

> Hi All,
>
> I hope you are well.
>
> I wanted to have your view regarding the feasibility of a project.
>
> There is c++ library called libtorrent. I was wondering if it would be
> possible to use Rcpp in order to call some of libtorrent's functionality
> from R.
>
> It seems that there are some python bindings for this library however
> nothing for R.
>
> Do you think it would be something possible? Is it difficult from your
> point of view?
>
> Thank you
> Best regards
> Morgan
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20190210/1cbdfa14/attachment.html>


More information about the Rcpp-devel mailing list