search for: spec_inten

Displaying 1 result from an estimated 1 matches for "spec_inten".

Did you mean: spec_intens
2009 Mar 08
0
advice on using this C code in R
...MaC/howtos/C_R.html Here, however, the code has several functions, some of which use structures as input variables and return several values. I've created a shared library with, > R CMD SHLIB specrend.c and then ran, dyn.load('specrend.so') > .C('spectrum_to_xyz', spec_intens=as.numeric(1), > wavelength=as.numeric(1), > x=numeric(1), y=numeric(1), z=numeric(1)) which obviously resulted in a nice crash, > *** caught illegal operation *** > address 0x942776, cause 'illegal opcode' > > Traceback: > 1: .C("spectrum_to_xyz&quo...