Displaying 1 result from an estimated 1 matches for "my_outfile".
2011 May 19
1
How to get rid of the index in result file
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 the output file my_outfile
It shows
[1] 2.35343
How do I get only
2.35343
I mean to get rid of "[1]" part. Thanks a lot!
[[alterna...