update process for moving .myProfile.R

This commit is contained in:
hyginn 2020-09-21 14:54:30 +10:00
parent 3082b05a0b
commit 2432d64f18
3 changed files with 7 additions and 5 deletions

View File

@ -14,7 +14,9 @@ init <- function() {
cat("\n\n") cat("\n\n")
cat("Please open the file \".myProfile.R\" (click on the file-name in the\n") cat("Please open the file \".myProfile.R\" (click on the file-name in the\n")
cat("\"files\" pane), edit it, and save it into the \"myScripts\" folder.\n\n") cat("\"files\" pane), edit it and save it.\n")
cat("Then click the checkbox, and use the More -> Move... dialogue\n")
cat("to move it into the \"myScripts\" folder.\n\n")
file.edit("ABC-units.R") file.edit("ABC-units.R")
return(invisible(NULL)) return(invisible(NULL))

View File

@ -8,7 +8,7 @@
# correct. # correct.
# #
# NOTE: # NOTE:
# After you have updated this script, save the file in your "myScripts" folder. # After you have updated this script, move the file to your "myScripts" folder.
# Utility scripts will look for it on the path: "./myScripts/.myProfile.R" # Utility scripts will look for it on the path: "./myScripts/.myProfile.R"
# #
# ============================================================================== # ==============================================================================

View File

@ -34,13 +34,13 @@
#TOC> ========================================================================== #TOC> ==========================================================================
#TOC> #TOC>
#TOC> Section Title Line #TOC> Section Title Line
#TOC> ----------------------------------------------- #TOC> -----------------------------------------------
#TOC> 1 Preparations 47 #TOC> 1 Preparations 47
#TOC> 2 Suitable MYSPE Species 59 #TOC> 2 Suitable MYSPE Species 59
#TOC> 3 Adopt "MYSPE" 83 #TOC> 3 Adopt "MYSPE" 83
#TOC> #TOC>
#TOC> ========================================================================== #TOC> ==========================================================================
@ -48,7 +48,7 @@
# #
# Execute the two conditionals below: # Execute the two conditionals below:
if (! file.exists("scripts/.myProfile.R")) { if (! file.exists("./myScripts/.myProfile.R")) {
stop("PANIC: profile file does not exist. Fix problem or ask for help.") stop("PANIC: profile file does not exist. Fix problem or ask for help.")
} }
if (! exists("myStudentNumber")) { if (! exists("myStudentNumber")) {