[R] Suppressing script commands in R console when executing long program

Ishwor ishwor.gurung at gmail.com
Fri Sep 18 10:03:43 CEST 2009


Steve.
Hi.


> I have a script composing of more than 1000 lines and would like suppress
> the R codes from the console when executing the script (to reduce the
> physical processing time)
>
> I have tried options(echo=T) but no luck..
>
> *Q1. Are there any way of suppressing the commands in the R console?*
>
> Also, when importing spreadsheet consisting of numbers with 1,000 separator
> commas (i.e 10000 as 10,000) into R  and performing basic arithmetic, R does
> not seem to recognise these separators..
>
> *Q2. Is R capable of reading numbers that are represented with 1,000
> separator commas?*
> **
> Many thanks for your expertise in resolving these problems.

You can try putting this in your Rprofile
options("keep.source=F")

This will work in the R cmd but it will not work in the RGui

Goodluck! :-)
-- 
Regards,
Ishwor Gurung




More information about the R-help mailing list