none
DeployR 8.0.0 - 36 MB data script execution fails RRS feed

  • Question

  • Hi,

    I have integrated DeployR 8.0.0 with my project. I am trying to pass huge data and the RScript to below API.

    /r/project/execute/code

    The Input to RScript is huge as 36MB, and is DataFrame. This is converted to JSON before sending. 

    Issue is, for small size data few KB of records it works, but if the size of input data increase, it fails with 400 error and no other details.


    shiras abdulrahman

    Tuesday, September 3, 2019 10:03 AM

All replies

  • You should be able to capture the error output in your Rscript.exe call and send it to a file, something like the following:

    Rscript --no-save --no-restore --verbose myRfile.R > outputFile.Rout 2>&1

    See:  https://stackoverflow.com/questions/14008139/capturing-rscript-errors-in-an-output-file

    Does this work for you?

    Tuesday, September 3, 2019 6:43 PM