demo/rp.menu.r

panel <- rp.control(title="Menu example", size=c(200,50))
rp.menu(panel, option, labels=list(list("File","Quit"), list("Edit","Copy","Cut","Paste")), "None", function(panel) { rp.messagebox(panel$option); panel }, font="Arial", foreground="Navy", background="Green")

Try the rpanel package in your browser

Any scripts or data that you put into this service are public.

rpanel documentation built on Feb. 16, 2023, 10:37 p.m.