Package: ast2ast 0.4

Krämer Konrad

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.

Authors:Krämer Konrad [aut, cre]

ast2ast_0.4.tar.gz
ast2ast_0.4.zip(r-4.5)ast2ast_0.4.zip(r-4.4)ast2ast_0.4.zip(r-4.3)
ast2ast_0.4.tgz(r-4.4-x86_64)ast2ast_0.4.tgz(r-4.4-arm64)ast2ast_0.4.tgz(r-4.3-x86_64)ast2ast_0.4.tgz(r-4.3-arm64)
ast2ast_0.4.tar.gz(r-4.5-noble)ast2ast_0.4.tar.gz(r-4.4-noble)
ast2ast_0.4.tgz(r-4.4-emscripten)ast2ast_0.4.tgz(r-4.3-emscripten)
ast2ast.pdf |ast2ast.html
ast2ast/json (API)
NEWS

# Install 'ast2ast' in R:
install.packages('ast2ast', repos = c('https://fastverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/konrad1991/ast2ast/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

abstract-syntax-treecc-plus-plusexpression-templatematrixrcpptranspilervectorcpp

6.91 score 34 stars 2 packages 11 scripts 276 downloads 1 exports 18 dependencies

Last updated 10 days agofrom:ed60bcd714. Checks:OK: 9. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 12 2024
R-4.5-win-x86_64OKDec 12 2024
R-4.5-linux-x86_64OKDec 12 2024
R-4.4-win-x86_64OKDec 12 2024
R-4.4-mac-x86_64OKDec 12 2024
R-4.4-mac-aarch64OKDec 12 2024
R-4.3-win-x86_64OKDec 12 2024
R-4.3-mac-x86_64OKDec 12 2024
R-4.3-mac-aarch64OKDec 12 2024

Exports:translate

Dependencies:clicodetoolscpp11crayongluelifecyclelobstrmagrittrprettyunitspryrpurrrR6RcppRcppArmadillorlangstringistringrvctrs

Detailed Documentation

Rendered fromDetailedDocumentation.Rmdusingknitr::rmarkdownon Dec 12 2024.

Last update: 2024-07-03
Started: 2022-01-14

Information for package authors

Rendered fromInformationForPackageAuthors.Rmdusingknitr::rmarkdownon Dec 12 2024.

Last update: 2024-07-03
Started: 2022-01-31