Skip to content
Prev 308180 / 398503 Next

Moving a file from one location to another

On 17-10-2012, at 13:53, Rui Barradas wrote:

            
If I'm reading the help for file.rename correctly it can't move a file from one directory to another on Windows ("On Windows,file.rename nowadays works across volumes for files but not directories.". If I remember correctly one will have to use system() and the command move.
Assuming that the OP wants to move files from within R (with cut and paste of course)

Berend