Displaying 1 result from an estimated 1 matches for "tfield2".
Did you mean:
field2
2011 Oct 05
1
Weird behaviour of tab characters in a string in R (vs Python)
...e mystring, I get:
"field1 field2 field3"
The tabs have disappeared!!!
I checked with Python that the text I copied was tab separated indeed
so I did the same, in a Python session:
mystring = "field1 field2 field3"
and when I type mystring, I get the expected:
"field1\tfield2\tfield3"
I am quite new to R, and there is something I am missing here.
Any light will be highly appreciated.
Regards
Johnny
[[alternative HTML version deleted]]