Dear R, When I'm writing script I probably hit accidently some hot key and then the text in script is being overwritten by subsequent typing. Please what is the hot key or how can I disable it? -- View this message in context: http://r.789695.n4.nabble.com/random-typing-over-text-tp3470428p3470428.html Sent from the R help mailing list archive at Nabble.com.
Hi Derek, You have not provided us with any of the relevant (or requested in the posting guide) information which makes it virtually impossible to give you any sort of useful answer (e.g., what is your operating system? what version of R are you using? what are you using to write your script?). I would use a search engine and search for keywords like "overwrite", "key", "the name of your operating system" or the text editor you are using. You may be looking for the "insert" key. Josh On Sat, Apr 23, 2011 at 11:07 AM, derek <jan.kacaba at gmail.com> wrote:> Dear R, > > When I'm writing script I probably hit accidently some hot key and then the > text in script is being overwritten > by subsequent typing. Please what is the hot key or how can I disable it? > > -- > View this message in context: http://r.789695.n4.nabble.com/random-typing-over-text-tp3470428p3470428.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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. >-- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/
On 04/24/2011 08:13 AM, derek wrote:> Thank you very much. It was the Insert key. It was very annoying. Actually is > this owerwrite function of any use? >Hi derek, As Duncan mentioned, it is very useful when one wishes to type over existing text. However, this is a fairly uncommon wish in the typical GUI user environment, where the typist can highlight a group of characters and then begin typing. The highlighted characters disappear and the replacement is accomplished without changing the behavior of the keyboard. Many applications now attempt to guess what you want to highlight by performing the operation on words. To me this is not an advantage, for it often means that I delete one or more characters beyond what I wish. As Rolf noted, the adjacency of the Insert and Delete keys makes it far too easy to switch unwittingly to Insert mode. I sometimes wonder whether keyboard designers ever have to type, or whether they simply dictate their design inspirations into a microphone as some non-typists of my acquaintance do. When I received a new PC at work, some bright spark had placed an extra Backslash key next to the left Shift key _and_ reduced the size of the Shift key. After a few days of typing backslashes every time I wanted a capital letter, I popped both keys off and extended the Shift key to mostly cover the useless Backslash. I once programmed a special keyboard for a one-handed typist that allowed one to reprogram the meaning of keys, thereby accommodating individual preference rather than the lumbering Frankenstein of the average user. Now that would be a worthwhile innovation. Jim
On Mon, Apr 25, 2011 at 4:22 AM, Jim Lemon <jim at bitwrit.com.au> wrote:> On 04/24/2011 08:13 AM, derek wrote: >> >> Thank you very much. It was the Insert key. It was very annoying. Actually >> is >> this owerwrite function of any use? >> > Hi derek, > As Duncan mentioned, it is very useful when one wishes to type over existing > text. However, this is a fairly uncommon wish in the typical GUI user > environment, where the typist can highlight a group of characters and then > begin typing. The highlighted characters disappear and the replacement is > accomplished without changing the behavior of the keyboard. Many > applications now attempt to guess what you want to highlight by performing > the operation on words. To me this is not an advantage, for it often means > that I delete one or more characters beyond what I wish. As Rolf noted, the > adjacency of the Insert and Delete keys makes it far too easy to switch > unwittingly to Insert mode. I sometimes wonder whether keyboard designers > ever have to type, or whether they simply dictate their design inspirations > into a microphone as some non-typists of my acquaintance do. When I received > a new PC at work, some bright spark had placed an extra Backslash key next > to the left Shift key _and_ reduced the size of the Shift key. After a few > days of typing backslashes every time I wanted a capital letter, I popped > both keys off and extended the Shift key to mostly cover the useless > Backslash. I once programmed a special keyboard for a one-handed typist that > allowed one to reprogram the meaning of keys, thereby accommodating > individual preference rather than the lumbering Frankenstein of the average > user. Now that would be a worthwhile innovation.A reprogrammable Lego keyboard would be good, thanks in advance. If you do it, would you please consider adding an extra safety feature for windows users: every time the victim either holds Shift for 8 seconds or presses Shift for 5 times in a row, there would be a nice voice saying: "You just pressed Shift for N times. Ordinarily that means that Windows will activate StickyKeys(TM) which will make your keyboard useless until you restart the computer. If you really wish to activate StickyKeys(TM), press Ctrl-Backspace-Esc for 12 times, then RightAlt-Tab-F8 for 3 times, and then smile in your webcam for at least 45 seconds without making any facial movements not directly required to perform the aforementioned task.". KK
On Apr 25, 2011, at 14:52 , Kenn Konstabel wrote: ...> means that Windows will activate StickyKeys(TM) which will make your > keyboard useless until you restart the computer....or, apparently, press both shift keys simultaneously, whichever comes first. Now, whoever decided that >CapsLock< should be 3rd or 4th largest key on my keyboard.... -- Peter Dalgaard Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com