Dear list, We have encountered problems with the package mvbutils while creating (or reading from disk) timeSeries objects. Below is a very simple example of the problem. We are using R 2.12 in a PC running Windows 7 64-bit Professional.
----------- library(timeSeries) cv1 <- as.character(as.Date(1:10, origin = "1970-01-01")) ts1 = timeSeries(1:10, cv1, units = NULL) print(ts1) library(mvbutils) ts2 = timeSeries(1:10, cv1, units = NULL) print(ts2) print(ts1) # Both objects have problems -------------- This is the error message generated when printing the timeSeries after loading mvbutils: Error in validObject(.Object) : invalid class "timeDate" object: 1: invalid object for slot "Data" in class "timeDate": got class "POSIXt", should be or extend class "POSIXct" invalid class "timeDate" object: 2: invalid object for slot "Data" in class "timeDate": got class "POSIXct", should be or extend class "POSIXct" The problem does not happen in other versions of R. Any help would be appreciated. Thanks in advance, Felipe Araujo Researcher in finance and economics Rio de Janeiro, Brasil [[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.