Re: [R] Rename a directory in R

2011-11-08 Thread Gavin Blackburn
Thanks Jim, I didn't think it worked on directories but I've got it working now. Cheers, Gavin. -Original Message- From: jim holtman [mailto:jholt...@gmail.com] Sent: 08 November 2011 14:18 To: Gavin Blackburn Cc: r-help@r-project.org Subject: Re: [R] Rename a directory in

Re: [R] Rename a directory in R

2011-11-08 Thread jim holtman
apropos('rename') you will find 'file.rename' which also works on directories. On Tue, Nov 8, 2011 at 7:45 AM, Gavin Blackburn wrote: > Hi, > > I want to be able to rename a folder using R, similar to file.rename. I want > to paste " - done" onto the folder name. The reason for this is we run a

[R] Rename a directory in R

2011-11-08 Thread Gavin Blackburn
Hi, I want to be able to rename a folder using R, similar to file.rename. I want to paste " - done" onto the folder name. The reason for this is we run a loop on a large number of folders on a server and it would be nice for people to be able to log in and instantly see if their data has been p