--- 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")