sublimetext - Supress output in R -
it's possible supress output cat/print/similar in r console?
i'm using sublimerepl sublime text , love supress echo when executing line (something ";" in matlab/octave), keeping output cat/print or similar commands obvious reasons.
any idea?
thanks in advance!
there fair number of r functions return values way of invisible
function. cat
limited set of values, returned object larger. see instance code of lm
:
> invisible(strsplit(as.character(35600), split="..$")) > invisible(print(strsplit(as.character(35600), split="..$"))) [[1]] [1] "356"
the r console works default read-eval-print loop , need emulate read , eval segments invisibly return value workspace. thought might need need rewrite readline
function console output blanked out out. , need fiddle stdin
, stdout
connections well. section 1.6, "autoprinting" of r internals document required reading. made me wonder if recompile r r_visible
variable set false. section says "actual autoprinting done printvalueenv in file print.c
"
Comments
Post a Comment