SimFunctions()
SimFunctions(comments = TRUE) #with helpful comments
# write output to two files and include helpful comments
SimFunctions('mysim', comments = TRUE)
# write output files to a single file without comments
SimFunctions('mysim', singlefile = TRUE)
Run the code above in your browser using DataLab