[R] loading multiple C files to R

Utsav Boobna catch_utsav at yahoo.com
Tue Jun 15 10:43:21 CEST 2004

   I am willing to load multiple C files to R, which
are inter-dependent (functions used in one may be
defined in other). What I was trying is to first
compile all of them separately (using R CMD SHLIB ...)
and then load them one by one (using dyn.load("...")
), but  it doesnt work (which seems to be obvious).
During loading, it was unable to recognize the
functions declared in already loaded file.

Please help.
Is there any documentation available on this topic,
other than "Writing R extensions"?


More information about the R-help mailing list