[R] Why do tabs disappear when pasted into the R console?

2013-06-03 Thread Tal Galili
Hello Dear R-help Members, I have noticed that when pasting text with tab in it to the R console it eliminates the tab. Whereas, when pasted into the R Editor, the tab is preserved. For example, pasting this: 1997 7680 In the R Console will result in: 19977680 Is there a way to preserve the tab?

Re: [R] Why do tabs disappear when pasted into the R console?

2013-06-03 Thread Sarah Goslee
Pasting tabs into the console works for me on linux, which suggests that you need to provide more information about your OS and all the other usual things. Sarah On Mon, Jun 3, 2013 at 9:15 AM, Tal Galili tal.gal...@gmail.com wrote: Hello Dear R-help Members, I have noticed that when pasting

Re: [R] Why do tabs disappear when pasted into the R console?

2013-06-03 Thread Tal Galili
My apologies Sarah, you are right, here: sessionInfo() R version 3.0.0 (2013-04-03) Platform: i386-w64-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=Hebrew_Israel.1255 LC_CTYPE=Hebrew_Israel.1255 LC_MONETARY=Hebrew_Israel.1255 [4] LC_NUMERIC=C LC_TIME=Hebrew_Israel.1255

Re: [R] Why do tabs disappear when pasted into the R console?

2013-06-03 Thread Gabor Grothendieck
On Mon, Jun 3, 2013 at 9:24 AM, Tal Galili tal.gal...@gmail.com wrote: My apologies Sarah, you are right, here: sessionInfo() R version 3.0.0 (2013-04-03) Platform: i386-w64-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=Hebrew_Israel.1255 LC_CTYPE=Hebrew_Israel.1255

Re: [R] Why do tabs disappear when pasted into the R console?

2013-06-03 Thread peter dalgaard
On Jun 3, 2013, at 15:22 , Sarah Goslee wrote: Pasting tabs into the console works for me on linux, which suggests that you need to provide more information about your OS and all the other usual things. Which console and which Linux? Anyways, the thing that usually gets in the way is

Re: [R] Why do tabs disappear when pasted into the R console?

2013-06-03 Thread Prof Brian Ripley
On 03/06/2013 14:48, peter dalgaard wrote: On Jun 3, 2013, at 15:22 , Sarah Goslee wrote: Pasting tabs into the console works for me on linux, which suggests that you need to provide more information about your OS and all the other usual things. Which console and which Linux? Anyways, the

Re: [R] Why do tabs disappear when pasted into the R console?

2013-06-03 Thread Tal Galili
Very interesting, thank you. However, after disabling the tab completion, the RGUI still can't distinguish pasted tabs. e.g: # Running: Sys.setenv(R_COMPLETION=FALSE) Sys.getenv(R_COMPLETION) a = read.table( text= 1 2 3 4 ) a # will result in: (instead of two columns) V1 1 12 2 34

Re: [R] Why do tabs disappear when pasted into the R console?

2013-06-03 Thread David Winsemius
On Jun 3, 2013, at 12:46 PM, Tal Galili wrote: Very interesting, thank you. However, after disabling the tab completion, the RGUI still can't distinguish pasted tabs. e.g: # Running: Sys.setenv(R_COMPLETION=FALSE) Sys.getenv(R_COMPLETION) a = read.table( text= 1 2 3 4 ) a