I have a logfile this type to process in R :
2015-11-23 11:51:02,082 INFO FrameworkApplication - ****** Start entimICE Application Command Line Parameters ******
2015-11-23 11:51:02,082 INFO FrameworkApplication - ****** Config-File: E:/Program Files (x86)/conf/storages.dsconfig
2015-11-23 11:51:02,082 INFO FrameworkApplication - ****** Datasource: datasource
2015-11-23 11:51:02,082 INFO FrameworkApplication - ****** Application: App
2015-11-23 11:51:02,082 INFO FrameworkApplication - ****** Ignore : false
2015-11-23 11:51:02,082 INFO FrameworkApplication - ****** Plugin: com.plug
2015-11-23 11:51:02,082 INFO FrameworkApplication - ****** Logging: E:/Program Files (x86)/conf/log4j.properties
2015-11-23 11:51:02,082 INFO FrameworkApplication - ****** End Application Command Line Parameters ******
2015-11-23 11:51:02,129 INFO BaseRuntime - Runtime created in mode: RichClient
I tried to put it in a dataframe with read table, but it puts me each word in a column and i would like to have a data frame with 5 columns:
date time type element text
2015-11-23 11:25::02,082 info FrameworkAplication - ****** Start entimICE Application Command Line Parameters ******
The probleme is my field separator is a space as well as my word separator that i don't want in diffrent fields
Is it possible via read.table, or scan, or should i do my own function ?
Thanks,