[R] Quotation marks in Strings?

MIYAMOTO Yusuke yusuke at koko15.hus.osaka-u.ac.jp
Thu Dec 26 23:56:03 CET 2002


Hi, 

On Fri, 27 Dec 2002 00:19:13 +0200 (EET)
tuffek at jippii.fi wrote:
> 
> Hello!
> 
> How do I construct following string:
> 
> s <- " *** "Hello!" *** "
> 
> Tuomas

Try the following:

 s <- " *** \"Hello!\" *** "
 cat(s, "\n")

--
 MIYAMOTO, Y.




More information about the R-help mailing list