Perfect. That's fixed the problem. Thanks very much for the advice. Shay
________________________________________ If you don't specify where to open the dialog, it will open in the last location where it was opened. This saves time if you are running it more than once, because often you will open files from the same directory. If you don't want that, you can specify which directory to open, and get it to always open in the current directory using choose.files("./*"). Duncan Murdoch ______________________________________________ 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.