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-templatematrixrcpptranspilervector

6.97 score 34 stars 2 packages 11 scripts 321 downloads 1 exports 18 dependencies

Last updated 2 months agofrom:df7b1b5daf. Checks:OK: 9. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 11 2024
R-4.5-win-x86_64OKNov 11 2024
R-4.5-linux-x86_64OKNov 11 2024
R-4.4-win-x86_64OKNov 11 2024
R-4.4-mac-x86_64OKNov 11 2024
R-4.4-mac-aarch64OKNov 11 2024
R-4.3-win-x86_64OKNov 11 2024
R-4.3-mac-x86_64OKNov 11 2024
R-4.3-mac-aarch64OKNov 11 2024

Exports:translate

Dependencies:clicodetoolscpp11crayongluelifecyclelobstrmagrittrprettyunitspryrpurrrR6RcppRcppArmadillorlangstringistringrvctrs

Detailed Documentation

Rendered fromDetailedDocumentation.Rmdusingknitr::rmarkdownon Nov 11 2024.

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

Information for package authors

Rendered fromInformationForPackageAuthors.Rmdusingknitr::rmarkdownon Nov 11 2024.

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