On 01 Dec 2003 22:15:57 +0100, Peter Dalgaard <[EMAIL PROTECTED]> wrote :
>Just one thing to add: If Wolski gets sufficiently annoyed to actually >try and do this right, he'll want a naming scheme that works on *all* >platforms, so branching on sys.info()["sysname"]=="Windows" is surely >wrong. Probably the right way to do it is to write a Sys.legal.filenames() function that takes a vector of strings and creates legal filenames out of them. I'm not sure what optional args it would want, but possibilities are - Avoid existing filenames. - Do it in a certain path. - Do it in a way that's likely to be portable to other systems. - Create filenames that are convenient, not just legal (e.g. even on Unix, don't allow asterisks or other characters that shells pay attention to; on Windows, avoid embedded spaces, etc.). Duncan Murdoch ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
