Amitoj S. Chopra <amitojc <at> gmail.com> writes: > > > Thank you it worked perfectly. I just needed to close the window that was > the problem. Do you know how to close the window automatically and why does > that matter? Thanks!!!!! > > Amitoj
Not sure why this makes a difference, but if it does great. As to programattically closing a dialog, the method close_gui is available, as in dlg$close_gui(). (The proto methods for an object dlg are shown in a web page by calling dlg$show_help().) --John ..snipped.. ______________________________________________ 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.