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

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] plyr_1.8   jpeg_0.1-4

loaded via a namespace (and not attached):
[1] tools_3.0.0



----------------Contact
Details:-------------------------------------------------------
Contact me: Tal.Galili@gmail.com |
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------



On Mon, Jun 3, 2013 at 4:22 PM, Sarah Goslee <sarah.goslee@gmail.com> 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.
>
> Sarah
>
> On Mon, Jun 3, 2013 at 9:15 AM, Tal Galili <tal.galili@gmail.com> wrote:
> > 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?
> > This would allow (for example) to use read.table with a table copied from
> > website/libre-office/excel such as:
> >
> > a = read.table( text=
> > "
> > 1 2
> > 3 4
> > ")
> > a
> >
> > I understand I can use readClipboard directly, but I wonder if there is a
> > way to use it while the text is kept in the R Editor.
> >
> >
> > With regards,
> > Tal
>
>
> --
> Sarah Goslee
> http://www.functionaldiversity.org
>

	[[alternative HTML version deleted]]

