Skip to content
This repository was archived by the owner on Nov 21, 2020. It is now read-only.
This repository was archived by the owner on Nov 21, 2020. It is now read-only.

Test run returns > options(error=expression(NULL)) on Ubuntu #15

@ukebako

Description

@ukebako

Hi.
I run the following code:

$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 server it returns just

> options(error=expression(NULL))

UPDATE
I've found out that there's something wrong with end of line.
If i run something like this:

echo $r->run("5+3\n");

then it returns both 'options(...' and the result of the operation in the returning string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions