Displaying 2 results from an estimated 2 matches for "origintal".
Did you mean:
original
2008 Jul 23
2
shQuote and cat
Dear R-users,
It is my understanding that cat(shQuote(a.string)) should print the origintal a.string. Is this right?
I am not sure cat() correctly prints strings which are generated by triple-shQuote():
> shQuote(shQuote("a"))
[1] "\"\\\"a\\\"\""
> cat(shQuote(shQuote(shQuote("a"))), '\n')
"\"\\"a\\"\<...
2008 Jul 23
2
shQuote and cat
Dear R-users,
It is my understanding that cat(shQuote(a.string)) should print the origintal a.string. Is this right?
I am not sure cat() correctly prints strings which are generated by triple-shQuote():
> shQuote(shQuote("a"))
[1] "\"\\\"a\\\"\""
> cat(shQuote(shQuote(shQuote("a"))), '\n')
"\"\\"a\\"\<...