[R] Bringing tk_choose.files to front

mmiikkii mrajter at pravo.hr
Fri Feb 8 14:29:50 CET 2013

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:

fname1<-tk_choose.files(default = "", caption = "Choose file",multi = FALSE,
filters = NULL, index = 1)

however, it pops out 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.

View this message in context: http://r.789695.n4.nabble.com/Bringing-tk-choose-files-to-front-tp4657938.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list