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