I want to create a GUI using shiny to take 5 files as an input. Once I have uploaded these files, I want them to be saved in a particular Folder whose destination is known by me. Can we do this? If yes, how? Thank You.
相关问题
- R - Quantstart: Testing Strategy on Multiple Equit
- Using predict with svyglm
- Reshape matrix by rows
- Extract P-Values from Dunnett Test into a Table by
- split data frame into two by column value [duplica
相关文章
- How to convert summary output to a data frame?
- How to plot smoother curves in R
- Paste all possible diagonals of an n*n matrix or d
- ess-rdired: I get this error “no ESS process is as
- How to use doMC under Windows or alternative paral
- dyLimit for limited time in Dygraphs
- Saving state of Shiny app to be restored later
- How to insert pictures into each individual bar in
In addition to the answer by zero323, Use
file.copy
as below if you want to overwrite the old uploads with new ones during each re-run of your app:(I wanted this in my app but it took me a whole lot of time to figure this out as I was a newbie at this)
Well, kind of. You can use observer to copy the file on upload:
Not that I am using
file.copy
and notfile.rename
to avoid problems when the destination is located on a different device than the temporary directory.