Thank you! That did work. But I wanted to create a data frame from the file that is choosen. I used the following code: gSignalConnect(buttoncount,"file-set",function(buttoncount){ cdata <- read.csv(buttoncount$getFilename()) })
I use the cdata <- read.csv(buttoncount$getFilename()) statement instead of the print(buttoncount$getFilename()). When I do this I don't get an error, but I also the cdata is not created. Am I missing something? Thanks! Chandra ********************************************************************** This e-mail and its attachments may contain Forest Laboratories, Inc. proprietary information that is privileged, confidential or subject to copyright belonging to Forest Laboratories, Inc. This e-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this e-mail, or the employee or agent responsible for delivering this e-mail to the intended recipient, you are hereby notified that any dissemination, distribution, copying or action taken in relation to the contents of and attachments to this e-mail is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender immediately and permanently delete the original and any copy of this e-mail and any printout. [[alternative HTML version deleted]] _______________________________________________ R-SIG-GUI mailing list R-SIG-GUI@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-gui