Skip to content
Prev 25129 / 63424 Next

Quoting

Vladimir Dergachev wrote:
.Tcl() is usually the wrong solution anyway, you really should use tcl() 
unless absolutely necessary.

In some contexts (probably not when using source() ), 
read.table(stdin())  does the trick too, as does reading from a pipe() 
connection, at least on Unix/Linux. The latter can be useful to filter 
out prompt characters.