[R] Woring message in as.yearmon()

2008-09-10 Thread Megh Dal
I have following dataset: res [,1] [,2] [,3] [1,] 19464 1.27 [2,] 19465 1.27 [3,] 19466 1.27 [4,] 19467 1.27 [5,] 19468 1.52 [6,] 19469 1.52 [7,] 1946 10 1.52 [8,] 1946 11 1.52 [9,] 1946 12 1.62 [10,] 19471 1.62 [11,] 19472 1.62 [12,] 1947

Re: [R] Woring message in as.yearmon()

2008-09-10 Thread Gabor Grothendieck
I can't reproduce that. When I run it I get no warning. Check your versions: Lines - 19464 1.27 + 19465 1.27 + 19466 1.27 + 19467 1.27 + 19468 1.52 + 19469 1.52 + 1946 10 1.52 + 1946 11 1.52 + 1946 12 1.62 + 19471 1.62 + 19472 1.62 + 19473

Re: [R] Woring message in as.yearmon()

2008-09-10 Thread Andy Zhu
Try this modification: as.yearmon(paste(res[,1], res[,2], sep=-),format=%Y-%m)Andy --- On Wed, 9/10/08, Megh Dal [EMAIL PROTECTED] wrote: From: Megh Dal [EMAIL PROTECTED] Subject: [R] Woring message in as.yearmon() To: [EMAIL PROTECTED] Date: Wednesday, September 10, 2008, 2:15 PM I have