Displaying 12 results from an estimated 12 matches similar to: "polyroot() (PR#751)"
2000 Nov 28
2
BUG: polyroot() (PR#751)
I have found that the polyroot()
function in R-1.1.1(both solaris
and Win32 version) gives totally
incorrect result. Here is the offending
code:
# Polyroot bug report:
# from R-1.1.1
> sort(abs(polyroot(c(1, -2,1,0,0,0,0,0,0,0,0,0,-2,5,-2,0,0,0,0,0,0,0,0,0,1,-2,1))))
[1] 0.8758259 0.9486499 0.9731015 1.5419189 1.7466214 1.7535362 1.7589484
[8] 2.0216317 2.4421509 2.5098488 2.6615572
2008 May 16
2
Configure errors say to report here... (PR#11470)
Hi,
I'm attempting to compile R 2.7.0 on my G5, which is running OSX
10.5.2. Yes, I know there is a precompiled binary, but my experience has
shown that if I hand-compile ATLAS on my machine and then link R against it
when compiling, R runs faster, hence me compiling it myself.
Anyway, I have this set of errors:
checking X11/Intrinsic.h usability... no
checking X11/Intrinsic.h presence...
2005 Aug 19
1
Using lm coefficients in polyroot()
Dear useRs,
I need to compute zero of polynomial function fitted by lm. For example
if I fit cubic equation by fit=lm(y~x+I(x^2)+i(x^3)) I can do it simply
by polyroot(fit$coefficients). But, if I fit polynomial of higher order
and optimize it by stepAIC, I get of course some coefficients removed.
Then, if i have model
y ~ I(x^2) + I(x^4)
i cannot call polyroot in such way, because there is
2007 Nov 23
1
complex conjugates roots from polyroot?
Hi, All:
Is there a simple way to detect complex conjugates in the roots
returned by 'polyroot'? The obvious comparison of each root with the
complex conjugate of the next sometimes produces roundoff error, and I
don't know how to bound its magnitude:
(tst <- polyroot(c(1, -.6, .4)))
tst[-1]-Conj(tst[-2])
[1] 3.108624e-15+2.22045e-16i
2001 Mar 19
2
A limitation for polyroot ? (PR#880)
Dear R Development Team,
I have encountered the following difficulty in using the function polyroot
under either NT4.0 (R version 1.2.1) or linux (R version 0.90.1). In the
provided example, the non-zero root of c(0,0,0,1) depends on the results of
the previous call of polyroot.
R : Copyright 2001, The R Development Core Team
Version 1.2.1 (2001-01-15)
R is free software and comes with
1999 Dec 07
1
problem compiling: alpha/linux: sqrttsu
Hi, all.
In trying to compile R v.0.90 on an alpha running Red Hat Linux 6.0, I'm
getting the following error:
make[3]: Entering directory `/home/mcw/alpha-R/R-0.90.0/src/appl'
gcc -I. -I../include -I../../src/include -DHAVE_CONFIG_H -mieee -g -O2 -c cpoly.c
-o cpoly.o
/tmp/ccPjZNwd.s: Assembler messages:
/tmp/ccPjZNwd.s:312: Error: unknown opcode `sqrttsu'
/tmp/ccPjZNwd.s:2631:
2001 Jan 25
1
problems compiling R under digital unix 4.0d (PR#826)
Dear Sirs,
I am trying to compile R v1.2.1 under Digital Unix 4.0D.
The configure-script runs without any problems but during 'make' I receive
the following error-message:
[......]
g77 -mieee -g -O2 -c dtrco.f -o dtrco.o
g77 -mieee -g -O2 -c dtrsl.f -o dtrsl.o
g77 -mieee -g -O2 -c eigen.f -o eigen.o
g77 -mieee -g -O2 -c lminfl.f -o lminfl.o
ar cr libappl.a Rsock.o approx.o bakslv.o
1997 Aug 08
4
R-alpha: Second patch for 0.50-a1
A second patch for R-0.50-a1 is available from
ftp://stat.auckland.ac.nz/pub/R
The patch produces the following changes
o cpoly problem with pow_di fixed.
o legend had a call to "text" with an incorrect argument tag.
Changed "text" to "labels".
o The variable "dup" was uninitialised in the function "naoktrim" in
1999 Jun 09
4
packages with FORTRAN code
Recent sensible changes to the dynload mechanism have made an old
problem resurface: how should we deal with packages which contain
Fortran code and may need to be linked against additional libraries
such as -lf2c?
The current consensus is that extra Fortran libraries maybe needed are
handled via the make variable FLIBS, and that `-lf2c' or `-lg2c' are
added by default if g77 is used.
2005 Mar 29
1
final stages of installing R - please help?
Hello,
This morning I downloaded, unzipped, and compiled the latest version of
R for unix, in my HOME/APPLICATIONS directory.
My current unix machine is a sparc-sun-solaris2.9, running SunOS 5.9.
Here are the last few lines of the output following ./configure:
R is now configured for sparc-sun-solaris2.9
Source directory: .
Installation directory: /usr/local
C compiler:
1997 Aug 05
3
R-alpha: Version 0.50-a1 patches
A set of patches for R-0.50-a1 is now available as
ftp://stat.auckland.ac.nz/pub/R/R-0.50-a1.patch1.gz
The patches mainly fix problems reported since R-0.50-a1 but some
older problems are also fixed.
Here is the list of changes.
Ross
o Many subsetting and mutation problems with the new "expression" type
have now been fixed.
o When ask=T is set in par() the user is instructed
2000 May 22
2
hypot(x,y) instead of pythag(a,b) ?!
Some of you may have seen the pythag() part in the R API definition in
"Writing R Extensions" (source = doc/manual/R-exts.texinfo).
or followed the report and Prof. Brian Ripley's answer about pythag()'s
availability from R's binary.
As we say in above manual
>> `pythag(A, B)' computes `sqrt(A^2 + B^2)' without overflow or
>> destructive