1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/engine.R
\docType{data}
\name{cache_engines}
\alias{cache_engines}
\title{Cache engines of other languages}
\format{
An object of class \code{list} of length 7.
}
\usage{
cache_engines
}
\description{
This object controls how to load cached environments from languages other
than R (when the chunk option \code{engine} is not \code{'R'}). Each
component in this object is a function that takes the current path to the
chunk cache and loads it into the language environment.
}
\details{
The cache engine function has one argument \code{options}, a list containing
all chunk options. Note that \code{options$hash} is the path to the current
chunk cache with the chunk's hash, but without any file extension, and the
language engine may write a cache database to this path (with an extension).
The cache engine function should load the cache environment and should know
the extension appropriate for the language.
}
\references{
See \url{https://github.com/rstudio/reticulate/pull/167} for an
implementation of a cache engine for Python.
}
\keyword{datasets}
|