Re: [R] ?bug? strange factors produced by chron

2006-02-13 Thread Prof Brian Ripley
1) The obvious test is via is.factor(), and you have not used that. 2) Your example works for me, so what versions of R and chron is this? 3) Here's my guess. split is using the C-level test isFactor. That tests that the factor is of type integer, so please try typeof(kvartaly) I suspect

Re: [R] ?bug? strange factors produced by chron

2006-02-13 Thread Petr Pikal
Subject:Re: [R] ?bug? strange factors produced by chron 1) The obvious test is via is.factor(), and you have not used that. I used it with TRUE result but did not use in my post (mea culpa) is.factor(kvartaly) [1] TRUE 2) Your example works for me, so what versions of R

Re: [R] ?bug? strange factors produced by chron

2006-02-13 Thread Prof Brian Ripley
to:r-help@stat.math.ethz.ch Subject: Re: [R] ?bug? strange factors produced by chron 1) The obvious test is via is.factor(), and you have not used that. I used it with TRUE result but did not use in my post (mea culpa) is.factor(kvartaly) [1] TRUE 2) Your example works

Re: [R] ?bug? strange factors produced by chron

2006-02-13 Thread Petr Pikal
:Re: [R] ?bug? strange factors produced by chron On Mon, 13 Feb 2006, Petr Pikal wrote: Thank you very much. On 13 Feb 2006 at 10:54, Prof Brian Ripley wrote: Date sent: Mon, 13 Feb 2006 10:54:21 + (GMT) From: Prof Brian Ripley [EMAIL PROTECTED