Sorry, I missed this post completely. @Svetlana_Ko, go to this post:
and download install.txt, change the name to install.html, and open it in your browser. There you will find step by step instructions for installing rstan on OS X depending on R version.