It's a great way. You told a lot of things that I need to ask.
Thank you very much!
Best wishes,
Wei-Wei
2007/2/27, Peter Dalgaard <[EMAIL PROTECTED]>:
> Guo Wei-Wei wrote:
> > Thank you all! I solved my problem with your help.
> >
> Come to think of it, it might be more to the point to use scan
Guo Wei-Wei wrote:
> Thank you all! I solved my problem with your help.
>
Come to think of it, it might be more to the point to use scan() on a
pipe():
con <- pipe("mxresult.sh ABC.mx", "r")
mynum <- scan(con)
close(con)
--
O__ Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B
Thank you all! I solved my problem with your help.
Best wishes,
Wei-Wei
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commen
?system.
Cheers,
Andrew
On Tue, Feb 27, 2007 at 02:05:09PM +0800, Guo Wei-Wei wrote:
> 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
Guo Wei-Wei wrote:
> 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
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 writt