powered by
This function creates file names dynamically. The file name depends on date, time and specific seed.
generate_filename(seed, filetype)
a numeric input generated with create_seeds()
set the file type for the image
character vector, example: "2018-10-02-20-22_seed_22.png"
generate_seeds where the seed input is randomly generated
generate_seeds
# NOT RUN { generate_filename(0104) # }
Run the code above in your browser using DataLab