Learn R Programming

RcmdrPlugin.KMggplot2 (version 0.0-4)

kmg2_listRecall: A function to convert a list into dot-dot-dot arguments

Description

A function to convert a list into dot-dot-dot arguments.

Usage

kmg2_listRecall(l, fun, ...)

Arguments

l
a list object
fun
a function to apply the list object after coverting into dot-dot-dot arguments
...
other arguments for fun

Examples

Run this code
require(tcltk)
tt <- tktoplevel()
b1 <- tkbutton(tt, text = "OK 1", command = function() tkdestroy(tt))
b2 <- tkbutton(tt, text = "OK 2", command = function() tkdestroy(tt))
b3 <- tkbutton(tt, text = "OK 3", command = function() tkdestroy(tt))
b4 <- list(b1, b2, b3)

kmg2_listRecall(b4, tkgrid, sticky = "nw")

Run the code above in your browser using DataLab