Re: [R] How to get rid of the index in result file

2011-05-19 Thread Jorge Ivan Velez
Hi Yighua, Try > m <- 2.35343 > m [1] 2.35343 > cat(m) 2.35343 HTH, Jorge On Thu, May 19, 2011 at 2:35 PM, Hu, Yinghua <> wrote: > Hi, > > I am running some function in Ubuntu command line and get some problem. I > used some command like below > > $ R --slave -vanilla < my_infile > my_outfile

[R] How to get rid of the index in result file

2011-05-19 Thread Hu, Yinghua
Hi, I am running some function in Ubuntu command line and get some problem. I used some command like below $ R --slave -vanilla < my_infile > my_outfile The return should be one number in the my_outfile. In the my_infile, I call one extra function and it has code like "return x". However, in