.onLoad <-
function(libname, pkgname)
    ## Create and populate RKEA_work_dir to avoid the warnings resulting
    ## from KEA's hard-coding of stopword file paths.
    RKEA_work_dir <<- tempfile()
    dir.create(file.path(RKEA_work_dir, "data", "stopwords"),
               recursive = TRUE)
                                             package = "RKEAjars"),
              file.path(RKEA_work_dir, "data", "stopwords"))

Try the RKEA package in your browser

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

RKEA documentation built on May 2, 2019, 5:41 a.m.