Hi, How can I specify which functions should be exported when I build a shared library with 'R CMD SHLIB foo.c'?? I tried putting a file named foo.def in the same directory with the line 'EXPORTS' and the names of the functions to be exported, but the file is deleted in the build process. Any help is appreciated, Martin Keller-Ressel