[R] how to reach a txt file like this?

Ye Lin yelin at lbl.gov
Tue Jun 9 18:24:22 CEST 2015


​Hey All, I have a txt data file that looks like this:

​[{“ID”:“A”,“Name":"Tom", "Age":"18"},{“ID”:“B”,“Name":"Jim", "Age":"19"}]


​How can I read this into R as a data frame? I have used readLines to read
all the lines but dont know how to deal with column names and inputs.

Thanks for your help!​

	[[alternative HTML version deleted]]



More information about the R-help mailing list