> 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