9 int main(
int argc,
char *argv[]) {
16 std::string cmd =
"tmpf <- tempfile('curve'); " 18 "curve(x^2, -10, 10, 200); " 24 std::cout <<
"Could now use plot in " << tmpfile << std::endl;
25 unlink(tmpfile.c_str());
28 cmd =
"x11(); curve(x^2, -10, 10, 200); Sys.sleep(30);";
void parseEvalQ(const std::string &line)
int main(int argc, char *argv[])
int parseEval(const std::string &line, SEXP &ans)