On 26 Jul 2007 09:59:31 -0400, Jeffrey J. Hallman <[EMAIL PROTECTED]> wrote: > zoo is nice. 'tisFromCsv()' in the fame package is nicer. > > Jeff
1. What am I doing wrong here? I only get one data column. 2. I assume the regularized dates which do not exactly match the input ones are intended so as to make this a regularly spaced series. Is that right? 3. What is the cause of the warning message? 4. Why is a list returned with a single component containing the output? Thanks. > library(fame) > Lines <- " Date Price Open.Int. Comm.Long Comm.Short net.comm + 15-Jan-86 673.25 175645 65910 28425 37485 + 31-Jan-86 677.00 167350 54060 27120 26940 + 14-Feb-86 680.25 157985 37955 25425 12530 + 28-Feb-86 691.75 162775 49760 16030 33730 + 14-Mar-86 706.50 163495 54120 27995 26125 + 31-Mar-86 709.75 164120 54715 30390 24325 + " > tisFromCsv(textConnection(Lines), dateFormat = "%d-%b-%y", dateCol = "Date", > sep = "") [[1]] [,1] 19860119 673.25 19860202 677.00 19860216 680.25 19860302 691.75 19860316 706.50 19860330 709.75 class: tis Warning message: number of items to replace is not a multiple of replacement length in: x[i] <- value ______________________________________________ R-help@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.