[R] Dos() Command for R

Brunschwig, Hadassa {PDMM~Basel} HADASSA.BRUNSCHWIG at Roche.COM
Thu Sep 4 17:37:46 CEST 2003

Hello R-people

Is there an equivalent in R for the dos() command in S?

We are trying to write a function which will initiate the Metropolis algorithm run with BUGS. That means we have a file containing the commands for BUGS which we usually type in manually in the command prompt to run BUGS. It is also possible to run this list of commands by typing in backbugs (name of file with list of commands).cmd in the command prompt, this however is exactly what we try to automatise. We basically need a command in R which calls on the command prompt and executes backbugs ... there. We played with the function system() but still werent able to find out how this could work.

Thanks in advance for any comments.


More information about the R-help mailing list