Displaying 1 result from an estimated 1 matches for "mxresult".
2007 Feb 27
3
How to use bash command in R script?
Dear All:
Maybe it is a too basic question, but I don't how to find the answer.
Sorry for that.
What I want to do is call a shell command, which will provide two
numbers, and assign those numbers to a vector. For example:
The following command:
$mxresult.sh ABC.mx
mxresult.sh is a script written by myself and ABC.mx is a Mx script.
I can get two numbers, 126.128 and 29, with this command.
Is there any way to do it like this:
c <- somefunction("mxresult.sh ABC.mx")
Or is their any other way to fulfill the function?
Thanks in advanc...