Re: [R] Referencing factors through their equivalent numeric level

2012-05-02 Thread Kaushik Krishnan
That did it! Thanks very much Berend. On Wed, May 2, 2012 at 4:19 AM, Berend Hasselman wrote: > > On 02-05-2012, at 07:22, Kaushik Krishnan wrote: > >> Hey folks >> >> I'm sorry for bringing what must be a very simple question to R-help, >> but after some

[R] Referencing factors through their equivalent numeric level

2012-05-02 Thread Kaushik Krishnan
hat there is a built-in function that offers this functionality. I'd be grateful if someone could tell me what that function is. Thanks in advance -- Kaushik Krishnan (kaushik.s.krish...@gmail.com) __ R-help@r-project.org mailing list https://stat.e

[R] Issue with %in% - not matching identical rows in data frames

2009-11-03 Thread Kaushik Krishnan
y see that sequence [7,] is the first row in today.sequence sequence[7,] %in% today.sequence #This should show 'TRUE TRUE TRUE TRUE TRUE TRUE'. Instead # it shows 'FALSE FALSE FALSE FALSE FALSE FALSE' Thanks -- Kaushik Krishnan (kaushik.s.krish...@gmail.com) __

[R] User input when running R code in batch mode

2009-10-27 Thread Kaushik Krishnan
an()) in batch mode, R didn't wait for user input and said `character(0)'. Is there any way to make R stop for the user to enter values when running in batch mode either by changing the way I invoke scan() or readLines() or by using any other function? Thanks in advance -- Kaushik Krishn