Hi, I am working on an implementation of R within some web application (R is just a part of a larger project, so R has to be incorporated within an existing setup)
Here is the scenario, PHP grabs a csv dataset from some server and turns it into a 2 dimensional array (with each row being an array, and there are N of them, N being the number of columns) Now I want the PHP script to trigger Rscript to process the data with the exec() command. The idea is that R can access the data without actually fetching the csv from the server (through RMySQL or something like that) The question is, how do I turn the PHP array into a data frame or some kind of object that R can process? Thanks. -- View this message in context: http://r.789695.n4.nabble.com/Converting-php-arrays-to-data-frame-tp4550656p4550656.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.