This commit is contained in:
hyginn 2020-09-24 19:50:39 +10:00
parent e55cb81f8d
commit 9323c57549

View File

@ -68,7 +68,7 @@ if (! file.exists("./myScripts/.myProfile.R")) {
prf <- readLines("./myScripts/.myProfile.R")
iEmail <- grep("^\\s*myStudentNumber\\s*<-", prf)
out <- prf[1:iEmail]
out <- c(out, sprintf("MYSPE <- %s ",
out <- c(out, sprintf("MYSPE <- \"%s\" ",
getMYSPE(myStudentNumber)))
out <- c(out, prf[(iEmail+1):length(prf)])
writeLines(out, "./myScripts/.myProfile.R")