how do i pass arguments raw and unprocessed to r scripts?

So in order for the script to not ignore/parse out the quotation marks, they need to be escaped. The escape characters are lost once during the whole process (somewhere between logic app and the pipeline) so I needed to stringify the object twice before sending it to the pipeline which then makes it possible for R to read it as a valid JSON string that can be transformed into an object. Here’s what it had to look like:

"[{\"element1\":\"val1\",\"element2\":\"val2\"},{...}]"

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top