Package: ast2ast 0.5

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.5.tar.gz
ast2ast_0.5.zip(r-4.7)ast2ast_0.5.zip(r-4.6)ast2ast_0.5.zip(r-4.5)
ast2ast_0.5.tgz(r-4.6-x86_64)ast2ast_0.5.tgz(r-4.6-arm64)ast2ast_0.5.tgz(r-4.5-x86_64)ast2ast_0.5.tgz(r-4.5-arm64)
ast2ast_0.5.tar.gz(r-4.7-arm64)ast2ast_0.5.tar.gz(r-4.7-x86_64)ast2ast_0.5.tar.gz(r-4.6-arm64)ast2ast_0.5.tar.gz(r-4.6-x86_64)
ast2ast_0.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ast2ast/json (API)
NEWS

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

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

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

On CRAN:

Conda:

abstract-syntax-treecc-plus-plusexpression-templatematrixrcpptranspilervectoropenblascpp

5.31 score 34 stars 12 scripts 52 downloads 1 exports 2 dependencies

Last updated from:f1ae1d0516. Checks:13 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK247
linux-devel-x86_64OK248
source / vignettesOK367
linux-release-arm64OK236
linux-release-x86_64OK242
macos-release-arm64OK168
macos-release-x86_64OK378
macos-oldrel-arm64OK182
macos-oldrel-x86_64OK300
windows-develOK277
windows-releaseOK288
windows-oldrelOK325
wasm-releaseOK203

Exports:translate

Dependencies:R6Rcpp

Detailed Documentation

Rendered fromDetailedDocumentation.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2026-01-10
Started: 2022-01-14

Information for package authors

Rendered fromInformationForPackageAuthors.Rmdusingknitr::rmarkdownon May 28 2026.

Last update: 2026-02-24
Started: 2022-01-31