I'm trying to run a JavaScript function in R. One part of the code requires me to pass a JavaScript function containing a filename as a string. Because the string contains a file path this leads to all hell breaking loose with single and double quotes and backslashes. Here is what I haveI'm trying to run a JavaScript function in R. O