Chaochao Gao
2004-Jul-30 00:33 UTC
[R] Do I need a special package to call a fortran program within R?
Hi, there, I tried to use " system (command.txt)" to run a executive fortran code (like a.out) within R. But the screen shows that " impossible to run" this command. This is the first time I use R, so I was wondering if there is a special package to run fortran program. Any help will be highly aprreciated. Chaochao
Uwe Ligges
2004-Jul-30 06:46 UTC
[R] Do I need a special package to call a fortran program within R?
Chaochao Gao wrote:> Hi, there, > > I tried to use " system (command.txt)" to run a executive fortran code > (like a.out) within R. But the screen shows that " impossible to run" > this command. This is the first time I use R, so I was wondering if > there is a special package to run fortran program. Any help will be > highly aprreciated.What is command.txt? Does it inhertit the call of any executable? Or does it inherit fortran code? If the latter, please read the mnaual "Writing R Extensions", if the former, please read ?system. (BTW: which OS, which version of R?) Uwe Ligges> Chaochao > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html