Create a file named Makevars in the same directory and put the following line in it:

OBJECTS=file1.o

Then R CMD SHLIB will only compile file1.c.

Kjell

Great, that's done the job nicely.

Many thanks
David

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to