Here is one possible way. Use the exists function to check for something unique in your util.R code.
For example:
if(!exists("foo", mode="function")) source("util.R")
(Edited to include mode="function", as Gavin Simpson pointed out)
Here is one possible way. Use the exists function to check for something unique in your util.R code.
For example:
if(!exists("foo", mode="function")) source("util.R")
(Edited to include mode="function", as Gavin Simpson pointed out)