Learn R Programming

SeaVal (version 1.1.1)

data_dir: Auxiliary function to access and change the directory used to load and save data.

Description

The package allows to download and organize CHIRPS data. This function specifies the directory where the data is stored. The first time this function is called, it asks the user to configure the directory.

Usage

data_dir(set_dir = FALSE)

Value

The current data directory as string.

Arguments

set_dir

logical. Set this to TRUE if you have to redefine your data directory.

Examples

Run this code
if(interactive()){
data_dir()
}

Run the code above in your browser using DataLab