I am not aware of the existance of a shortcut that would do what you describe.

On Windows, one could hit Ctrl-M, followed by R, but then one gets a prompt, 
asking for confirmation to remove all objects, but this can't be what you are 
referring to.

Are you perhaps using Tinn-R and (accidentally) hitting F12 (which does in fact 
exactly what you describe)?

Best,

--
Wolfgang Viechtbauer
Department of Methodology and Statistics
School for Public Health and Primary Care
Maastricht University, P.O. Box 616
6200 MD Maastricht, The Netherlands
Tel: +31 (43) 388-2277
Fax: +31 (43) 361-8388
Web: http://www.wvbauer.com


----Original Message----
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of
claire-c.jo...@ubs.com Sent: Thursday, October 28, 2010 16:10 To:
r-help@r-project.org Subject: [R] Key combination that removes all R
objects

> Dear readers,
>
> There is a combination of keys that I have (on several occasions now)
> typed by accident into R (2.10.0) which removes all the objects in
> the environment, and clears the console, as though I had typed
> rm(list=ls()).
> Unfortunately I don't know what the combination of keys are, so I am
> struggling to find out more about this behaviour on my own and I was
> hoping that someone has come across it before. Does anyone i) know
> what combination of keys this is (so that I am more cautious around
> them in future) or better yet, ii) know how to disable this shortcut?
>
> Thanks for your time,
> Claire

______________________________________________
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