<<
output tempfile.txt
dir
output scr

Is there a better way? 
>>

No, this is the standard way of loading a directory listing in R:Base.  Make
sure to use a TEMP table to load the listing in to, so it will be multi-user
safe.

Alternatively, you could write a plug in, UDF, or Win UDF to return your
results in a comma-delimited string (as long as you know you will not go over
4K characters in the result.
--
Larry

Reply via email to