diff --git a/env.R b/env.R index f0b55a1a3ec650ac161cf1bb0bd4c2cf96b175ae..4c86f6990cc6bb258504322ac0841c9877939efb 100644 --- a/env.R +++ b/env.R @@ -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/")