Copying selected from one folder to another


I am working on R Shiny app where the user is allowed to select multiple files. I am taking input through selectInput. I want to make a copy of those selected files into another directory.

Can I do something where we can pass multiple files as input to file.copy() function or using any system() command to copy these files?

file.copy does indeed copy files . What exactly is your problem with using it ?
You can use a purrr::walk() to iterate over a list of things to file.copy if that's what you are wondering...

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.