Skip to content

select text in R console and editor

3 messages · Denis Chabot, Rob Goedman, stefano iacus

#
Hi,

Le 27 nov. 2004, ? 12:01, r-sig-mac-request@stat.math.ethz.ch a ?crit :
I have something only partially related to add: I'd like to select text 
in the console and delete it. In other words, after spending time 
making a program just right, my console window is full of my failed 
attempts. I'd like to remove the unwanted material (actually I'd like 
better to just "clear" the console, maybe leaving the R version number 
that is put there when opening R) and rerun my complete, debugged 
program to have a clean output for archiving. As of now the novice that 
I am had to quit R and reopen it to run my debugged program.

In short I'm not reporting a bug but asking for a feature, just a menu 
command to "clear the console".

Sincerely,

Denis Chabot
#
That indeed seems a very useful feature. Oftentimes I cut&paste the 
output of the
latest run into an editor window and then print/save it. Now, with the 
save R Console
option, a 'clear R console' feature would be even more valuable.

Rob
On Nov 27, 2004, at 3:41 AM, Denis Chabot wrote:

            
#
On Nov 27, 2004, at 12:41 PM, Denis Chabot wrote:

            
why don't simply use the sink() feature of R to save the output of your 
scripts?
stefano