Displaying 1 result from an estimated 1 matches for "cntrl_m".
Did you mean:
cntrl
2011 Nov 11
1
Generating the Ctrl-M character
Dear R-helpers,
I want to append a Ctrl-M character to a string and then save it to a text
file.
mystring<-"This is a test."
# How do I add a Ctrl-M to it in the end ??
cat(mystring,file="testfile")
Many thanks,
Ashim
[[alternative HTML version deleted]]