Skip to content
Snippets Groups Projects
Commit eb34aae3 authored by Tom Rushby's avatar Tom Rushby
Browse files

Add data path for R locally on Mac

parent 4356b713
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,10 @@ repoParams$user <- repoParams$info[[7]]
# use this guess to set a data path
# default
dPath <- "unkown - find this line in env.R and fix it!"
if (repoParams$sysname == "Darwin") {
# we're on a Mac (local) so we can set the data path to the Resource drive (if mounted)
dPath <- "/Volumes/Resource/CivilEnvResearch/Public/SERG/data/"
}
if (repoParams$nodename == "srv02405") {
# we're on the UoS RStudio server so we can set the data path to J: (as mounted)
dPath <- path.expand("/mnt/SERG_data/")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment