php-r icon indicating copy to clipboard operation
php-r copied to clipboard

Provides ability to run R scripts from PHP

Results 8 php-r issues
Sort by recently updated
recently updated
newest added

Hello, thanks for you nice and useful work! I have installed R version 3.4.4 (2018-03-15) on Ubuntu 16.04.5 LTS. I have installed your class trough composer and upgrade it to...

Hello.. Below sample code in it is not able to write in csv file. (yes already root user and permission) so can you try that sample code and check it...

Hi, Thanks for your beautiful library ! I have an issue with this specific command : `reg

I have noticed passing a set of commands via the run command is finicky. If there is an empty line, just a newline or a line contains just white space,...

i use php-r but it give me an error Fatal error: Uncaught exception 'Kachkaev\PHPR\Exception\RProcessException' with message '''' is not recognized as an internal or external command, ' in C:\xampp\htdocs\R\src\Kachkaev\PHPR\Process\CommandLineRProcess.php:31 Stack...

Hi, please check this function: public function singleNumber($output) { //TODO properly check if r output is a valid number return 0 + substr($output, 4); } The problem is that if...

Hi. I run the following code: ``` php $r = new RCore(new CommandLineREngine('R')); echo $r->run("5+3"); ``` On my Mac it works as expected, but when I run it on Ubuntu...

I'm in need import libraries in my R code, but is giving the following error. ``` php $rOutputParser = new ROutputParser(); $rProcess = $r->createInteractiveProcess(); $rProcess->start(); $resultado = "a"; $rProcess->write(      int...