Displaying 20 results from an estimated 22 matches for "pythag".
Did you mean:
mytag
2000 May 15
1
pythag missing in src/appl/ROUTINES (PR#544)
Full_Name: Roger Bivand
Version: 1.0.1
OS: Linux RH 6.1
Submission from: (NULL) (158.37.102.52)
I am trying to use pythag() from src/appl in a .Call() function.
pythag seems to be missing from the ROUTINES list in appl - putting
it in solved the problem:
> x <- 1
> y <- 1
> sqrt(x^2 + y^2)
[1] 1.414214
> dyn.load("pythagtry.so")
Error in dyn.load(x, as.logical(local), as.logical(now)) :...
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(...
2011 Mar 19
1
Undefined symbol "Rf_pythag" while loading spatstat
...t, pscl, adehabitatLT, adehabitatHR) which
gives an error like this:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
kann shared object
'/usr/local/lib/R/library/spatstat/libs/spatstat.so' nicht laden:
/usr/local/lib/R/library/spatstat/libs/spatstat.so: Undefined symbol
"Rf_pythag"
Fehler: loading failed
Ausf?hrung angehalten
Fehler: loading failed
Searching around I found a hint in
http://developer.r-project.org/R_svnlog_2011 about upcoming changes with
'Rf_pythag':
------------------------------------------------------------------------
r54767 | ripley |...
2000 Apr 24
1
compiling R-1.0.1 under Solaris
...-------------------------------
----
...
make[3]: Entering directory `/home/ppp/paradis/R/R-1.0.1/src/appl'
cr libappl.a Rsock.o S_compat.o approx.o bakslv.o binning.o chisqsim.o
chull.o c
poly.o cumsum.o distance.o fft.o fmin.o fortran.o lbfgsb.o loglin.o
lowess.o mac
har.o massdist.o pretty.o pythag.o rowsum.o sock.o splines.o stem.o
strsignif.o
tabulate.o uncmin.o zeroin.o ch2inv.o chol.o dpbfa.o dpbsl.o dpoco.o
dpodi.o dpo
fa.o dposl.o dqrdc.o dqrdc2.o dqrls.o dqrsl.o dqrutl.o dsvdc.o dtrco.o
dtrsl.o e
igen.o lminfl.o blas.o
make[3]: cr: Command not found
make[3]: *** [libappl.a] Error 127
m...
2000 Mar 27
1
Installing R on Solaris
...distance.d from distance.c
making fft.d from fft.c
making fmin.d from fmin.c
making fortran.d from fortran.c
making lbfgsb.d from lbfgsb.c
making loglin.d from loglin.c
making lowess.d from lowess.c
making machar.d from machar.c
making massdist.d from massdist.c
making pretty.d from pretty.c
making pythag.d from pythag.c
making rowsum.d from rowsum.c
making sock.d from sock.c
In file included from /usr/include/sys/turnstile.h:12,
from /usr/include/sys/t_lock.h:20,
from /usr/include/sys/vnode.h:37,
from /usr/include/sys/stream.h:21,...
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.
2000 Jun 15
4
R-1.1.0 is released
...(rather
than using latex).
o Support for Rd conversion to Sd has been reinstated (it was
unintentionally removed along with nroff-based conversion to text).
o \deqn{} fix in R-exts.texi, PR#523.
o Linpack.h now makes clear which routines are actually in R.
o Entry-point "pythag" is now loaded even though it is not
necessarily used in R. Where "hypot" is available pythag
just calls hypot after checking for special values.
o call_R will now correctly handle character vector arguments.
o The alphabet links on top of HTML function indices with mo...
2000 Jun 15
4
R-1.1.0 is released
...(rather
than using latex).
o Support for Rd conversion to Sd has been reinstated (it was
unintentionally removed along with nroff-based conversion to text).
o \deqn{} fix in R-exts.texi, PR#523.
o Linpack.h now makes clear which routines are actually in R.
o Entry-point "pythag" is now loaded even though it is not
necessarily used in R. Where "hypot" is available pythag
just calls hypot after checking for special values.
o call_R will now correctly handle character vector arguments.
o The alphabet links on top of HTML function indices with mo...
1999 May 03
1
problems compiling R-0.63.3 on alpha
...-g -I../include -I../../src/include -c machar.c -o
machar.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c massdist.c -o
massdist.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c pretty.c -o
pretty.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c pythag.c -o
pythag.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c rowsum.c -o
rowsum.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c splines.c -o
splines.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c stem.c -o stem.o
gcc -ieee_with_inexact -g -I../i...
2017 Nov 27
2
withTimeout bug, it does not work properly with nlme anymore
Hello,
I was relying on withTimeout (from R.utils) to help me stop nlme when it ?hangs?. However, recently this stopped working. I am pasting a reproducible example below: withTimeout should stop nlme after 10 seconds but the code will generate data for which nlme does not converge (or takes too long) and withTimeout does not stop it. I tried this both on a linux (64 bit, CentOS 7, R 3.4.1,
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
...lude -I../../src/include -c machar.c -=
o =
machar.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c massdist.c=
-o =
massdist.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c pretty.c -=
o =
pretty.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c pythag.c -=
o =
pythag.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c rowsum.c -=
o =
rowsum.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c splines.c =
-o =
splines.o
gcc -ieee_with_inexact -g -I../include -I../../src/include -c stem.c -o =
stem.o
gcc -ieee_with_ine...
2005 Dec 20
0
R 2.2.1 is released
...Inf when log.p = TRUE, although
it is a legitimate value.
o write.csv[2] only accepted logical constants for 'row.names', and
now accepts variables.
o Conversion of .Rd files did not correctly match braces
enclosing a whole argument, e.g. \eqn{{\bf a}}{a}.
o The C function pythag (used if hypot was not available) would
infinite-loop on systems with effective optimizing compilers.
o Writing long formats (more than 1000 bytes) with connections
that use dummy_vfprintf could fail on some systems. The limit
has been changed to 100000 bytes pending a more complete fix in...
2005 Dec 20
0
R 2.2.1 is released
...Inf when log.p = TRUE, although
it is a legitimate value.
o write.csv[2] only accepted logical constants for 'row.names', and
now accepts variables.
o Conversion of .Rd files did not correctly match braces
enclosing a whole argument, e.g. \eqn{{\bf a}}{a}.
o The C function pythag (used if hypot was not available) would
infinite-loop on systems with effective optimizing compilers.
o Writing long formats (more than 1000 bytes) with connections
that use dummy_vfprintf could fail on some systems. The limit
has been changed to 100000 bytes pending a more complete fix in...
1998 Dec 08
0
R compile problems with AIX
.../../src/include -c lowess.c -o lowess.o
gcc -g -O2 -I../include -I../../src/include -c machar.c -o machar.o
gcc -g -O2 -I../include -I../../src/include -c massdist.c -o massdist.o
gcc -g -O2 -I../include -I../../src/include -c pretty.c -o pretty.o
gcc -g -O2 -I../include -I../../src/include -c pythag.c -o pythag.o
gcc -g -O2 -I../include -I../../src/include -c rowsum.c -o rowsum.o
gcc -g -O2 -I../include -I../../src/include -c splines.c -o splines.o
gcc -g -O2 -I../include -I../../src/include -c stem.c -o stem.o
gcc -g -O2 -I../include -I../../src/include -c strsignif.c -o strsignif.o
gcc -...
1998 Dec 08
0
R compile problems with AIX
.../../src/include -c lowess.c -o lowess.o
gcc -g -O2 -I../include -I../../src/include -c machar.c -o machar.o
gcc -g -O2 -I../include -I../../src/include -c massdist.c -o massdist.o
gcc -g -O2 -I../include -I../../src/include -c pretty.c -o pretty.o
gcc -g -O2 -I../include -I../../src/include -c pythag.c -o pythag.o
gcc -g -O2 -I../include -I../../src/include -c rowsum.c -o rowsum.o
gcc -g -O2 -I../include -I../../src/include -c splines.c -o splines.o
gcc -g -O2 -I../include -I../../src/include -c stem.c -o stem.o
gcc -g -O2 -I../include -I../../src/include -c strsignif.c -o strsignif.o
gcc -...
2011 Apr 13
0
R 2.13.0 is released
...n Maindonald and
others.)
C-LEVEL FACILITIES:
? Because they use a C99 interface which a C++ compiler is not
required to support, Rvprintf and REvprintf are only defined by
R_ext/Print.h in C++ code if the macro R_USE_C99_IN_CXX is
defined when it is included.
? pythag duplicated the C99 function hypot. It is no longer
provided, but is used as a substitute for hypot in the very
unlikely event that the latter is not available.
? R_inspect(obj) and R_inspect3(obj, deep, pvec) are (hidden)
C-level entry points to the internal inspect function...
2011 Apr 13
0
R 2.13.0 is released
...n Maindonald and
others.)
C-LEVEL FACILITIES:
? Because they use a C99 interface which a C++ compiler is not
required to support, Rvprintf and REvprintf are only defined by
R_ext/Print.h in C++ code if the macro R_USE_C99_IN_CXX is
defined when it is included.
? pythag duplicated the C99 function hypot. It is no longer
provided, but is used as a substitute for hypot in the very
unlikely event that the latter is not available.
? R_inspect(obj) and R_inspect3(obj, deep, pvec) are (hidden)
C-level entry points to the internal inspect function...
2018 Apr 23
0
R 3.5.0 is released
...ed (with a
warning).
* methods:::bind_activation() is defunct now; it typically has been
unneeded for years.
The undocumented 'hidden' objects .__H__.cbind and .__H__.rbind
in package base are deprecated (in favour of cbind and rbind).
* The declaration of pythag() in Rmath.h has been removed - the
entry point has not been provided since R 2.14.0.
BUG FIXES:
* printCoefmat() now also works without column names.
* The S4 methods on Ops() for the "structure" class no longer cause
infinite recursion when the structure is not...
2018 Apr 23
0
R 3.5.0 is released
...ed (with a
warning).
* methods:::bind_activation() is defunct now; it typically has been
unneeded for years.
The undocumented 'hidden' objects .__H__.cbind and .__H__.rbind
in package base are deprecated (in favour of cbind and rbind).
* The declaration of pythag() in Rmath.h has been removed - the
entry point has not been provided since R 2.14.0.
BUG FIXES:
* printCoefmat() now also works without column names.
* The S4 methods on Ops() for the "structure" class no longer cause
infinite recursion when the structure is not...
2011 Oct 31
0
R 2.14.0 is released
...mma argument to hsv(), rainbow(), and rgb2hsv() has been
removed.
o The --no-docs option for R CMD build --binary is defunct: use
--install-args instead.
o The option --unsafe to R CMD INSTALL is defunct: use the
identical option --no-lock instead.
o The entry point pythag formerly in Rmath.h is defunct: use
instead the C99 function hypot.
o R CMD build --binary is formally defunct: R CMD INSTALL --build
has long been the preferred alternative.
o zip.file.extract() is now defunct: use unzip() or unz() instead.
o R CMD Rd2dvi without the --p...