Displaying 1 result from an estimated 1 matches for "td1774328".
2010 Apr 14
0
SHLIB works but inline compilation does not
....framework/.. -framework R -Wl,-framework
> -Wl,CoreFoundation
>> dyn.load( "test.so" )
>> .Call( "f" )
> NULL
>
> The above follows Romaine-Francois 3's suggestion here:
> http://n4.nabble.com/I-can-t-run-the-example-shown-in-the-inline-package-td1774328.html#a1778838
>
> However, when I try to use the "inline" package, I can't get it to work:
>
>> code <- "
> + int i, j, nab = *na + *nb - 1;
> + for(i = 0; i < nab; i++)
> + ab[i] = 0.0;
> + for(i = 0; i < *na; i++) {
> + for(j...