| Marc Kupietz | c902c23 | 2026-09-08 07:58:01 +0200 | [diff] [blame^] | 1 | % 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{ |
| 7 | The \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 |
| 9 | speed-up: it stores server responses where the package finds them again, and |
| 10 | throwing it away costs nothing but time. The former stores a finished result |
| 11 | in a file the caller names and keeps, which is what makes an analysis |
| 12 | reproducible: KorAP corpora grow, so the same query returns different numbers |
| 13 | next year, and the scores computed from them may change with the package. |
| 14 | } |
| 15 | \details{ |
| 16 | A cache file therefore records what produced it, and is not reused when that |
| 17 | no longer matches what is being asked for. |
| 18 | } |
| 19 | \keyword{internal} |