Displaying 1 result from an estimated 1 matches for "imagescale_85".
Did you mean:
imagescale_84
2010 Aug 30
1
Including C Code for Tcl and Tk in an R package
...Once the two files would be compiled I could load the correct function
by checking with
> library(tcltk)
> .Tcl('set tcl_version')
which tcl version R connects to?
For example the gcc command I call under Ubuntu is:
gcc -shared -o imgscale.so -DUSE_TCL_STUBS -I/usr/include/tcl8.5/
imagescale_85.c -L/usr/lib/ -ltclstub8.5 -fPIC
and
gcc -shared -o imgscale.so -DUSE_TCL_STUBS -I/usr/include/tcl8.4/
imagescale_84.c -L/usr/lib/ -ltclstub8.4 -fPIC
Thanks,
Adrian Waddell