Bo Peng wrote: >>If there are symbols present then unix 'nm' should show them to you. > > > Interestingly: > > % nm myfile.so > 00000004fc T myfile_ > % R > >>dyn.load('myfile.so') >>is.loaded('myfile_') > > [1] TRUE > >>..Fortran('myfile_') > > Error in .Fortran('myfile_'): > 'Fortran" function name not in load table. > > So, myfile_ is loaded but is not callable by R?
.Fortran automatically appends an underscore (on most platforms). Try .Fortran('myfile') instead (or use .C('myfile_')). Or update to the current release of R, which gives a more informative error message. Duncan Murdoch ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html