Hi,
I have a small R question: how to print a single "\" character? I have the
following results:
> print("\") does not work

> print("\\")
[1] "\\"

I need to make the following substitution as well, but it does not work
either:
> sub("_","\_","g_g")
[1] "g_g"

Thanks in advance,
Firas.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to