Re: [Rd] Choose.files to give shortnames

2006-03-26 Thread Prof Brian Ripley
On Wed, 22 Mar 2006, P Ehlers wrote: > Would > > basename(choose.files()) > > work for your usage? > Still, a full.names argument might be useful. I don't think so, as you can change directory in choose.files(), unlike dir(). > Peter Ehlers > > Brooks, Anthony B wrote: > >> I am writing a scrip

Re: [Rd] Choose.files to give shortnames

2006-03-22 Thread Philippe Grosjean
Brooks, Anthony B wrote: > Hi > I am writing a script to generate a QC report for some data based on a number of files. I am currently using the choose.files function to select the files as not all the files need to be QC'd. One minor issue is that choose.files returns the complete path of th

Re: [Rd] Choose.files to give shortnames

2006-03-22 Thread P Ehlers
Would basename(choose.files()) work for your usage? Still, a full.names argument might be useful. Peter Ehlers Brooks, Anthony B wrote: > Hi > I am writing a script to generate a QC report for some data based on a number > of files. I am currently using the choose.files function to select the

[Rd] Choose.files to give shortnames

2006-03-22 Thread Brooks, Anthony B
Hi I am writing a script to generate a QC report for some data based on a number of files. I am currently using the choose.files function to select the files as not all the files need to be QC'd. One minor issue is that choose.files returns the complete path of the filename (eg "C:/QCdata/Test1/