Thanks, works just fine! Great!
--
Anne Skoeries
Am 12.08.2009 um 16:04 schrieb jim holtman:
Untested, but try something like this:
for(i in 1:(reihen-1)) {
but <- tkbutton(base, text = classi[i], command = local({
anzeige <- data.matrix(dataframe[i,-c(spalten)])
Untested, but try something like this:
for(i in 1:(reihen-1)) {
but <- tkbutton(base, text = classi[i], command = local({
anzeige <- data.matrix(dataframe[i,-c(spalten)])
namen <- names(anzeige)
tit <- paste(classi[i],
Hallo,
I'm dynamically generating buttons depending on the number of rows of
my dataframe. Every button is supposed to call a function which
generates a plot with the values of one of my dataframe rows.
My code looks like this:
base <- tktoplevel()
plotten <- function(mat, namen, titel) {
3 matches
Mail list logo