title: R: create folder using filename
body: <p>I have a folder (raw_file) that has a bunch of csv files (e.g. aaa.csv, bbb.csv). I need to create another folder (out_put) under the same directory of raw_file. Also, in the out_put folder, it will have folders that has the same name as my csv file (e.g. aaa, bbb). Can anyone show me how do this in R. Thanks in advance.</p>