[R] Moving a file from one location to another

R. Michael Weylandt michael.weylandt at gmail.com
Wed Oct 17 13:27:36 CEST 2012

On Wed, Oct 17, 2012 at 12:11 PM, Berend Hasselman <bhh at xs4all.nl> wrote:
> On 17-10-2012, at 10:49, Rantony wrote:
>> Hi ,A simple question, How we can move a file from one location to another ?
>> (i mean cut & paste)Can any one help fast please ?Thanks in advance- Antony
> What does this have to with R?
> Will depend on the system you are using.
> Look in the help of your file manager.
> Berend

As I have said to "Rantony" multiple times before: this is an OS
operation so you'll likely need to use the system() function to give
your OS the command.

The exact form of the command given depends on your (unstated!) OS but
on Unices its usually some variant on

mv A B

However, I also know that Rantony is on Windows so he'll need a
different command.

To Rantony: please try to improve the quality of your questions. I've
explained multiple times what we look for in a question on this list
and you've really shown very little attempt to improve. At the end of
the day, we are all just volunteers here, so help us help you. You
might even learn something in the process. And please _please_ quote
context if you must post from Nabble.


More information about the R-help mailing list