Re: [R] Weird behaviour of tab characters in a string in R (vs Python)

2011-10-06 Thread R. Michael Weylandt
Things like hard-tabs are usually going to vary by text-editor / GUI. Python is pretty peculiar in its use of tabs, so I wouldn't expect R to replicate. My Matlab license is buggy right now, but I think you'd see similar behavior there, while interactive Ruby gives an autocomplete. I think that hit

[R] Weird behaviour of tab characters in a string in R (vs Python)

2011-10-05 Thread Johnny Paulo
Hello, I wanted to parse some information from a text, where fields are tab separated. When I copy the text into an R session (under emacs) like: mystring <- "field1 field2 field3" the tab character is replaced by a single space! For ex, if I type mystring, I get: "field1 field2 field3" The ta