blob: f536b90489795d6277063a6c7519e3fd2fe61e09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aa,v 1.4 2006/06/20 19:54:14 joerg Exp $
--- rpy_tools.py.orig 2006-06-20 19:22:37.000000000 +0000
+++ rpy_tools.py
@@ -93,7 +93,7 @@ def get_R_VERSION(RHOME=None, force_exec
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")
|