Re: [Rd] irrelevant warning message

2009-01-12 Thread Duncan Murdoch
On 12/01/2009 6:12 PM, Terry Therneau wrote: Context: R version 2.7.1 (2008-06-23) I don't know when this was upgraded in the department, I just ran into the aberrent behavior today. Problem: Our group BY CHOICE does not change character variables into factors by default. I can get

Re: [Rd] irrelevant warning message

2009-01-12 Thread hadley wickham
> PS. Here are two interrelated reasons we don't autoconvert: > > 1. Subject id. Factors give no advantage for a unique id, and some clear > problems. In particular when one creates as subset - everyone over 60 say - > there is no good reason to remember all the ids you didn't select. > 2. Subj

[Rd] irrelevant warning message

2009-01-12 Thread Terry Therneau
Context: R version 2.7.1 (2008-06-23) I don't know when this was upgraded in the department, I just ran into the aberrent behavior today. Problem: Our group BY CHOICE does not change character variables into factors by default. I can get into a long arguement as to why later, and wi

Re: [Rd] Package Matrix does not compile in R-devel_2009-01-10

2009-01-12 Thread Rainer Hurling
Thank you Brian, for this detailed answer. I think you are right with the new rules. Before contacting the maintainers I will try to collect some more information about the observed failure. Without setting the environment variable MAKE to gmake, I get excatly the same break when installing M

[Rd] x <- 1:2; dim(x) <- 2? A vector or not?

2009-01-12 Thread Henrik Bengtsson
Ran into the follow intermediate case in an external package (w/ recent R v2.8.1 patched and R v2.9.0 devel): > x <- 1:2 > dim(x) <- 2 > dim(x) [1] 2 > x [1] 1 2 > str(x) int [, 1:2] 1 2 > nrow(x) [1] 2 > ncol(x) [1] NA > is.vector(x) [1] FALSE > is.matrix(x) [1] FALSE > is.array(x) [1] TRUE > x[

Re: [Rd] Firefox 3 and HTML Search

2009-01-12 Thread Duncan Murdoch
On 1/9/2009 11:59 AM, Duncan Murdoch wrote: I finally upgraded to Firefox 3.05 from 2.x, and now I can reproduce a bug a colleague has been complaining about but which I hadn't been able to reproduce before. In Windows, set Firefox as the default browser. Then in Rgui (seems to affect all vers

Re: [Rd] cat cannot write more than 10000 characters? [R 2.8.1]

2009-01-12 Thread Daniel Sabanés Bové
Thank you very much for your help and advice! Prof Brian Ripley schrieb: > On Sun, 11 Jan 2009, Daniel Sabanés Bové wrote: > >> Yes, I set the encoding to UTF-8 in my .Rprofile. Sorry that I didn't > > You really don't want to do that: it adds a considerable overhead and > relies on a bug-free ico

Re: [Rd] cat cannot write more than 10000 characters? [R 2.8.1]

2009-01-12 Thread Daniel Sabanés Bové
Yes, I set the encoding to UTF-8 in my .Rprofile. Sorry that I didn't mention it already. So the complete stand-alone test code which fails in R --vanilla is the following: ### code begin options (encoding = "utf-8") testChunk <- paste(rep("a", 1 + 1), ## delete "+ 1" to be successful