[R] How to add a column to dtm showing a part from directory source?

Melis Mete black.angel.18 at hotmail.com
Sun Apr 4 17:04:15 CEST 2010

 Hello Experts,

I'm new with R and having troubles doing my graduation project.I have 20
subfolders including almost 20000 txt files.What i need to do is to create a
dtm and add a column to it showing a "class" information of the txt files.
My directory source is like "C:\\R\\20news-18828\\comp.graphics" for the
comp.graphic subfolder.I need to take only "comp.graphic" part to be seen at
the CLASS column.Pleasehelp...

View this message in context: http://n4.nabble.com/How-to-add-a-column-to-dtm-showing-a-part-from-directory-source-tp1750923p1750923.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list