[Rd] R_DEFAULT_DEVICE (PR#11294)

2008-04-27 Thread p . c . j . kleiweg
Setting enviroment variable R_DEFAULT_DEVICE causes an error. The patch below fixes this. I guess the same goes for R_INTERACTIVE_DEVICE. --- R-2.7.0/src/library/grDevices/R/zzz.R 2008-04-27 13:49:11.0 +0200 +++ R-2.7.0/src/library/grDevices/R/zzz.R.new 2008-04-27 13:59:37.000

[Rd] View functionhas problems going beyond 65536 rows (PR#11291)

2008-04-27 Thread jholtman
Full_Name: jim holtman Version: 2.7.0 OS: Winfows XP Submission from: (NULL) (75.186.87.163) I am using the "View" function to look at a data frame. If the data has more than 65535 rows in it, strange things happen. You can reproduce the problem with the following: x <- 1:66000 View(x) If you

Re: [Rd] S4 default for coercing

2008-04-27 Thread John Chambers
A couple of comments, 1. The problem is not actually in as() but in is(): > xx = Sys.time() > is(xx, "OptionalPOSIXct") [1] FALSE > class(xx) [1] "POSIXt" "POSIXct" This is in fact, an "unintended" change, aka bug. Will be fixed shortly. 2. However, as the last line of the above should

Re: [Rd] RFC: What should ?foo do?

2008-04-27 Thread Patrick Burns
Peter Dalgaard wrote: > Duncan Murdoch wrote: > >> I haven't done it, but I suspect we could introduce special behaviour >> for ??foo very easily. We could even have a whole hierarchy: >> >> ?foo, ??foo, ???foo, foo, ... >> >> >> > Heh, that's rather nice, actually. In words, that

Re: [Rd] median methods

2008-04-27 Thread Rob Hyndman
Brian. The example I have in mind is for functional data where there are several ways to define a median. For example, it can be defined as the pointwise median of a set of functions {f_j(x); j=1,...,n}. Or it can be defined as m(x) = arg min_{g(x)} \sum_j |g(x) - f_j(x)| dx. The latter can be calc