Displaying 1 result from an estimated 1 matches for "pytry".
Did you mean:
petry
2000 May 15
1
pythag missing in src/appl/ROUTINES (PR#544)
...ared library "/home/rsb/tmp/pythagtry.so":
/home/rsb/tmp/pythagtry.so: undefined symbol: pythag
> is.loaded("pythag")
[1] FALSE
-----------------------------------------
/* pythagtry.c */
#include <R.h>
#include <Rdefines.h>
#include <R_ext/Applic.h>
SEXP pytry(SEXP x, SEXP y)
{
SEXP ans;
double xa, xb;
xa = NUMERIC_POINTER(x)[0];
xb = NUMERIC_POINTER(y)[0];
PROTECT(ans = NEW_NUMERIC(1));
NUMERIC_POINTER(ans)[0] = pythag(xa, xb);
UNPROTECT(1);
return(ans);
}
-------------------------------------------------------------
$ R_HOME=/usr/local/lib/R gc...