diff --git a/.Rprofile b/.Rprofile index ebf0505..1412da4 100644 --- a/.Rprofile +++ b/.Rprofile @@ -36,6 +36,9 @@ if (! file.exists("./myScripts/.myProfile.R")) { } else { # local profile exists ... validate state: cat("\n\nLoading local functions ...") + source(".utilities.R") # local profile appears sane, source utilities + source("./myScripts/.myProfile.R") + if (! exists("myEMail")) { # ... has eMail been defined? cat("ERROR !\n") cat("=======\n") @@ -59,9 +62,6 @@ if (! file.exists("./myScripts/.myProfile.R")) { cat(" and fix the problem or contact your instructor to continue.\n\n") } - source(".utilities.R") # local profile appears sane, source utilities - - source("./myScripts/.myProfile.R") if (! exists("MYSPE")) { # if MYSPE has not yet been defined, define it now # ... and write it into the profile.