Re: [Rd] NaN in R distribution functions

2005-12-29 Thread Gregor Gorjanc
Prof Brian Ripley wrote: > On Wed, 28 Dec 2005, Gregor Gorjanc wrote: > >> Dear R developers, >> >> I noticed that core R distribution functions return NaN, when parameter >> values are out of parameter space. I have looked in source code and >> found that warnings and return of NaN are done inter

[Rd] reinventing the wheel....

2005-12-29 Thread A.J. Rossini
> -- Forwarded message -- > From: Byron Ellis <[EMAIL PROTECTED]> > If we wanted to be truly radical we'd just accept that graphics > devices and event loops are just special cases of the connection and > merge the whole thing, thus more-or-less reinventing CLIM. :-) Eventually, a

[Rd] Problems with calloc function.

2005-12-29 Thread Marcelo Damasceno
Hi all, I have a C code in Linux, it has 7 pointers and compile e run OK, but when I run in R happens problems with calloc function, it returns NULL. ### > int *temp1,*temp2,*temp3,*temp4; temp1 = (int *)calloc(col,sizeof(int)); if(temp1 == NULL){

Re: [Rd] Problems with calloc function.

2005-12-29 Thread Prof Brian Ripley
Rather than trying to reinvent the wheel, why not make use of the functions documented in Writing R Extensions, especially Calloc/Free? And definitely do not call exit() from code linked into R: it is antisocial behaviour to terminate your host's process. Your example is incomplete, and for s

Re: [Rd] 'sessionInfo()' instead of 'version'

2005-12-29 Thread roger koenker
In a private response to Tony Plate's suggestion to replace version() output with sessionInfo() in R-help requests, > roger koenker wrote: >> Thanks for this, it would seem useful to have version numbers for >> the packages too? and Tony replied, > > Sounds sensible to me! If I were you I'd sen

Re: [Rd] 'sessionInfo()' instead of 'version'

2005-12-29 Thread Duncan Murdoch
On 12/29/2005 3:07 PM, roger koenker wrote: > In a private response to Tony Plate's suggestion to replace version() > output with sessionInfo() in R-help requests, > > >>roger koenker wrote: >> >>>Thanks for this, it would seem useful to have version numbers for >>>the packages too? > > > and T

[Rd] Inconsistent IEEE 754/IEC 60559 rounding behavior (PR#8452)

2005-12-29 Thread Micah_Altman
Full_Name: Micah Altman Version: 2.2 OS: Windows/Linux (RHELv3) Submission from: (NULL) (71.243.63.53) Documentation for round()/signif() indicates that IEC 60559 standard is used, "_go to the even digit_" is used for rounding off a 5. However, signif(), round() and sprintf() do not behave cons

Re: [Rd] 'sessionInfo()' instead of 'version'

2005-12-29 Thread roger koenker
My fault, what you show is exactly what I wanted... url:www.econ.uiuc.edu/~rogerRoger Koenker email[EMAIL PROTECTED]Department of Economics vox: 217-333-4558University of Illinois fax: 217-244-6678Champaign, IL 61820 On D

Re: [Rd] 'sessionInfo()' instead of 'version'

2005-12-29 Thread Martin Maechler
> "roger" == roger koenker <[EMAIL PROTECTED]> > on Thu, 29 Dec 2005 14:07:19 -0600 writes: roger> In a private response to Tony Plate's suggestion to roger> replace version() output with sessionInfo() in R-help roger> requests, >> roger koenker wrote: >>> Thanks f

Re: [Rd] 'sessionInfo()' instead of 'version'

2005-12-29 Thread Seth Falcon
On 29 Dec 2005, [EMAIL PROTECTED] wrote: > So far the following reasonable suggestions have been made. I > forget where they were posted, so you may not have seen them: > > - the Subversion revision number, at least for non-released versions > - the version number of the GUI, at least for OS X (wh

Re: [Rd] 'sessionInfo()' instead of 'version'

2005-12-29 Thread Duncan Murdoch
On 12/29/2005 5:13 PM, Seth Falcon wrote: > On 29 Dec 2005, [EMAIL PROTECTED] wrote: > >>So far the following reasonable suggestions have been made. I >>forget where they were posted, so you may not have seen them: >> >>- the Subversion revision number, at least for non-released versions >>- the

[Rd] 'last.warning' problem at startup; package Matrix (PR#8453)

2005-12-29 Thread winjohn
On starting an R session, I get the messages: Fatal errir: unable to restore save data in .RData Error in fun(...): couldn't find function "assignInNamespace" Error: .onLoad failed in 'loadNamespace' for 'Matrix' The only object in my .RData is last.warning, thus: > last.warning $"op

Re: [Rd] 'sessionInfo()' instead of 'version'

2005-12-29 Thread Prof Brian Ripley
Are there known instances of this helping the diagnosis of a problem? My impression is that more details of the OS/compilers used is the thing which is most commonly needed to help with remote diagnosis. On Thu, 29 Dec 2005, Seth Falcon wrote: > On 29 Dec 2005, [EMAIL PROTECTED] wrote: >> So fa

Re: [Rd] 'last.warning' problem at startup; package Matrix (PR#8453)

2005-12-29 Thread ripley
This *is* a bug in package Matrix and yes, bugs in packages can be bad enough to stop a saved image (sic) being loaded. You could have started R --no-restore and load()ed it later. Matrix has several uses of assignInNamespace in .onLoad and .onUnload, and that is in package utils and so not ne

[Rd] Acknowledgments in package documentation

2005-12-29 Thread Jeff Enos
R-devel, I've received permission from a third party to incorporate some of their data in a data set in my 'portfolio' package. I'd like to include an acknowledgment of the third party, and perhaps a "used with permission" somewhere in the package documentation. Where's the best spot in the pack