[R] recomile a dll file in R

2012-01-21 Thread parvin sabeghi
dear all, I created a dll file from a fortran program. How I can recompile it in R? I use dyn.load(F:/myprogram.dll) without any error but when I run source(F:/myprogram.r) this error occurs: Error in file(file, r, encoding = encoding) : cannot open the connection In addition: Warning

Re: [R] recomile a dll file in R

2012-01-21 Thread R. Michael Weylandt
You have a couple of major points of confusion that I'll address briefly and then direct you to appropriate reference material. I) R is not compiled. It is an interpreted language. 2) R and Fortran are not equivalent. Something that is good code in one is not likely to be good code, or even