Re: [Rd] SaveImage, LazyLoad, S4 and all that {was "install.R ... files"}

2006-02-03 Thread Seth Falcon
On 3 Feb 2006, [EMAIL PROTECTED] wrote: > The short answer is that there are no known (i.e. documented) > differences, and no examples on CRAN which do not work with > lazy-loading (except party, which loads the saved image in a test). > And that includes examples of packages which share S4 classe

Re: [Rd] SaveImage, LazyLoad, S4 and all that {was "install.R ... files"}

2006-02-03 Thread Robert Gentleman
My understanding, and John or others may correct that, is that you need SaveImage if you want to have the class hierarchy and generic functions, plus associated methods all created and saved at build time. This is basically a sort of compilation step, and IMHO, should always be done since it on

Re: [Rd] pbinom with size argument 0 (PR#8560)

2006-02-03 Thread Ted Harding
On 03-Feb-06 Peter Dalgaard wrote: > (Ted Harding) <[EMAIL PROTECTED]> writes: > >> On 03-Feb-06 [EMAIL PROTECTED] wrote: >> > Full_Name: Uffe Høgsbro Thygesen >> > Version: 2.2.0 >> > OS: linux >> > Submission from: (NULL) (130.226.135.250) >> > >> > >> > Hello all. >> > >> > pbinom(q=0,size

Re: [Rd] pbinom with size argument 0 (PR#8560)

2006-02-03 Thread Peter Dalgaard
(Ted Harding) <[EMAIL PROTECTED]> writes: > On 03-Feb-06 [EMAIL PROTECTED] wrote: > > Full_Name: Uffe Høgsbro Thygesen > > Version: 2.2.0 > > OS: linux > > Submission from: (NULL) (130.226.135.250) > > > > > > Hello all. > > > > pbinom(q=0,size=0,prob=0.5) > > > > returns the value NaN. I ha

Re: [Rd] pbinom with size argument 0 (PR#8560)

2006-02-03 Thread Ted Harding
On 03-Feb-06 [EMAIL PROTECTED] wrote: > Full_Name: Uffe Høgsbro Thygesen > Version: 2.2.0 > OS: linux > Submission from: (NULL) (130.226.135.250) > > > Hello all. > > pbinom(q=0,size=0,prob=0.5) > > returns the value NaN. I had expected the result 1. In fact any > value for q seems to give an

Re: [Rd] [R] readline detection problems

2006-02-03 Thread Hin-Tak Leung
Prof Brian Ripley wrote: > On Fri, 3 Feb 2006, Benjamin Otto wrote: > > >>Dear Mr. Ripley, >> >>thanks for the quick reply. I set these flags now, however there still seem >>to be some problems with readline. The corresponding cofigure output is: >> >>checking readline/history.h usability... yes

Re: [Rd] [R] readline detection problems

2006-02-03 Thread Prof Brian Ripley
On Fri, 3 Feb 2006, Benjamin Otto wrote: > Dear Mr. Ripley, > > thanks for the quick reply. I set these flags now, however there still seem > to be some problems with readline. The corresponding cofigure output is: > > checking readline/history.h usability... yes > checking readline/history.h pres

Re: [Rd] [R] readline detection problems

2006-02-03 Thread Hin-Tak Leung
look into config.log towards the end - it gives you the details of what happened during the failed configure. (the file is created by configure as it runs). As for consistency of what --someopt should take, it is all part of the mess of autoconf. You could read it up at http://www.gnu.org/ and lo

Re: [Rd] [R] readline detection problems

2006-02-03 Thread Benjamin Otto
Dear Mr. Ripley, thanks for the quick reply. I set these flags now, however there still seem to be some problems with readline. The corresponding cofigure output is: checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes che

[Rd] pbinom with size argument 0 (PR#8560)

2006-02-03 Thread uht
Full_Name: Uffe Høgsbro Thygesen Version: 2.2.0 OS: linux Submission from: (NULL) (130.226.135.250) Hello all. pbinom(q=0,size=0,prob=0.5) returns the value NaN. I had expected the result 1. In fact any value for q seems to give an NaN. Note that dbinom(x=0,size=0,prob=0.5) returns the va

Re: [Rd] Interfacing C-code (gets and printf) under WINDOWS (Visual C++)

2006-02-03 Thread Hin-Tak Leung
In addition to everything Prof Ripley wrote, I'd just like to add that win32 R does run under wine (in fact I am currently doing a test loading a 150MB Rdata file into win32 R under 32-bit wine under 64-bit opteron to see how slow it might be - it takes about 2 minutes natively), and I believe tha

Re: [Rd] SaveImage, LazyLoad, S4 and all that {was "install.R ... files"}

2006-02-03 Thread Prof Brian Ripley
The short answer is that there are no known (i.e. documented) differences, and no examples on CRAN which do not work with lazy-loading (except party, which loads the saved image in a test). And that includes examples of packages which share S4 classes. But my question was to tease things like

[Rd] SaveImage, LazyLoad, S4 and all that {was "install.R ... files"}

2006-02-03 Thread Martin Maechler
> "Seth" == Seth Falcon <[EMAIL PROTECTED]> > on Thu, 02 Feb 2006 11:32:42 -0800 writes: Seth> Thanks for the explaination of LazyLoad, that's very helpful. Seth> On 1 Feb 2006, [EMAIL PROTECTED] wrote: >> There is no intention to withdraw SaveImage: yes. Rather, if >

Re: [Rd] Interfacing C-code (gets and printf) under WINDOWS (Visual C++)

2006-02-03 Thread Prof Brian Ripley
Please do study the `Writing R Extensions' manual. The `information' you have that > starting R-2.0.1, the include file R-interface.h could help me. is misinformation: it is for writing alternative front ends under Unix-alikes and not included in the Windows binary distribution. R_WriteConsole