This package providesR withaccess toAsio header files.Asio yy provides across-platform C++ library for network and low-level I/O programming. Itis also included inBoost – butrequires linking when used as part ofBoost. This standalone version ofAsio is a header-only C++library which can be used without linking (just like ourBH package withparts ofBoost).
By providing theAsiolibrary in this package, we offer a more efficient distribution systemforCRAN as replication of thiscode in the sources of other packages is avoided.
To use it, simply add it to theLinkingTo: field in theDESCRIPTION field of your R package—and the R packageinfrastructure tools will then know how to set include flags correctlyon all architectures supported by R.
TheRcppAsioExamplepackage provides a simple illustration and example of using thispackage. Use it to both assert your compiler and setup are workingcorrectly, and possibly extend your work from. Generally speaking, onlyaLinkingTo: AsioHeaders should be needed, plus on Windowsonly a very simplylinkinstruction insrc/Makevars.win.
See theBHpackage for related (and also header-only) libraries fromBoost.
Theissuetracker can be used for bug reports or feature requests.
Dirk Eddelbuettel
This package is provided under the same license as Asio and Boost,the BSL-1.0
Initially created: Thu Dec 29 21:42:12 CST 2015
Last modified: Thu Apr 10 12:49:06 CDT 2025