[R] readcsvIts

From: Vorlow Constantinos <CVorlow_at_eurobank.gr>
Date: Tue, 22 May 2007 17:52:22 +0300


I am trying to read a .CSV file from Bloomberg of prices (for an "its" series) of the following format:  

             Date	      Price	
23/10/2006 09:59	 57.291	
23/10/2006 10:01	 57.221	
23/10/2006 10:02	 57.201	
23/10/2006 10:03	 57.231	
23/10/2006 10:04	 57.191	
23/10/2006 10:05	 57.191	
23/10/2006 10:06	 57.141	
23/10/2006 10:07	 57.081	

I get the following:  

> its.format("%d/%m/%Y %X")

[1] "%d/%m/%Y %X"
> brent<-its(readcsvIts(filename="brenthf.csv"))
Error in validObject(.Object) : invalid class "its" object: Missing values in dates

What am I doing wrong? Used %H:%S as well but nothing improved...  

The csv file looks fine...  

Using the latest versions of R and its library on windows XP.  

Thanks in advance,

tel: +30-210-3337273 (ext 17273)
fax: +30-210-3337687

This e-mail is confidential. If you are not the intended recipient, you should not copy it, re-transmit it, use it or disclose its contents, but should return it to the sender immediately and delete the copy from your system. EFG Eurobank Ergasias S.A. is not responsible for, nor endorses, any opinion, recommendation, conclusion, solicitation, offer or agreement or any information contained in this communication. EFG Eurobank Ergasias S.A. cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. If you suspect that the message may have been intercepted or amended, please call the sender.

        [[alternative HTML version deleted]]

R-help_at_stat.math.ethz.ch 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. Received on Tue 22 May 2007 - 15:13:25 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 May 2007 - 15:31:13 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.