R/load_file_if_exists.R

Defines functions load_file_if_exists

load_file_if_exists = function(path){
 if(file.exists(path)){
 
   load(path, envir=.GlobalEnv)
 }
  
}

Try the ecostats package in your browser

Any scripts or data that you put into this service are public.

ecostats documentation built on Aug. 24, 2022, 9:07 a.m.