Displaying 1 result from an estimated 1 matches for "fortran_2002_bh_ag".
Did you mean:
fortran_2002_bh_age
2002 Sep 23
1
calling a DLL/shared lib from R directly?
Is it possible to call a basic function/subroutine in a DLL/shared lib from
within R without having to build an R package?
I have a function like:
void __stdcall testfunc2(
unsigned long a,
double b,
unsigned long c )
{
return a * b * c;
}
or=20
subroutine fortran_2002_bh_age (sp,site,total_age,bh_age)
integer*2 sp
real*4 site=20
real*4 total_age
integer*2 bh_age
real*4 x
bh_age =3D some_value
end subroutine
I have been able to make it happen from the "writing R extensions" docs. =
It pretty important that this library be R independent.=20...