From db0d57233814a40c4ef0d8484af42f939289ad50 Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Sun, 17 Sep 2023 08:51:07 -0500 Subject: [PATCH] Add a README on need for RINSIDE_CALLBACKS for sandboxed server --- ChangeLog | 5 +++++ inst/examples/sandboxed_server/README.md | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 inst/examples/sandboxed_server/README.md diff --git a/ChangeLog b/ChangeLog index 5564392..6d946c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2023-09-17 Dirk Eddelbuettel + + * inst/examples/sandboxed_server/README.md: Add README noting need to + rebuild RInside with `RINSIDE_CALLBACKS` defined + 2023-03-16 Dirk Eddelbuettel * DESCRIPTION (Version, Date): Roll minor version diff --git a/inst/examples/sandboxed_server/README.md b/inst/examples/sandboxed_server/README.md new file mode 100644 index 0000000..397ff1e --- /dev/null +++ b/inst/examples/sandboxed_server/README.md @@ -0,0 +1,11 @@ + +## Sandboxed Server + +The example provided in this directory requires `RInside` to be built with +callback support. This can be enabled by uncommenting one line in the file +`RInsideConfig.h` to define the preprocessor constant `RINSIDE_CALLBACKS`, +and then rebuilding. + +Alternatively, adding a compiler flag `-DRINSIDE_CALLBACKS` and reinstalling +would do too; this also requires using the same flag when building the +example or similar applications.