./myScripts/.myProfile.R needs to be sourced after!
.utilities.R to ensure utility functions are available.
This commit is contained in:
parent
9e77d948e9
commit
39417c8e60
@ -36,8 +36,6 @@ if (! file.exists("./myScripts/.myProfile.R")) {
|
||||
} else { # local profile exists ... validate state:
|
||||
cat("\n\nLoading local functions ...")
|
||||
|
||||
source("./myScripts/.myProfile.R")
|
||||
|
||||
if (! exists("myEMail")) { # ... has eMail been defined?
|
||||
cat("ERROR !\n")
|
||||
cat("=======\n")
|
||||
@ -63,6 +61,8 @@ if (! file.exists("./myScripts/.myProfile.R")) {
|
||||
|
||||
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.
|
||||
prf <- readLines("./myScripts/.myProfile.R")
|
||||
|
Loading…
Reference in New Issue
Block a user