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