Dear Jimbo,
Unfortunately I got no answer to this problem so I decided to put the instructions in user manual for the program I am writing...not the best solution, but I cannot think of anything better. If you find out how to solve this in a better way, please share the knowledge. Best Miki From: jimbo616 [via R] [mailto:ml-node+s789695n4673676...@n4.nabble.com] Sent: Tuesday, August 13, 2013 10:04 PM To: mmiikkii Subject: Re: Bringing tk_choose.files to front I have this same problem-- the file browser window opens behind RStudio with no indication to the user that it is there. Did you ever find a solution to make it open as a top level window in front of RStudio? mmiikkii wrote I want to make a script in R (I use RStudio if it matters) in which the user chooses the initial data file interactively using tk_choose.files the code goes like this: -------- library(tcltk) library(foreign) fname1<-tk_choose.files(default = "", caption = "Choose original file",multi = FALSE, filters = NULL, index = 1) x1<-read.spss(fname1, use.value.labels=FALSE, to.data.frame=TRUE, use.missings=FALSE) --------- however, it pops out a new window behind the RStudio window. How can I make it pop out as top level window (in front of everything)? Thank you for helping. _____ If you reply to this email, your message will be added to the discussion below: http://r.789695.n4.nabble.com/Bringing-tk-choose-files-to-front-tp4657938p46 73676.html To unsubscribe from Bringing tk_choose.files to front, click here <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by _code&node=4657938&code=bXJhanRlckBwcmF2by5ocnw0NjU3OTM4fC01MDY0NDY3Mzc=> . <http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&i d=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamesp ace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNa mespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails% 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> NAML -- View this message in context: http://r.789695.n4.nabble.com/Bringing-tk-choose-files-to-front-tp4657938p4674217.html Sent from the R help mailing list archive at Nabble.com. [[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.