[R] Error in plot.new() : figure margins too large

2012-07-06 Thread Karly Harrod
t nba <- nba[,2:20] #Prepe Data: change data from a data frame to a data matrix nba_matrix <- data.matrix(nba) #Create Heat Map nba_heatmap <- heatmap(nba_matrix, Rowv=NA, Colv=NA, col = cm.colors(256), scale="column", margins=c(5,10)) Karly Harrod LBNL Summ

[R] Error: figure margins too large

2012-06-27 Thread Karly Harrod
ge > #plot 2 centers > points(kmSNc2$centers,col = 1:2, pch = 8) Error in plot.xy(xy.coords(x, y), type = type, ...) : invalid graphics state I am have just started using R, so I am most definitely a beginner. Any help that could be offered would be greatly appreciated. Thanks, Karly Harro