blob: ff270d9021169b2ef315376d5f7b76181980f4ff [file] [log] [blame]
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cacheAs.R
\name{cacheAs}
\alias{cacheAs}
\title{Keeping results in a file of one's own}
\description{
The \code{cacheAs} parameter of the query functions is a different thing from the
\code{cache} parameter of \code{\link[=KorAPConnection]{KorAPConnection()}}. The latter is a transparent
speed-up: it stores server responses where the package finds them again, and
throwing it away costs nothing but time. The former stores a finished result
in a file the caller names and keeps, which is what makes an analysis
reproducible: KorAP corpora grow, so the same query returns different numbers
next year, and the scores computed from them may change with the package.
}
\details{
A cache file therefore records what produced it, and is not reused when that
no longer matches what is being asked for.
}
\keyword{internal}