The best easy answer I could come up with,
```
args: (code)  -> ['-e', code.replace(/\n/g,';').replace(/;+/g,';')]
```
will fail in at least one edge case I can think of (multiline commands). Instead of hacking together a JS R parser, it seems like the better part of valor would be to implement this via some kind of temporary file and let the file-based parsing handle it. This is a departure from the rest of the code, so I'm inclined to leave it be for now. I'll put in a commit that includes file-based parsing only.