Re: [R] R function to delete a csv file from disk

2010-03-20 Thread Jan Schwanbeck
I guess, you are looking for: ?file.remove Am 20.03.2010 20:36, schrieb Megh: Is there any R function to delete a CSV file saved in disk? For example here I have created following R function : asd<- function(a = 5) { dat<- read.delim(file="F:/Test.csv", header=T, sep=",") res<- dat[1,

[R] merge.zoo produces non unique chron time series

2010-03-18 Thread Jan Schwanbeck
Dear all, merge.zoo produces duplicated time indexes in the example stated below. Can anybody explain, what I am doing wrong? Many thanks! Jan (R 2.10.0, WindowsXP) require(chron) require(zoo) # create time series (zoo.ts) with no data from 31Aug2009 14:50 to 3Sep2009 7:25 t.st <- chron(