Hi R fans I am trying to make a program to ask the user to choose data file:
print("Choose data file please !") matr=read.table(file.choose(),dec=".",header=TRUE) The problem is that the prompt Choose data file please ! comes after I have chosen the file. What am doing wrong? Thanks in advance Ralf Finne ______________________________________________ R-help@stat.math.ethz.ch 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.