epoh 发表于 2011-12-18 21:31 
Calling Fortran from R
类似Calling C from R
可以由底下网站下载 bar.f
您提到 in Windows command line (MS-DOS prompt) R CMD SHLIB bar.f
能否详细说一说在哪里运行就可以得到.o 和.dll 文件?我安装了Fortran,Plato里运行结果:
Compiling and linking file: bar.f
*** No main, WinMain or LibMain function
*** Compilation abandoned
Compilation failed.
该怎么办呢?