# Importing C4.5 file to R dataframe

I want to convert the input data available as C4.5 file format into a R data frame.

and is avaialble as .NAMES and .DATA files.

My approach was to convert it to a csv file using WEKA and then import the csv file into R. Could not do it as WEKA detected a error while parsing the C4.5 file.

Can some one point me in the right direction.

Thanks

URL <- 'https://archive.ics.uci.edu/ml/machine-learning-databases/communities/communities.data'