Displaying 1 result from an estimated 1 matches for "pythagtry".
2000 May 15
1
pythag missing in src/appl/ROUTINES (PR#544)
...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)) :
unable to load shared library "/home/rsb/tmp/pythagtry.so":
/home/rsb/tmp/pythagtry.so: undefined symbol: pythag
> is.loaded("pythag")
[1] FALSE
-----------------------------------------
/* pythagtry.c *...