automatePrj | R Documentation |
Converts a CRHM .prj file to be able to be run automatically. It adds the settings Auto_Run
, Auto_Exit
and Log_All
to the end of the .prj file, if they are required.
automatePrj(inputPrjFile = "", outputPrjFile = "", quiet = TRUE, logfile = "")
inputPrjFile |
Required. Name of the the CRHM .prj to be converted. |
outputPrjFile |
Optional. If omitted, the input .prj file will be overwritten. |
quiet |
Optional. Suppresses display of messages, except for errors. If you are calling this function in an R script, you will usually leave |
logfile |
Optional. Name of the file to be used for logging the action. Normally not used. |
If successful, returns TRUE
. If unsuccessful, returns FALSE
.
Kevin Shook
runCRHM
## Not run:
result <- automatePrj('Bad Lake 1974-1975.prj','Bad Lake 1974-1975 auto.prj')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.