You are here

R syntax highlighting

1 post / 0 new
mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
R syntax highlighting

Testing a change. Hopefully this eliminates the bizarre html links in the syntax highlighting.

foo <- function(x,y) {
   if (is.vector(x) && is.vector(y)) {
      return(sum(x, y))
   }
   stop("drop and roll")
}