blob: 39574d8d82d419cda56ca61326d4cce852a83b27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- rpy_tools.py 2006-07-11 17:07:05.000000000 +0200
+++ rpy_tools.py 2007-09-04 11:06:14.000000000 +0200
@@ -98,7 +98,7 @@
raise RuntimeError("Couldn't execute the R interpreter" +
" `%s'.\n" % rexec )
# edd 05 Apr 2006 version = re.search("R +([0-9]\.[0-9]\.[0-9])", output)
- version = re.search(" +([0-9]\.[0-9]\.[0-9])", output)
+ version = re.search(" version ([0-9]\.[0-9]\.[0-9])", output)
if not version:
raise RuntimeError("Couldn't obtain version number from output\n"
"of `R --version'.\n")
|