[R] Do I need a special package to call a fortran program within R?

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Jul 30 08:46:27 CEST 2004


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




More information about the R-help mailing list