command to start a program (fortran code)
If you want to integrate Fortran into R, see the manual Writing R Extensions. If you want to just call some external program (independent of the language it is written in) via the operating system, see ?system (and ?shell on Windows). Uwe Ligges
thoeb wrote:
Hello! Does exist a command to start a foreign program (Fortran language)? I wrote a few r-scripts in which data are prepared and several outputfiles are generated that are used as inputfiles for further calculation. For these calculations another program is needed, so it would be practically if I could get the program started automatically after the preparation of the data has finished. (The program just opens a new window which asks you to put in some parameters an give the names of the inputfiles. Afterwards it generats some outputfiles that are stored in the same folder as the inputfiles.) The aim is, that the user has just to use R to run the whole application. Thanks" ----- Tamara Hoebinger University of Vienna