I have written some content about the R bindings to Tcl and Tk:
http://waddella.github.io/loon/learn_R_tcltk.html
And the pack geometry manager
http://adrian.waddell.ch/EssentialSoftware/Rtcltk_geometry.pdf
But if you have no experience with building graphical user interfaces then
you might
ol=cols, fill=TRUE, border=NA)
Greetings,
Adrian
On Fri, Dec 11, 2015 at 1:22 AM, Benjamin Tyner <bty...@gmail.com> wrote:
> Very nice Adrian. Is there a straightforward way to add Alaska and Hawaii at
> the lower left? (without resorting to choroplethr package)
>
>
&
Hi,
You can also use the 'maps' package for the map data and the 'scales'
package for the color mapping.
E.g.
library(maps)
library(scales)
m <- map('state', fill=TRUE, plot=FALSE)
s_data <- tolower(rownames(USArrests))
s_map <- tolower(m$names)
mapping <- lapply(s_data, function(state) {
Megh Dal megh74 at yahoo.com writes:
Hi, is there any way to say: this class 'x' is a S3 class? For example what
is the type of class data.frame?
Is it a S3 class or S4?
How can I get a complete list of all S3 classes currently available?
Thanks,
There is the isS4 function
Hadley Wickham hadley at rice.edu
Where is %in% documented within R? I'm pretty sure it's a different
action to ?%in%, and it's not mentioned in ?formula
You find the documentation for operators like -, %in%, if, etc by putting
the operators between
qoutes
?%in%
?-
?if
Regards,
. E.g. with a
command like dev.flush()?
How can I run my code on all operating systems without any jumps?
Regards,
Adrian Waddell
Here is a minimal example code:
library(tcltk)
tt - tktoplevel()
tkpack(top - tkframe(tt), side = top)
SliderValue - tclVar(50)
SliderValueLabel - tklabel(top,text
6 matches
Mail list logo