NEWS | R Documentation |
The random number initialization was updated as in R.
The main REPL is not running via 'run_Rmainloop()'.
Small routine update to package and continuous integration.
A Windows-only patch for R 4.2.0 kindly provided by Tomas Kalibera was applied, and also conditioned on R (>= 4.2.0)
Continuous Integration setup was updated and now uses r-ci.
Several updates were made to README.md (badges etc) and DESCRIPTION
RInside is now embeddable (with a reduced interface) from C applications thanks to Lance Bachmeier (who is now co-author) plus some polish by Dirk in #43)
Added R_SESSION_INIIALIZED
to list of excluded variables.
Added simple diagnostics function to have a registered function.
Improved Windows build support by copying
getenv("R_HOME")
result and improving backslash handling in
environemt variable setting (Jonathon Love in #27 and
#28)
Improved Windows build support by quote-protecting
Rscript
path in Makevars.win
(François-David Collin in
#33)
A URL was corrected in README.md (Zé Vinícius in #34).
Temporary SEXP
objects are handled more carefully at
initialization to satisfy 'rchk' (Dirk in #36)
Interactive mode can use readline REPL (Łukasz Łaniewski-Wołłk in #25, and Dirk in #26)
Windows macros checks now uses _WIN32
(Kevin Ushey in
#22)
The wt example now links with libboost_system
The Makevars
file is now more robist (Mattias Ellert in
#21)
A problem with empty environment variable definitions on Windows was addressed (Jeroen Ooms in #17 addressing #16)
HAVE_UINTPTR_T
is defined only if not already defined
Travis CI is now driven via run.sh
from our forked r-travis
Added workaround for a bug in R 3.2.0: by including the file
RInterface.h
only once we do not getting linker errors due to
multiple definitions of R_running_as_main_program
(which is now
addressed in R-patched as well).
Small improvements to the Travis CI script.
Several new examples have been added (with most of the work done by Christian Authmann):
standard/rinside_sample15.cpp
shows how to create a
lattice plot (following a StackOverflow question)
standard/rinside_sample16.cpp
shows object wrapping,
and exposing of C++ functions
standard/rinside_sample17.cpp
does the same via C++11
sandboxed_servers/
adds an entire framework of
client/server communication outside the main process (but using a
subset of supported types)
standard/rinside_module_sample9.cpp
was repaired
following a fix to InternalFunction
in Rcpp
For the seven example directories which contain a
Makefile
, the Makefile
was renamed GNUmakefile
to please R CMD check
as well as the CRAN Maintainers.
Updated for Rcpp 0.11.0:
Updated initialization by assigning global environment via pointer only after R itself has been initialized – with special thanks to Kevin Ushey for the fix
Updated DESCRIPTION
with Imports:
instead of
Depends:
Added correspondiing importFrom(Rcpp, evalCpp)
to
NAMESPACE
Noted in all inst/examples/*/Makefile
that
Rcpp no longer requires a library argument, but left code for
backwards compatibility in case 0.11.0 is not yet installed.
Added --vanilla --slave
to default arguments for R
initialization
Added a few more explicit #include
statements in the qt
example which Qt 5.1 now appears to require – with thanks to
Spencer Behling for the patch
Added new MPI example with worker functions and RInside instance, kindly contributed by Nicholas Pezolano and Martin Morgan
Adjusted to change in R which requires turning checking of the stack limit off in order to allow for access from multiple threads as in the Wt examples. As there are have been no side-effects, this is enabled by default on all platforms (with the exception of Windows).
Added new ‘threads’ example directory with a simple example based on a Boost mutex example.
Disabled two examples (passing an external function down) which do not currently work; external pointer use should still work.
Applied (modified) patch by Theodore Lytras which lets RInside recover from some parsing errors and makes RInside applications more tolerant of errors
Added non-throwing variants of parseEval() and parseEvalQ()
Modified Qt and Wt examples of density estimation applications to be much more resilient to bad user input
On Windows, have RInside use R's get_R_HOME() function to get R_HOME value from registry if not set by user
Added note to examples/standard/Makefile.win that R_HOME may need to be set to run the executables – so either export your local value, or re-install RInside from source to have it reflected in the library build of libRinside
Updated CMake build support for standard, armadillo and eigen
Improved CMake builds of examples/standard, examples/eigen and examples/armadillo by detecting architecture
Added CMake build support for armadillo and eigen examples, once again kindly contributed by Peter Aberline
Corrected Windows package build to always generate a 64 bit static library too
Updated package build to no longer require configure / configure.win to update the two header file supplying compile-time information; tightened build dependencies on headers in Makevars / Makevars.win
Improved examples/standard/Makefile.win by detecting architecture
New fifth examples subdirectory 'armadillo' with two new examples showing how to combine RInside with RcppArmadillo
New sixth examples subdirectory 'eigen' with two new examples showing how to combine RInside with RcppEigen
Prettified the Wt example 'web application' with CSS use, also added and XML file with simple headers and description text
New example rinside_sample12 motivated by StackOverflow
question on using sample()
from C
Added CMake build support on Windows for the examples
Correct Windows initialization by not using Rprintf in internal console writer, with thanks to both James Bates and John Brzustowski
Update RNG seeding (used by tmpnam et al) to same scheme used by R since 2.14.0: blending both millisecond time and process id
Added CMake build support for all four example directories as kindly provided by Peter Aberline; this helps when writing RInside code inside of IDEs such as Eclipse, KDevelop or Code::Blocks
Small update to standard examples Makefile for Windows permitting to explicitly set i386 or x64 as a build architecture
Applied (somewhat simplified) patch by James Bates which restores RInside to working on Windows – with a big Thank You! to James for fixing a long-standing bug we inadvertendly introduced right after 0.2.0 almost two years ago
New example embedding R inside a Wt (aka Webtoolkit, pronounced 'witty') application, mirroring the previous Qt application
Qt example qtdensity now uses the new svg() device in base R; removed test for cairoDevice package as well as fallback png code
Very minor fix to qmake.pro file for Qt app correcting link order
Minor code cleanups in initialization code
New example embedding R inside a Qt application, along with pro file for Qt's qmake providing a complete simple C++ GUI application
New examples rinside_sample{10,11} based on questions on the r-help and r-devel mailing list
Some improvements and simplifications throughout examples/standard as well as examples/mpi/
Added this NEWS files – with entries below summarised from ChangeLog and the corresponding blog posts
New example rinside_sample9 on how to expose C++ to embedded R
New example rinside_module_sample0 to show module access from RInside
Simplified rinside_sample3 and rinside_sample4
Some code cleanup to help Solaris builds
Implicit use of new Proxy class with operator T(), see rinside_sample8
New operator[](string) lets RInside act as proxy to R's global environment so that we can R["x"] = 10 to assign; all the actual work is done by Rcpp::Environment
No longer ship doxygen-generated docs in build
Use std::string for all arguments inside throw() to help Windows build
Default to static linking on OS X and Windows just like Rcpp does
parseEval() now returns SEXP and has just a string argument for more functional use; it and void sibbling parseEvalQ() now throw exections
rinside_sample{2,4,5} updated accordingly
Two new 'R inside an MPI app' examples contributed by Jianping Hua
Also added two C++ variants of the C examples for RInside and MPI
rinside_sample8 updated with parseEval changes
Internal MemBuf class simplified via STL std::string
Autoload simplied via the new Rcpp API
Added default constructor for RInside
Retire assign(vector<vector<double> >) via template specialisation
Include Rcpp.h; switch to Rf_ prefixed R API to avoid Redefine macros
Windows version currently segfaults on startup
Startup now defaults to FALSE, no longer call Rf_KillAllDevices
Some minor build and code fixes for Windows
Initial Windows support, with thanks to Richard Holbrey for both the initial push and a setenv() implementation
Added Makefile.win for build with the MinGW toolchain to src/ and examples/
Some improvements to destructor per example in Writing R Extensions
New rinside_sample5 based on r-devel post
The examples/ Makefile now sets $R_HOME via 'R RHOME', and also employs $R_ARCH for arch-dependent headers – with thanks for Jeff, Jan and Simon
Added THANKS file to give recognition to those who helped RInside along
Added rinside_sample4 as another example based on an r-devel question
Initial CRAN release
Improved build process
Added doxygen generated documentation
Added two more example
Corrected error in memory buffer class with thanks to Miguel Lechón for a finding the issue and sending a patch
Added two regression test examples to demonstrate bug and fix
Minor code cleanups
Initial version in SVN at R-Forge