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!

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org 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 commented, minimal, self-contained, reproducible code.

Reply via email to