I'm building a shiny app that create multiple files depending on the upload file by the user. The created files has the same names and this can make that when a user download the files end with a none relative information to his data.
How can be created an independent directory for each user?
I have found the next solution so far to create the directory to store the files:
directory <- paste0(format(Sys.time(),"%Y%m%d%H%M%S"),rnorm(1),
rnorm(1))
dir.create(directory)
setwd(directory)
But I have read that this may not work if I upload the app to a server.
This question can also be find at Stack overflow