The choose command has a #file option that will give you a list of files.

If you need the files in a table so you can do something else with them, try 
this:

out mydir.txt
dir
out screen


Next use the load command and load the file into a table something like 
this:

R>load table_list from mydir.txt as formatted file_name 1 8, file_ext 12 14


You will have to play around with this depending on your OS and version of 
R:base, these commands will need to be tweeked a little bit and the file 
extension might not be quite right.

Troy Sosamon


===== Original Message from [EMAIL PROTECTED] at 9/20/02 2:27 am
>How would one go about creating a table of file names in a given directory?
>I'm sure someone has done this before somehow.
>
>Thom
>Thomas J Cimicato
>President
>Integrated Check Technologies
>Collect-A-Check, Inc.
>------------------------------------------------------------
>Bus:800.338.0676
>Mailto:[EMAIL PROTECTED]
>www.ICheckTech.com
>
>================================================
>TO SEE MESSAGE POSTING GUIDELINES:
>Send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: INTRO rbase-l
>================================================
>TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
>In the message body, put just two words: UNSUBSCRIBE rbase-l
>================================================
>TO SEARCH ARCHIVES:
>http://www.mail-archive.com/rbase-l%40sonetmail.com/

================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to