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.

______________________________________________
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.

Reply via email to