Crandore Hub

ast2ast

Translates an R Function to a C++ Function

Enable translation of a tiny subset of R to C++. The user has to define a R function which gets translated. For a full list of possible functions check the documentation. After translation an R function is returned which is a shallow wrapper around the C++ code. Alternatively an external pointer to the C++ function is returned to the user. The intention of the package is to generate fast functions which can be used as ode-system or during optimization.

Versions across snapshots

VersionRepositoryFileSize
1.0 rolling linux/jammy R-4.5 ast2ast_1.0.tar.gz 2.3 MiB
1.0 rolling linux/noble R-4.5 ast2ast_1.0.tar.gz 2.3 MiB
1.0 rolling source/ R- ast2ast_1.0.tar.gz 1.0 MiB
1.0 latest linux/jammy R-4.5 ast2ast_1.0.tar.gz 2.3 MiB
1.0 latest linux/noble R-4.5 ast2ast_1.0.tar.gz 2.3 MiB
1.0 latest source/ R- ast2ast_1.0.tar.gz 1.0 MiB
1.0 2026-04-23 source/ R- ast2ast_1.0.tar.gz 0 B
0.3.2 2025-04-20 source/ R- ast2ast_0.3.2.tar.gz 514.2 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests