On 28.03.2012 19:11, Sarah Goslee wrote:
Within R? On what OS?

You could presumably use system() with the OS-specific command, which
might be cp or mv or copy or move depending on your OS.

But I'm not sure why you'd want to do this from R.


Actually it is sometimes handy, and file.rename() is designed to do that, but is has limitations, see its help page.

Best,
Uwe Ligges


On Wed, Mar 28, 2012 at 8:07 AM, sagarnikam123<sagarnikam...@gmail.com>  wrote:
How to move files from one folder to another i.e. cutting/copying from one
location&  pasting to another




______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to