[rkward-cvs] [rkward] rkward/rbackend: Add an example on when R_ParseVector does not return

Thomas Friedrichsmeier thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Dec 4 20:25:27 UTC 2014

Git commit e43d0cdae25aa290d8c0b86cf3068430a8f1249b by Thomas Friedrichsmeier.
Committed on 04/12/2014 at 18:07.
Pushed by tfry into branch 'master'.

Add an example on when R_ParseVector does not return

M  +1    -0    rkward/rbackend/rkrbackend.cpp


diff --git a/rkward/rbackend/rkrbackend.cpp b/rkward/rbackend/rkrbackend.cpp
index 7e74b6a..2656a04 100644
--- a/rkward/rbackend/rkrbackend.cpp
+++ b/rkward/rbackend/rkrbackend.cpp
@@ -1140,6 +1140,7 @@ SEXP parseCommand (const QString &command_qstring, RKRBackend::RKWardRError *err
 	SET_STRING_ELT(wrap.cv, 0, Rf_mkChar(command));
 	// Yes, if there is an error in the parse, R does jump back to toplevel!
+	// trying to parse list(""=1) is an example in R 3.1.1
 	R_ToplevelExec (safeParseVector, &wrap);
 	SEXP pr = wrap.pr;

More information about the rkward-tracker mailing list