How do i make rpanel print the value of a calculation in the rpanel itself - in a space just below the submit button?
The calculation uses user inputs (using rp.textentry) and takes the values entered as input to the function via function (myRpanel) e.g. myfunction <- function(myRpanel){ z<- myRpanel$x + myRpanel$y return(z) } myRpanel <- rp.control("My new function") rp.textentry(myRpanel, x, myfunction, "x :", initval = 20) rp.textentry(myRpanel, y, myfunction, "y :", initval = 10) rp.button(myRpanel, title = "Submit", action = myfunction) Thank you Subramanian [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.