Skip to content
Prev 12654 / 398502 Next

\code{x[ind,,]} -- Including spaces does not work

On Mon, 30 Jul 2001, Chris Wild wrote:

            
\code{x[ind, , ]}

does work for me, and furthermore it is how R itself formats the code:
function ()
{
    x[ind, , ]
}

so it's not ugly, it is correct.  I do wish posters to R-help would
make use of spaces in the way R itself does.

That's not to say that Rd.sty does not need to protect against this.