[Rd] CXXR: Refactoring the R interpreter into C++

2008-02-29 Thread Andrew Runnalls
For a while now I have been working on a modified, but so far as possible fully functional, version of R in which the interpreter is progressively refactored (reengineered) from C to C++. The work is still at an early stage, but I think that sufficient progress has now been made for it to be of

Re: [Rd] Warnings generated by log2()/log10() are really large/t

2008-02-29 Thread Martin Maechler
TH == Ted Harding [EMAIL PROTECTED] on Wed, 27 Feb 2008 14:36:05 - (GMT) writes: TH On 27-Feb-08 13:39:47, Gabor Grothendieck wrote: On Wed, Feb 27, 2008 at 5:50 AM, Henrik Bengtsson [EMAIL PROTECTED] wrote: On Wed, Feb 27, 2008 at 12:56 AM, Prof Brian Ripley

[Rd] ifelse drops classes

2008-02-29 Thread Hilmar Berger
Hi all, I guess that this is rather a feature request than a bug report, but I'm not really sure: I stumbled over this today (R 2.6.2, WinXP): c=c(as.Date(2007-01-01)) class(c) [1] Date ifelse(is.na(c),as.Date(Sys.time()), c) [1] 13514 typeof(ifelse(is.na(c),as.Date(Sys.time()), c))

[Rd] patch for random.c

2008-02-29 Thread Berwin A Turlach
Dear all, while looking for some inspiration of how to organise some code, I studied the code of random.c and noticed that for distributions with 2 or 3 parameters the user is not warned if NAs are created while such a warning is issued for distributions with 1 parameter. E.g: R version 2.7.0

[Rd] Can't interrupt R-processes in R OSX 2.6.2

2008-02-29 Thread Atte Tenkanen
Hello, Before I was able to interrupt R-calculations by pushing ESC, but now with R 2.6.2 (OSX Intel) it doesn't work. Is it bug or not? Regards, Atte Tenkanen University of Turku, Finland Department of Musicology +023335278 __

Re: [Rd] Can't interrupt R-processes in R OSX 2.6.2

2008-02-29 Thread Prof Brian Ripley
On Fri, 29 Feb 2008, Atte Tenkanen wrote: Hello, Before I was able to interrupt R-calculations by pushing ESC, but now with R 2.6.2 (OSX Intel) it doesn't work. Is it bug or not? You mean from the R.app GUI? This has been discussed on the R-sig-mac list (the appropriate place for this