inst/doc/calling-r-from-c.R

## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
knitr::knit_engines$set(callme = callme:::callme_engine)
library(callme)

## -----------------------------------------------------------------------------
call_r_from_c_with_lang1()

## -----------------------------------------------------------------------------
call_r_from_c_with_lang2()

## -----------------------------------------------------------------------------
call_r_from_c_with_lang2_named()

## ----eval = FALSE-------------------------------------------------------------
# print(pi , digits = 3)

## ----eval=FALSE---------------------------------------------------------------
# call_print_from_c(pi, digits = 3)

Try the callme package in your browser

Any scripts or data that you put into this service are public.

callme documentation built on April 4, 2025, 2:37 a.m.