Hi I am using the following data set:

cond |ex |symbol |corr |g127 |price |siz |tdate |tseq |ttim |
T  |T  |MSFT  |0  |0  |121.125  |1500  |01MAY1997  |0  |28862  |
T  |T  |MSFT  |0  |0  |121.5625  |500  |01MAY1997  |0  |28944  |

The following R code is attached. 


When I am executing the following command I am getting the following error:

Command:
===============
msftt.ts=TAQLoad(file="C:\\trade_msft_1.txt",type="trade", sep="|", skip=1)
(I saved above data set in trade_msft_1.txt file. )

Error:
=======

Read 7 records
Error in timeDate(charvec = df[, "Date"], in.format = date.format, format =
"%m/%d/%Y %H:%02M:%02S",  : 
  unused argument(s) (in.format = "%2d%m%Y")

Can someone please help. The code works fine in S Plus.

Regards
Arup


http://www.nabble.com/file/p22982074/code.txt code.txt 
-- 
View this message in context: 
http://www.nabble.com/timeDate-and-timeSeries-function-in-R-tp22982074p22982074.html
Sent from the R help mailing list archive at Nabble.com.

        [[alternative HTML version deleted]]

______________________________________________
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