Skip to content
Prev 332877 / 398503 Next

select .txt from .txt in a directory

Hi,

I'm not particularly interested in opening unsolicited binary attachments.

Why don't you use dput() to provide part of your data to the R-help
list (copied on this email; emailing just me not being that useful).

You still haven't told us what you want to do with the named text
files - read them into R?

In general, you would read the file with the list of names into R,
then use a loop or a *apply construct to import each of those named
files. Based on what you've said, the fact that your desired list has
only 100 of the 300 total files is a red herring.

Sarah
On Fri, Nov 8, 2013 at 1:30 PM, Zilefac Elvis <zilefacelvis at yahoo.com> wrote:
Message-ID: <CAM_vju=4_5ZOtyENayrQk6aSrybV0fkxEmkn-P+0vndR2XpzKw@mail.gmail.com>
In-Reply-To: <1383935434.56654.YahooMailNeo@web160603.mail.bf1.yahoo.com>