claire-c.jones at ubs.com
2010-Oct-28 14:09 UTC
[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 -------------- next part -------------- Issued by UBS AG or affiliates to professional investors for information only and its accuracy/completeness is not guaranteed. All opinions may change without notice and may differ to opinions/recommendations expressed by other business areas of UBS. UBS may maintain long/short positions and trade in instruments referred to. Unless stated otherwise, this is not a personal recommendation, offer or solicitation to buy/sell and any prices/quotations are indicative only. UBS may provide investment banking and other services to, and/or its employees may be directors of, companies referred to. To the extent permitted by law, UBS does not accept any liability arising from the use of this communication. \251 UBS 2010. All rights reserved. Intended for recipient only and not for further distribution without the consent of UBS. UBS Limited is a company registered in England & Wales under company number 2035362, whose registered office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom. UBS AG (London Branch) is registered as a branch of a foreign company under number BR004507, whose registered office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom. UBS Clearing and Execution Services Limited is a company registered in England & Wales under company number 03123037, whose registered office is at 1 Finsbury Avenue, London, EC2M 2PP, United Kingdom. UBS reserves the right to retain all messages. Messages are protected and accessed only in legally justified cases.
Viechtbauer Wolfgang (STAT)
2010-Oct-28 15:23 UTC
[R] Key combination that removes all R objects
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-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of claire-c.jones at ubs.com Sent: Thursday, October 28, 2010 16:10 To: r-help at 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