The R Project SVN R

Rev

Rev 47307 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Johnson & Johnson,  $ _  ### ^ ~</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>

<table width="100%" summary="page for ver11 {unknown}"><tr><td>ver11 {unknown}</td><td align="right">R Documentation</td></tr></table>
<h2>Johnson & Johnson,  $ _  ### ^ ~</h2>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>foo</code></td>
<td>
item 1</td></tr>
<tr valign="top"><td><code>bar</code></td>
<td>
space, the item 2</td></tr>
<tr valign="top"><td><code>bah</code></td>
<td>
newline, then item 3</td></tr>
</table>

<h3>Details</h3>

<p>
<font face="Courier New,Courier" color="#666666"><b>R</b></font> <font face="Courier New,Courier" color="#666666"><b>R</b></font> \R \Alpha\beta\Gamma
</p>
<p>
In code, all that needs to be escaped is percent, backslash and unpaired
braces: <code>% \ {</code>. Unescaped: <code>$ # _ ^ ~ &lt; &gt; |</code>, and as a
pair, <code>{...}</code>.  If we escape: <code> \a \b \_ \# \$ \&amp; { } \ </code>
And some backslashes: <code>\ \ \\ \\</code> should
give zero, one, one, two backslashes.
</p>
<p>
How about \ (that is backslash space) in text?
</p>
<p>
Elsewhere, { } % \ need to be escaped, but not $ # _ ^ ~ &lt; &gt; | .
Let's try that again in <code>\samp</code>: <span class="samp"> { } % \ $ # _ ^ ~ &lt; &gt; |</span>.
And if we do escape: \$ \# \_ , and with three backslashes, \\#.
</p>
<p align="center"><i>a &lt; b &gt; c | d, x^y</i></p><p align="center"><i>\$k &gt; \#k, x_y, x\_y</i></p>
<p>
group-weighting from $[N_iP_i(1-P_i)]$
</p>
<pre>
    % a
    \
    \% c
    {
    \{
</pre>
</p>


<h3>URLs and emails</h3>

<p>
URLs need to be verbatim:  <a href="testit ~^_$#&lt;&gt;|">testit ~^_$#&lt;&gt;|</a>.
</p>
<p>
Markus Kuhn, &ldquo;ASCII and Unicode quotation marks&rdquo;.
<a href="http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html">http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html</a>
</p>
<p>
No escape is needed in <a href="mailto:Micah_Altman@harvard.edu">Micah_Altman@harvard.edu</a>
</p>


<h3>Examples</h3>

<pre>
Code such as <code>foo</code> inside \examples iused to be garbled.

"\\r\\n"
</pre>



<hr><div align="center">[Package <a href="00Index.html">Index</a>]</div>

</body></html>