blob: af192267361d0f18365cbeedbb48e72c9848f033 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- rpy_tools.py 2006-07-28 13:12:02.000000000 +0100
+++ rpy_tools.py 2006-07-28 13:11:35.000000000 +0100
@@ -97,7 +97,7 @@
if stat or len(output)<=0:
raise RuntimeError("Couldn't execute the R interpreter" +
" `%s'.\n" % rexec )
- version = re.search("R +([0-9]\.[0-9]\.[0-9])", output)
+ version = re.search("R 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")
|