The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

AsioHeaders: Asio Headers for R

CI License CRAN Downloads Last Commit

About

This package provides R with access to Asio header files. Asio provides a cross-platform C++ library for network and low-level I/O programming. It is also included in Boost – but requires linking when used as part of Boost. This standalone version of Asio is a header-only C++ library which can be used without linking (just like our BH package with parts of Boost).

By providing the Asio library in this package, we offer a more efficient distribution system for CRAN as replication of this code in the sources of other packages is avoided.

To use it, simply add it to the LinkingTo: field in the DESCRIPTION field of your R package—and the R package infrastructure tools will then know how to set include flags correctly on all architectures supported by R.

Example

The RcppAsioExample package provides a simple illustration and example of using this package. Use it to both assert your compiler and setup are working correctly, and possibly extend your work from. Generally speaking, only a LinkingTo: AsioHeaders should be needed, plus on Windows only a very simply link instruction in src/Makevars.win.

See Also

See the BH package for related (and also header-only) libraries from Boost.

The issue tracker can be used for bug reports or feature requests.

Author

Dirk Eddelbuettel

License

This package is provided under the same license as Asio and Boost, the BSL-1.0

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.