I cant seem to install Rpy2 for python. Initially I ran across the problem where it displayed the following error.

```
Tried to guess R's HOME but no R command in the PATH.

```

But then I followed instructions in the following thread: [trouble installing rpy2 on win7 (R 2.12, Python 2.5)](https://stackoverflow.com/questions/4924917/trouble-installing-rpy2-on-win7-r-2-12-python-2-5)

where by I placed and copied all the files in R\R-2.12.1\bin\i386 to the R\R-2.12.1\bin and then set my environment path to point to R\R-2.12.1. Now trying to install it from source again..

```
python setup.py run

```

I get the same error. If I set the path variable to R\R-2.12.1\bin\ then I get the following error as showed by the person who gave the second answer

```
ValueError: Invalid substring in string

```

That thread went out of ideas so I thought a year from now if there are new ways to work around this.

EDIT = once

Thanks in advance