Re: [R] Moving a file from one location to another

2012-10-17 Thread FJ M
Stock,Divs,fill=0.0) write.zoo(Stock_Divs, file = "Stock_Divs.csv", append = FALSE, quote = TRUE, sep = ",") file_name<- cat(ticker[i],"_Divs.csv") print(file_name) print file.rename("Stock_Divs.csv",file_name) } Best, FrankChicago > From: michael.weyla...

Re: [R] Moving a file from one location to another

2012-10-17 Thread Rui Barradas
rint file.rename("Stock_Divs.csv",file_name) } Best, FrankChicago > From: michael.weyla...@gmail.com Date: Wed, 17 Oct 2012 13:47:27 +0100 To: ruipbarra...@sapo.pt CC: r-help@r-project.org; antony.akk...@ge.com Subject: Re: [R] Moving a file from one location to another On Wed,

Re: [R] Moving a file from one location to another

2012-10-17 Thread Prof Brian Ripley
On 17/10/2012 13:59, Berend Hasselman wrote: On 17-10-2012, at 13:53, Rui Barradas wrote: Hello, On Windows this should be the old DOS command RENAME (or REN) and apparently the R function ?file.rename carries it's name. If I'm reading the help for file.rename correctly it can't move a fi

Re: [R] Moving a file from one location to another

2012-10-17 Thread Rui Barradas
Hello, Inline. Em 17-10-2012 13:59, Berend Hasselman escreveu: On 17-10-2012, at 13:53, Rui Barradas wrote: Hello, On Windows this should be the old DOS command RENAME (or REN) and apparently the R function ?file.rename carries it's name. If I'm reading the help for file.rename correctly i

Re: [R] Moving a file from one location to another

2012-10-17 Thread Berend Hasselman
On 17-10-2012, at 13:53, Rui Barradas wrote: > Hello, > > On Windows this should be the old DOS command RENAME (or REN) and apparently > the R function ?file.rename carries it's name. > If I'm reading the help for file.rename correctly it can't move a file from one directory to another on Wi

Re: [R] Moving a file from one location to another

2012-10-17 Thread R. Michael Weylandt
On Wed, Oct 17, 2012 at 12:53 PM, Rui Barradas wrote: > Hello, > > On Windows this should be the old DOS command RENAME (or REN) and apparently > the R function ?file.rename carries it's name. > I wasn't aware of the file.*() functions -- I'll of course retract my statement that this has to be OS

Re: [R] Moving a file from one location to another

2012-10-17 Thread Rui Barradas
Hello, On Windows this should be the old DOS command RENAME (or REN) and apparently the R function ?file.rename carries it's name. And yes, the question is terrible. It also shows poor use of the help system. I didn't know the function name but got it right at the second try: ?file # no,

Re: [R] Moving a file from one location to another

2012-10-17 Thread R. Michael Weylandt
On Wed, Oct 17, 2012 at 12:11 PM, Berend Hasselman 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

Re: [R] Moving a file from one location to another

2012-10-17 Thread Berend Hasselman
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

[R] Moving a file from one location to another

2012-10-17 Thread Rantony
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 -- View this message in context: http://r.789695.n4.nabble.com/Moving-a-file-from-one-location-to-another-tp4646437.html Sent from the R help