eject or dismount volume (e.g., SD card) using system() in R
I’m working on a function in R that transfers files from an SD card to an external hard drive. At the end of the function, I’d like to dismount the SD card. Is it possible to use the system()
function in R to do this?