Rpad/HTML pages in working directory (click on the link to load the file):

.threecolumns = function(lst) {
    n = length(lst)
    if (n <= 3) return(as.matrix(lst))
    ncol = 3
    nrow = ceiling(n / ncol)
    lst = as.matrix(append(lst, rep("", ncol * nrow - n)))
    dim(lst) = c(nrow, ncol)
    lst
}
.rpadfiles = grep('\\.html$|\\.rpad$', dir(), ignore.case = TRUE, value = TRUE)
.rpadfiles = H("a", href = .rpadfiles, collapseContents = FALSE,
               .rpadfiles)
.rpadfiles = .threecolumns(.rpadfiles)
HTMLon()
Html(.rpadfiles)

Objects in user's workspace:

# print(ls.str(), wid = 40, nchar.max = 20, vec.len=2)
ls()

Enter R code here and press or F9 to run it:

     

Help

Rpad documentation
Server notes

Rpad Demos

General Example
Dojo Test Page
Input Examples
Rpad Widgets
Dojo Events

Links

Tom Short's R refcard
Matt Baggot's R refcard v2
Liu's R refcard
Rpad homepage
R homepage



The original author of Rpad is:
Tom Short, tshort@epri.com, Copyright 2005. EPRI, license: GNU GPL v2 or greater
To contact the current maintainer, see the DESCRIPTION file