-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I'm fairly new to GCAM and rgcam. I'm running into issues with the addScenario function.
When I run addScenario, I get the following error:
prj <- addScenario(conn, 'output.dat','scenario name', 'Main_queries.xml')
Stopped at C:/Users/jared/AppData/Local/Temp/RtmpExFhvg/file25841c5061dc, 1/88:
[XPST0003] Expecting function argument, found ','.
Error in regmatches(query, m)[[1]] : subscript out of bounds
I have tried using the Main_queries.xml from my GCAM output folder. I have also created an XML with a single query using XML Marker. Neither of these worked, and both returned the same error.
Oddly enough, If I don't define the query, the function works.
How can I get the function to work using my desired queries? Any advice would be greatly appreciated.