[Rd] Misc/List Search Path from keyboard (PR#11036)

2008-03-26 Thread richardwreed
Full_Name: Richard Reed Version: 2.6.2 OS: MS Windows XP Pro Submission from: (NULL) (76.121.170.35) Pressing Alt-M+s doesn't search path. It just generates another . It does this in vanilla too. However, Alt-M+click list search path does work. Note that when I press Alt-M (and the Misc menu

[Rd] choose fails a fundamental property of binomial coefficients (PR#11035)

2008-03-26 Thread Jerry . Lewis
Full_Name: Jerry W. Lewis Version: 2.7.0 (2008-03-23 r44847) OS: Windows XP Professional Submission from: (NULL) (71.184.230.48) choose(n,k) = choose(n,n-k) is not satisfied if either 1. n is a negative integer with k a positive integer (due to automatically returning 0 for n-k0) 2. n is not

Re: [Rd] Incorrect behavior in 64-bit version (PR#11034) (solved)

2008-03-26 Thread Lodewijk Bonebakker
Peter, thank you for your reply, the provided link had the answer: The problem is the Sun cc compiler not following the C99 syntax standard. Adding -xc99 to compiler flags fixed the problem. My incorrect assumption was that configure.in would contain most of the recommended flags for

[Rd] as.POSIXct/as.POSIXlt generics

2008-03-26 Thread Sklyar, Oleg (MI London)
Hi, I am trying to define the as.POSIXct as an S4 method for one of my classes. Trying to define a generic, I am getting an error that it is already differently defined in base. However, if I query for it, there is no definition. Being in base, I also cannot really import it. If I define methods

Re: [Rd] choose fails a fundamental property of binomial coefficients (PR#11035)

2008-03-26 Thread maechler
JL == Jerry Lewis [EMAIL PROTECTED] on Wed, 26 Mar 2008 05:10:04 +0100 (CET) writes: JL Full_Name: Jerry W. Lewis Version: 2.7.0 (2008-03-23 JL r44847) OS: Windows XP Professional Submission from: JL (NULL) (71.184.230.48) JL choose(n,k) = choose(n,n-k) is not satisfied if

Re: [Rd] DLL problem

2008-03-26 Thread Uwe Ligges
Carson, John wrote: I am using R version 2.6.2 (2008-02-08) on an XP Pro (version 2002 SP2). When I try to load the R library 'gtools', I get the following error: library(gtools) Error in .Call(R_lazyLoadDBfetch, key, file, compressed, hook, PACKAGE = base) : C symbol name

Re: [Rd] choose fails a fundamental property of binomial coefficients (PR#11035)

2008-03-26 Thread maechler
MM == Martin Maechler [EMAIL PROTECTED] on Wed, 26 Mar 2008 11:02:37 +0100 (CET) writes: JL == Jerry Lewis [EMAIL PROTECTED] on Wed, 26 Mar 2008 05:10:04 +0100 (CET) writes: JL Full_Name: Jerry W. Lewis Version: 2.7.0 (2008-03-23 JL r44847) OS: Windows XP Professional

Re: [Rd] cut.Date and cut.POSIXt problem

2008-03-26 Thread Roger D. Peng
I have applied these patches to R-devel and in my limited testing they appear to work as desired. I have to say that I never ran into the problem these patches were meant to solve so I may not be the best person to do the testing. -roger Marc Schwartz wrote: Hi all, Apologies for the

Re: [Rd] cut.Date and cut.POSIXt problem

2008-03-26 Thread Martin Maechler
RDP == Roger D Peng [EMAIL PROTECTED] on Wed, 26 Mar 2008 09:18:19 -0400 writes: RDP I have applied these patches to R-devel and in my limited testing they appear to RDP work as desired. I have to say that I never ran into the problem these patches RDP were meant to solve

Re: [Rd] cut.Date and cut.POSIXt problem

2008-03-26 Thread Marc Schwartz
Martin Maechler wrote: RDP == Roger D Peng [EMAIL PROTECTED] on Wed, 26 Mar 2008 09:18:19 -0400 writes: RDP I have applied these patches to R-devel and in my limited testing they appear to RDP work as desired. I have to say that I never ran into the problem these patches

[Rd] S4 slot with NA default

2008-03-26 Thread Robin Hankin
Hi How do I specify an S4 class with a slot that is potentially numeric, but NA by default? I want the slot to be NA until I calculate its value (an expensive operation, not needed for all applications). When its value is known, I will create a new object with the correct value

Re: [Rd] S4 slot with NA default

2008-03-26 Thread Vladimir Dergachev
On Wednesday 26 March 2008 12:04:11 pm Robin Hankin wrote: Hi How do I specify an S4 class with a slot that is potentially numeric, but NA by default? I want the slot to be NA until I calculate its value (an expensive operation, not needed for all applications). When its value is

Re: [Rd] S4 slot with NA default

2008-03-26 Thread Simon Urbanek
On Mar 26, 2008, at 12:04 PM, Robin Hankin wrote: Hi How do I specify an S4 class with a slot that is potentially numeric, but NA by default? I want the slot to be NA until I calculate its value (an expensive operation, not needed for all applications). When its value is known, I

Re: [Rd] S4 slot with NA default

2008-03-26 Thread Peter Dalgaard
Robin Hankin wrote: Hi How do I specify an S4 class with a slot that is potentially numeric, but NA by default? I want the slot to be NA until I calculate its value (an expensive operation, not needed for all applications). When its value is known, I will create a new object

Re: [Rd] S4 slot with NA default

2008-03-26 Thread Roger Bivand
On Wed, 26 Mar 2008, Robin Hankin wrote: Hi How do I specify an S4 class with a slot that is potentially numeric, but NA by default? I want the slot to be NA until I calculate its value (an expensive operation, not needed for all applications). When its value is known, I will

Re: [Rd] S4 slot with NA default

2008-03-26 Thread Prof Brian Ripley
Several people have suggested as.numeric(NA). That evaluates to NA_real_, so provided you don't want to support R 2.5.0 it is (slightly) more efficient in several ways to use NA_real_ . On Wed, 26 Mar 2008, Roger Bivand wrote: On Wed, 26 Mar 2008, Robin Hankin wrote: Hi How do I specify

[Rd] suppressing 'download.file' progress window

2008-03-26 Thread Roger D. Peng
In Windows, 'download.file' pops up a separate window indicating the progress of the download (even when 'quiet = TRUE'). This is useful and informative when downloading a single (large) file. However, when downloading multiple (smaller) files in sucession, the constant flashing of the

Re: [Rd] suppressing 'download.file' progress window

2008-03-26 Thread Roger D. Peng
Thanks! The patch to src/modules/internet/internet.c in r44937 was just what I was looking for. -roger Prof Brian Ripley wrote: On Wed, 26 Mar 2008, Roger D. Peng wrote: In Windows, 'download.file' pops up a separate window indicating the progress of the download (even when 'quiet =

Re: [Rd] R 64 on Intel Mac check problem

2008-03-26 Thread Bill Northcott
On 26/03/2008, at 10:00 PM, Georgios wrote: I have installed gcc 4.2 and gfortran 4.2 from the available sources on the web page and am using the copy and paste guide on the page. Now everything seems to be going fine until the point where the R packages are tested. In particular when

Re: [Rd] R 64 on Intel Mac check problem

2008-03-26 Thread Simon Urbanek
On Mar 26, 2008, at 8:05 PM, Bill Northcott wrote: On 26/03/2008, at 10:00 PM, Georgios wrote: I have installed gcc 4.2 and gfortran 4.2 from the available sources on the web page and am using the copy and paste guide on the page. Now everything seems to be going fine until the point where