Displaying 20 results from an estimated 27 matches for "imax2".
Did you mean:
iax2
2017 Aug 11
2
Issues of R_pretty in src/appl/pretty.c
...0, n = 1e6, min.n = 1) gave 1000000 intervals
(on a machine), made me trace through the code to function 'R_pretty' in https://svn.r-project.org/R/trunk/src/appl/pretty.c .
*lo is -1e300, *up is 1e300.
cell = fmax2(fabs(*lo),fabs(*up));
'cell' is 1e300.
i_small = dx < cell * U * imax2(1,*ndiv) * DBL_EPSILON *3;
When *ndiv is (int) 1e9, apparently cell * U * imax2(1,*ndiv) overflows to infinity and 'i_small' is 1 (true). It doesn't happen when *ndiv is (int) 1e6.
Putting parentheses may avoid the floating point overflow. For example,
i_small = dx < cell * (U * ima...
2017 Aug 18
1
Issues of R_pretty in src/appl/pretty.c
...ce through the code to function 'R_pretty' in https://svn.r-project.org/R/trunk/src/appl/pretty.c .
? ? > thank you.
? ? >> *lo is -1e300, *up is 1e300.
? ? >> cell = fmax2(fabs(*lo),fabs(*up));
? ? >> 'cell' is 1e300.
? ? >> i_small = dx < cell * U * imax2(1,*ndiv) * DBL_EPSILON *3;
? ? >> When *ndiv is (int) 1e9, apparently cell * U * imax2(1,*ndiv) overflows to infinity and 'i_small' is 1 (true). It doesn't happen when *ndiv is (int) 1e6.
[[elided Yahoo spam]]
? ? >> Putting parentheses may avoid the floating point overflo...
2017 Aug 14
0
Issues of R_pretty in src/appl/pretty.c
...n a machine), made me trace through the code to function 'R_pretty' in https://svn.r-project.org/R/trunk/src/appl/pretty.c .
thank you.
> *lo is -1e300, *up is 1e300.
> cell = fmax2(fabs(*lo),fabs(*up));
> 'cell' is 1e300.
> i_small = dx < cell * U * imax2(1,*ndiv) * DBL_EPSILON *3;
> When *ndiv is (int) 1e9, apparently cell * U * imax2(1,*ndiv) overflows to infinity and 'i_small' is 1 (true). It doesn't happen when *ndiv is (int) 1e6.
well spotted!
> Putting parentheses may avoid the floating point overflow. For example,...
2002 Apr 01
1
fft fails for lengths 392, 588, 968, 980 .... (PR#1429)
R 1.4.1, Linux and Windows
for(i in 1:1000) {
X <- rnorm(i)
XX <- fft(fft(X), inverse=T)/i
if(max(Mod(XX-X)) > 1e-10) print(i)
}
[1] 392
[1] 588
[1] 968
[1] 980
and I then get a segfault during gc(). The answers are way off, with
imaginary parts 1e10 or more.
These numbers are all multiples of 7^2 or 11^2.
(Based on a report to R-help
Date: Thu, 28 Mar 2002 09:37:34
2008 Aug 21
1
pnmath compilation failure; dylib issue?
...l/
lib -o pnmath.so bd0.o beta.o chebyshev.o choose.o d1mach.o dbeta.o
dbinom.o dcauchy.o dchisq.o dexp.o df.o dgamma.o dgeom.o dhyper.o
dlnorm.o dlogis.o dnbeta.o dnbinom.o dnchisq.o dnf.o dnorm.o dnt.o
dpois.o dt.o dunif.o dweibull.o fmax2.o fmin2.o ftrunc.o gamma.o
gamma_cody.o i1mach.o imax2.o imin2.o lbeta.o lgamma.o lgammacor.o
mlutils.o pbeta.o pbinom.o pcauchy.o pchisq.o pexp.o pf.o pgamma.o
pgeom.o phyper.o plnorm.o plogis.o pnbeta.o pnbinom.o pnchisq.o pnf.o
pnmath.o pnorm.o pnt.o polygamma.o ppois.o pt.o ptukey.o punif.o
pweibull.o qbeta.o qbinom.o qcauchy.o qchisq.o qex...
2017 May 22
2
[PATCH] Ensure correct order of evaluation in macro
...urring in paste.c.
By wrapping the macro's arguments in parentheses, we can ensure that the
correct order of evaluation will take place during preprocessing.
To illustrate, we can use the == operator which has lower evaluation
precedence than the < operator:
* With the current macro, imax2(3==4, 1) expands to 0.
* After applying this patch, imax2(3==4, 1) expands to 1 as expected.
Since I'm still relatively new to the mailing list, I've kept this patch
small.
I did notice other macros that have this same issue, so I can start
sending additional patches if this seems o...
2011 Mar 19
1
Undefined symbol "Rf_pythag" while loading spatstat
...011 about upcoming changes with
'Rf_pythag':
------------------------------------------------------------------------
r54767 | ripley | 2011-03-13 07:30:32 -0400 (Sun, 13 Mar 2011) | 1 line
Changed paths:
M /trunk/doc/NEWS.Rd
M /trunk/src/include/Rmath.h0.in
M /trunk/src/nmath/imax2.c
keep Rf_pythag for a little longer
------------------------------------------------------------------------
R News of newest devel has three entries about the change:
CHANGES IN R VERSION 2.14.0:
DEPRECATED AND DEFUNCT:
o The entry point pythag formerly in Rmath.h is defunct: use...
2009 Mar 17
3
R does not compile any more on FreeBSD 8.0-CURRENT
...VE_CONFIG_H -g -O2 -c wilcox.c -o wilcox.o
gcc -std=gnu99 -I. -I../../src/include -I../../src/include
-I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c signrank.c -o signrank.o
rm -rf libnmath.a
ar cr libnmath.a mlutils.o d1mach.o i1mach.o fmax2.o fmin2.o fprec.o
fround.o ftrunc.o sign.o fsign.o imax2.o imin2.o chebyshev.o log1p.o
expm1.o lgammacor.o gammalims.o stirlerr.o bd0.o gamma.o lgamma.o
gamma_cody.o beta.o lbeta.o polygamma.o bessel_i.o bessel_j.o bessel_k.o
bessel_y.o choose.o snorm.o sexp.o dgamma.o pgamma.o qgamma.o rgamma.o
dbeta.o pbeta.o qbeta.o rbeta.o dunif.o punif.o qunif.o r...
2012 Aug 12
1
Using R as Shared Library
...I copied it to my home folder and changed permissons from root to my
personal user and then tried to call R functions from a different
language (that has a 'native' function to call any kind of Shared
Library on Linux).
But to no avail - no matter if I try to call 'help' or 'imax2', I'm
always told the function doesn't exist.
So my question is basically: whats in there in the libR.so?
Can't I call all core R functions (via 'native') with the same arguments
as on the R command line? I'm a bit confused now about how to use R as a
shared library on...
2002 Jan 22
1
compile problem with bessel_i.c on IRIX64 flexor 6.5 10100655 IP35 (uname -a) (PR#1275)
....a
making mlutils.d from mlutils.c
making d1mach.d from d1mach.c
making i1mach.d from i1mach.c
making fmax2.d from fmax2.c
making fmin2.d from fmin2.c
making fprec.d from fprec.c
making fround.d from fround.c
making ftrunc.d from ftrunc.c
making sign.d from sign.c
making fsign.d from fsign.c
making imax2.d from imax2.c
making imin2.d from imin2.c
making chebyshev.d from chebyshev.c
making log1p.d from log1p.c
making lgammacor.d from lgammacor.c
making gammalims.d from gammalims.c
making stirlerr.d from stirlerr.c
making bd0.d from bd0.c
making gamma.d from gamma.c
making lgamma.d from lgamma.c
maki...
2000 Oct 31
1
conflicting types for `Rf_stirlerr
...i1mach.c
making fmax2.d from fmax2.c
making fmin2.d from fmin2.c
making fmod.d from fmod.c
making fprec.d from fprec.c
making fround.d from fround.c
making ftrunc.d from ftrunc.c
making sign.d from sign.c
making fsign.d from fsign.c
making fsquare.d from fsquare.c
making fcube.d from fcube.c
making imax2.d from imax2.c
making imin2.d from imin2.c
making chebyshev.d from chebyshev.c
making log1p.d from log1p.c
making lgammacor.d from lgammacor.c
making gammalims.d from gammalims.c
making stirlerr.d from stirlerr.c
making gamma.d from gamma.c
making lgamma.d from lgamma.c
making gamma_cody.d from gam...
1999 May 03
1
problems compiling R-0.63.3 on alpha
...nexact -g -I../include -I../../src/include -c fsign.c -o
fsign.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fsquare.c -o
fsquare.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fcube.c -o
fcube.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c imax2.c -o
imax2.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c imin2.c -o
imin2.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c chebyshev.c -o
chebyshev.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c logrelerr.c -o
logrelerr.o
gcc -ieee_with_inexa...
1998 Nov 06
1
DEC alpha INSTALLATION R-0.62.4
.../include -c ftrunc.c
cc -ieee_with_inexact -g -I../../src/include -c sign.c
cc -ieee_with_inexact -g -I../../src/include -c fsign.c
cc -ieee_with_inexact -g -I../../src/include -c fsquare.c
cc -ieee_with_inexact -g -I../../src/include -c fcube.c
cc -ieee_with_inexact -g -I../../src/include -c imax2.c
cc -ieee_with_inexact -g -I../../src/include -c imin2.c
cc -ieee_with_inexact -g -I../../src/include -c chebyshev.c
cc -ieee_with_inexact -g -I../../src/include -c logrelerr.c
cc -ieee_with_inexact -g -I../../src/include -c lgammacor.c
cc -ieee_with_inexact -g -I../../src/include -c gammalim...
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
...../include -I../../src/include -c fsign.c -o=
=
fsign.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fsquare.c =
-o =
fsquare.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c fcube.c -o=
=
fcube.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c imax2.c -o=
=
imax2.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c imin2.c -o=
=
imin2.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c chebyshev.=
c -o =
chebyshev.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c logrelerr.=
c -o =
logrelerr.o
gcc...
1998 Dec 08
0
R compile problems with AIX
...clude -I../../src/include -c sign.c -o sign.o
gcc -g -O2 -I../include -I../../src/include -c fsign.c -o fsign.o
gcc -g -O2 -I../include -I../../src/include -c fsquare.c -o fsquare.o
gcc -g -O2 -I../include -I../../src/include -c fcube.c -o fcube.o
gcc -g -O2 -I../include -I../../src/include -c imax2.c -o imax2.o
gcc -g -O2 -I../include -I../../src/include -c imin2.c -o imin2.o
gcc -g -O2 -I../include -I../../src/include -c chebyshev.c -o chebyshev.o
gcc -g -O2 -I../include -I../../src/include -c logrelerr.c -o logrelerr.o
gcc -g -O2 -I../include -I../../src/include -c lgammacor.c -o lgamma...
1998 Dec 08
0
R compile problems with AIX
...clude -I../../src/include -c sign.c -o sign.o
gcc -g -O2 -I../include -I../../src/include -c fsign.c -o fsign.o
gcc -g -O2 -I../include -I../../src/include -c fsquare.c -o fsquare.o
gcc -g -O2 -I../include -I../../src/include -c fcube.c -o fcube.o
gcc -g -O2 -I../include -I../../src/include -c imax2.c -o imax2.o
gcc -g -O2 -I../include -I../../src/include -c imin2.c -o imin2.o
gcc -g -O2 -I../include -I../../src/include -c chebyshev.c -o chebyshev.o
gcc -g -O2 -I../include -I../../src/include -c logrelerr.c -o logrelerr.o
gcc -g -O2 -I../include -I../../src/include -c lgammacor.c -o lgamma...
2017 Aug 18
4
No rule to make target all.R, needed by compiler.rdb building R 3.4.1 from source, Scientific Linux release 6.9 (Carbon)
...ot enabled: memory profiling*
* Recommended packages: yes*
I encountered an error running "make -n" with the libtre library not
generating libtre.a:
*rm -rf libnmath.a*
*ar -cr libnmath.a mlutils.o d1mach.o i1mach.o fmax2.o fmin2.o fprec.o
fround.o ftrunc.o sign.o fsign.o imax2.o imin2.o chebyshev.o log1p.o
expm1.o lgammacor.o gammalims.o stirlerr.o bd0.o gamma.o lgamma.o
gamma_cody.o beta.o lbeta.o polygamma.o cospi.o bessel_i.o bessel_j.o
bessel_k.o bessel_y.o choose.o snorm.o sexp.o dgamma.o pgamma.o qgamma.o
rgamma.o dbeta.o pbeta.o qbeta.o rbeta.o dunif.o punif.o qun...
2001 Jul 25
2
Installation help
...9;
making mlutils.d from mlutils.c
making d1mach.d from d1mach.c
making i1mach.d from i1mach.c
making fmax2.d from fmax2.c
making fmin2.d from fmin2.c
making fprec.d from fprec.c
making fround.d from fround.c
making ftrunc.d from ftrunc.c
making sign.d from sign.c
making fsign.d from fsign.c
making imax2.d from imax2.c
making imin2.d from imin2.c
making chebyshev.d from chebyshev.c
making log1p.d from log1p.c
making lgammacor.d from lgammacor.c
making gammalims.d from gammalims.c
making stirlerr.d from stirlerr.c
making bd0.d from bd0.c
making gamma.d from gamma.c
making lgamma.d from lgamma.c
maki...
2018 Feb 09
1
R Compilation gets stuck on Windows 64
Please note that building R on Windows is documented in "R Installation
and Administration", including links to external software. Particularly
there is a link to texinfo which is part of Rtools. The documentation is
maintained and it is a sufficient source of information for building R
on Windows.
https://cran.r-project.org/doc/manuals/r-release/R-admin.html
1998 Sep 11
1
R-beta: cannot make R
...2 -I../include -c fmod.c
gcc -g -O2 -I../include -c fprec.c
gcc -g -O2 -I../include -c fround.c
gcc -g -O2 -I../include -c ftrunc.c
gcc -g -O2 -I../include -c sign.c
gcc -g -O2 -I../include -c fsign.c
gcc -g -O2 -I../include -c fsquare.c
gcc -g -O2 -I../include -c fcube.c
gcc -g -O2 -I../include -c imax2.c
gcc -g -O2 -I../include -c imin2.c
gcc -g -O2 -I../include -c chebyshev.c
gcc -g -O2 -I../include -c logrelerr.c
gcc -g -O2 -I../include -c lgammacor.c
gcc -g -O2 -I../include -c gammalims.c
gcc -g -O2 -I../include -c gamma.c
gcc -g -O2 -I../include -c lgamma.c
gcc -g -O2 -I../include -c beta.c
g...