Displaying 2 results from an estimated 2 matches for "do_cmathfuns".
2003 Oct 09
1
S4 group generic Complex not working (PR#4483)
...ic(z@z))
[1] "Complex"
> Arg(new('foo', z=1+0i))
Error in Arg(new("foo", z = 1 + (0+0i))) :
non-numeric argument to function
>
The fix is to add
if (DispatchGroup("Complex", call, op, args, env, &x))
return x;
near the beginning of do_cmathfuns in complex.c.
--please do not edit the information below--
Version:
platform = i686-pc-linux-gnu
arch = i686
os = linux-gnu
system = i686, linux-gnu
status =
major = 1
minor = 8.0
year = 2003
month = 10
day = 08
language = R
Search Path:
.GlobalEnv, package:methods, packa...
2005 Sep 10
1
FreeBSD 7.0-CURRENT and R-2.2.0 alpha
...b/libz.a
../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a
/usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lreadline -lm
-liconv
complex.o(.text+0x106): In function `mycpow':
/usr/local/R-alpha/src/main/complex.c:170: undefined reference to `cpow'
complex.o(.text+0x6f9): In function `do_cmathfuns':
/usr/local/R-alpha/src/main/complex.c:323: undefined reference to `carg'
complex.o(.text+0xb4b): In function `z_log':
/usr/local/R-alpha/src/main/complex.c:423: undefined reference to `clog'
complex.o(.text+0xb86): In function `z_logbase':
/usr/local/R-alpha/src/main/complex.c...