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. Dassy
On Thu, Sep 04, 2003 at 05:37:46PM +0200, Brunschwig, Hadassa {PDMM~Basel} wrote:> Is there an equivalent in R for the dos() command in S?help(system) Hth, Dirk -- Those are my principles, and if you don't like them... well, I have others. -- Groucho Marx