quadrama / DramaAnalysis

An R package for analysis of dramatic texts
GNU General Public License v3.0
15 stars 2 forks source link

Use environment variable to set qd.datadir #165

Open pagelj opened 4 years ago

pagelj commented 4 years ago

The data directory still defaults to ~/QuaDramA/Data2/, but the user can now overwrite this behaviour by setting a global custom path using the environment variable QUADRAMA_DIR

Example use case:

$ export QUADRAMA_DIR="$XDG_DATA_DIR/QuaDramA/Data2"