This function adds the location of the file of vectors to the current environment (as the value of CBN_VECTORS_LOCATION). If persist is TRUE it also adds this key to ~/.Renviron so that it is retained across R sessions.

cbn_set_vectorfile_location(f, persist = FALSE)

Arguments

f

path where you unzipped your vectors file

persist

Whether to add this to your R startup file

Value

Nothing

Details

To recover the current location, use cbn_get_vectorfile_location.

See also