Re: [R] Run an external software in R

2016-09-07 Thread Rainer M Krug
Bert Gunter writes: > ?system > > But this begs the question: WHY would you want to do this? More > specifically, what should R communicate to your other software, and > what should the other software communicate to R? I am not the OP, buty I can give you an answer why I did this (OK - I user rg

Re: [R] Run an external software in R

2016-09-07 Thread David Remotti
I use the opposite approach ... run R from another software (usually a GUI developed in VB), using Rscript from dos command line. Maybe you can get the level of communication you need. David Remotti Il 07/09/2016 03:13, Marino David ha scritto: Hi all R users: Does anybody have the experien

Re: [R] Run an external software in R

2016-09-06 Thread William Dunlap via R-help
You can use system() or shell(), which adds "cmd.exe /c " to the front of your command so you can use DOS syntax. Remember to add double quotes when file names have spaces in them. E.g., I can call an old version of R with the following and later read its text output into my current session. > i

Re: [R] Run an external software in R

2016-09-06 Thread Bert Gunter
?system But this begs the question: WHY would you want to do this? More specifically, what should R communicate to your other software, and what should the other software communicate to R? Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and stick

[R] Run an external software in R

2016-09-06 Thread Marino David
Hi all R users: Does anybody have the experience of running an external software in R? I try to use R to run ANSYS software, which is a engineering simulation package. I ever have done this task in Matlab platform by executing the following code line: system('"C:\Program Files\Ansys Inc\v100\ANSY