[rkward-cvs] rkward/rkward/rbackend rembed.cpp,1.15,1.16 rinterface.cpp,1.19,1.20
Thomas Friedrichsmeier
tfry at users.sourceforge.net
Thu Apr 28 20:05:12 UTC 2005
- Previous message: [rkward-cvs] rkward/debian README.Debian,NONE,1.1 postinst,NONE,1.1 postrm,NONE,1.1 changelog,1.1,1.2 control,1.1,1.2 files,1.1,1.2 rules,1.1,1.2 rkward.substvars,1.1,NONE
- Next message: [rkward-cvs] rkward/rkward/rbackend/rpackages/rkward/R public.R,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/rkward/rkward/rkward/rbackend
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19121
Modified Files:
rembed.cpp rinterface.cpp
Log Message:
Using functions to get temporary filenames and output filename. Not prone to deletion of variables
Index: rinterface.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rbackend/rinterface.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** rinterface.cpp 21 Apr 2005 22:10:57 -0000 1.19
--- rinterface.cpp 28 Apr 2005 20:05:09 -0000 1.20
***************
*** 222,225 ****
--- 222,229 ----
issueCommand (".rk.rkreply <- \"Too few arguments in call to get.tempfile.name.\"", RCommand::App | RCommand::Sync, "", 0, 0, request->in_chain);
}
+ } else if (call == "get.output.html.file") {
+ QDir dir (RKSettingsModuleLogfiles::filesPath ());
+ // TODO: make more generic, get filename sanely
+ issueCommand (".rk.rkreply <- \"" + dir.filePath ("rk_out.html") + "\"", RCommand::App | RCommand::Sync, "", 0, 0, request->in_chain);
} else if (call == "sync") {
RObject *obj = 0;
Index: rembed.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rbackend/rembed.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** rembed.cpp 15 Apr 2005 17:24:57 -0000 1.15
--- rembed.cpp 28 Apr 2005 20:05:09 -0000 1.16
***************
*** 84,91 ****
if (error) status |= SinkFail;
- runCommandInternal (".rk.output.file <- \"" +RKSettingsModuleLogfiles::filesPath() + "/rk_out.html\"", &error);
- runCommandInternal (".HTML.file <- \"" +RKSettingsModuleLogfiles::filesPath() + "/rk_out.html\"", &error);
- runCommandInternal (".rk.output.path <- \"" +RKSettingsModuleLogfiles::filesPath() + "\"", &error);
-
outfile_offset = 0;
errfile_offset = 0;
--- 84,87 ----
- Previous message: [rkward-cvs] rkward/debian README.Debian,NONE,1.1 postinst,NONE,1.1 postrm,NONE,1.1 changelog,1.1,1.2 control,1.1,1.2 files,1.1,1.2 rules,1.1,1.2 rkward.substvars,1.1,NONE
- Next message: [rkward-cvs] rkward/rkward/rbackend/rpackages/rkward/R public.R,1.10,1.11
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the rkward-tracker
mailing list