conversations
list | source
string | stack
string |
---|---|---|
[
{
"from": "system",
"value": "Fix typo in code. Didn't effect execution, just threw an error.\n"
},
{
"from": "human",
"value": "/* Run the batch file to do work in R first */\r\noptions noxwait;\r\nx \"myR\";\r\n\r\n/* Set options for RTF output */\r\nods rtf file = \"test.rtf\" nogtitle nogfoot\r\n\t/* Titles and footnotes */\r\n\ttitle = 'R graphic image';\r\nods escapechar='~';\r\n/* Import the image and output into the RTF */\r\nods text='~S={width=100% preimage=\"w:\\\\Iris.png\"}';\r\nods rtf close;\r\n\r\n/* ----------------------- */\r\n/* Set options for PDF output */\r\nods pdf file = \"test.pdf\" nogtitle nogfoot\r\n\t/* Titles and footnotes */\r\n\ttitle = 'R graphic image';\r\nods escapechar='~';\r\n/* Import the image and output into the RTF */\r\nods text='~S={width=100% preimage=\"w:\\\\iris.png\"}';\r\nods pdf close;\";\r\n\r\n"
},
{
"from": "gpt",
"value": "/* Run the batch file to do work in R first */\r\noptions noxwait;\r\nx \"myR\";\r\n\r\n/* -------------------------- */\r\n/* Set options for RTF output */\r\nods rtf file = \"test.rtf\" nogtitle nogfoot\r\n\t/* Titles and footnotes */\r\n\ttitle = 'R graphic image';\r\nods escapechar='~';\r\n/* Import the image and output into the RTF */\r\nods text='~S={width=100% preimage=\"w:\\\\iris.png\"}';\r\nods rtf close;\r\n\r\n/* -------------------------- */\r\n/* Set options for PDF output */\r\nods pdf file = \"test.pdf\" nogtitle nogfoot\r\n\t/* Titles and footnotes */\r\n\ttitle = 'R graphic image';\r\nods escapechar='~';\r\n/* Import the image and output into the RTF */\r\nods text='~S={width=100% preimage=\"w:\\\\iris.png\"}';\r\nods pdf close;\r\n\r\n"
}
] | sas | chosen |
README.md exists but content is empty.
- Downloads last month
- 38