Thanks, Jim and Ronggui! This would work, of course!

But I apologize for not being clear in the first post. I am calling Rmath from 
a C program. I could not figure out how to set this without going back and 
recompiling: the message in in pnt.c and pulls it from the header file nmath.h.

Thanks,
Ranjan


On Wed, 21 Mar 2007 22:08:16 +0800 ronggui <[EMAIL PROTECTED]> wrote:

> op <- options(warn=-1)
> [main codes here]
> options(op)
> 
> 
> 
> On 3/21/07, Ranjan Maitra <[EMAIL PROTECTED]> wrote:
> > Dear list,
> >
> > I have been using the Rmath library for quite a while: in the current 
> > instance, I am calling dnt (non-central t density function) repeatedly for 
> > several million. When the argument is small, I get the warning message:
> >
> > full precision was not achieved in 'pnt'
> >
> > which is nothing unexpected. (The density calls pnt, if you look at the 
> > function dnt.) However, to have this happen a huge number of times, when 
> > the optimizer is churning through the dataset is bothersome, but more 
> > importantly, a bottleneck in terms of speed. Is it possible to switch this 
> > off? Is there an setting somewhere that I am missing?
> >
> > Many thanks and best wishes,
> > Ranjan
> >
> > ______________________________________________
> > [email protected] mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
> 
> 
> -- 
> Ronggui Huang
> Department of Sociology
> Fudan University, Shanghai, China
>

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to