binarydb | R Documentation |
binarydb_down
downloads the matrix of the packages available in binary
format available in CRAN (Windows or macOS depending the computer), saves it
it in a file named binarydb
and finally loads it in .GlobalEnv under
the name binarydb
. It is a wrapper around the function
available.packages(type = "binary")
.
binarydb_load
loads the file filename
in .GlobalEnv under the
name binarydb
.
When loaded in .GlobalEnv, binarydb
is recognized by the functions
p_vers
and p_vers_deps
to compare the package
version numbers of the installed packages with the most recent versions of
the binary and the source versions available in CRAN.
binarydb_down(dir = ".", repos = getOption("repos")[1])
binarydb_load(filename = "binarydb.rda")
dir |
character. The directory where "binarydb.rda" is saved
Default value |
repos |
character. The address of your local CRAN. |
filename |
character. The (path to a) file "binarydb.rda" or an equivalent. |
## In real life, to get the latest version, use
## binarydb_down()
## Here, we use a small file
binarydb_load(system.file("data", "zbinarydb.rda", package = "RWsearch"))
class(binarydb)
colnames(binarydb)
dim(binarydb)
head(binarydb)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.