[R] How to use bash command in R script?
Guo Wei-Wei
wwguocn at gmail.com
Tue Feb 27 10:12:06 CET 2007
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 <P.Dalgaard at biostat.ku.dk>:
> 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
> c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
> (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
>
>
>
More information about the R-help
mailing list