[R-SIG-Finance] fix for Package: r-cran-fcalendar (240.10068-2)

Dirk Eddelbuettel edd at debian.org
Wed Jun 6 03:27:21 CEST 2007


Alain,

On 5 June 2007 at 23:03, Alain Péteut wrote:
| Hello Dirk Eddelbuettel,
| 
| Since I'm not quite sure where to post any fixes for fcalendar, 

Two choices would be the author, or the designated mailing list. I will
forward my reply to both, I hope you don't mind.  If you want to follow-up on
r-sig-finance, you need to be subscribed in order to post.

| I decided to forward this fix to you also. Thanks alot.
| 
| Best regards
| Alain Péteut
| 
| diff for "fcalendar-240.10068/R/6A-TimeSeriesImport.R"
| 
| 300c300
| <         x2 = strsplit(x1[regexpr("-...-..,", x1) > 0], ",")
| ---
| 
| >         x2 = strsplit(x1[regexpr("-..-..,", x1) > 0], ",")
| 
| 310c310
| <         rowNames =  as.character(as.Date(x1[, 1], format = "%d-%b-%y"))
| ---
| 
| >         rowNames =  as.character(as.Date(x1[, 1], format = "%Y-%m-%d"))
| 

These look fine to me -- and I could indeed run the 'IBM' example from the
help page after applying the change to a local copy of yahooImport().

Thanks for the patch,  Dirk

| Best regards
| Alain Péteut

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison



More information about the R-SIG-Finance mailing list