gadget.Rd
This function initializes gadget using a given string vector argument.
This is equivalent to running gadget from the command line. Please change
the working directory (e.g., by setwd
)to the model directory
before calling this function. Must be followed by initSim
gadget(args)
args | A vector of string arguments |
---|
initGadget
for the recommended way to initialize
gadget.
if (FALSE) { if(interactive()){ exPath <- loadExample() setwd(exPath) gadget(c("-s", "-main", "main", "-i", "refinputfile")) initSim() } }