Split and transform a R character string into numerical vector
问题 I want to convert the following json and put the values into a data frame. It almost works but as.data.frame() puts everything into one row. require(rjson) require(RCurl) y = getURI(url1) y [1] "[{\"close\":5.45836392962902,\"highest\":5.45837200714172,\"lowest\":5.45836392962902,\"open\":5.45837200714172,\"start_time\":\"2012-01-29T18:29:24-08:00\"},{\"close\":5.45837200714172,\"highest\":5.45837200714172,\"lowest\":5.45834791002201,\"open\":5.45835598753471,\"start_time\":\"2012-01-29T18:28