### DOWNLOAD AND VISUALIZE THE TASK VIEWS (tvdb)
## In real life, download tvdb from CRAN or load it from your directory
## with functions tvdb_down() or tvdb_load().
## In this example, we use a small file.
tvdb_load(system.file("data", "ztvdb.rda", package = "RWsearch"))
length(tvdb)
## List the task views
tvdb_vec()
tvdb_dfr()
tvdb_pkgs("Robust")
lengths(tvdb_list())
## Here, 'lst' is subsetted from the small crandb file.
crandb_load(system.file("data", "zcrandb.rda", package = "RWsearch"))
funIN <- function (x, y) x[match(x, y, nomatch = 0) > 0]
lst <- lapply(tvdb_list()[1:2], funIN, crandb$Package) ; lst
# \donttest{
if (interactive()) p_display7(lst[[1]], dir = file.path(tempdir(), "ptvdbdown"))
# }
Run the code above in your browser using DataLab