On 29 Jan 2004 14:20:26 -0600, you wrote:

>I always find it tedious to remember how to write file names in
>Windows (there are rules about '\' and '/' characters) so I use the
>file.choose() function, which brings up a chooser panel.  Although you
>haven't said what you want to do with the file, let's assume you are
>going to source some R code in the file.  Then you could use
>
>source(file.choose())

I've occasionally thought that "file = file.choose()" would be better
than no default in a lot of functions that take filenames as
arguments, e.g. file, the read* and write* functions, the bitmap
device, Sweave, etc.

Duncan Murdoch

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to