標籤:python
為了在Python下調用R,需要安裝rpy2包。
正常以pip install rpy2和easy_install rpy2均報錯。
最後在網站http://www.lfd.uci.edu/~gohlke/pythonlibs/下載適合自己系統的.whl檔案
650) this.width=650;" src="https://s5.51cto.com/wyfs02/M01/8D/9A/wKioL1ijyEzD8-IJAADfs8FnVJg008.png-wh_500x0-wm_3-wmp_4-s_2001192819.png" style="float:none;" title="00.png" alt="wKioL1ijyEzD8-IJAADfs8FnVJg008.png-wh_50" />
安裝rpy2
pip install rpy2-2.7.8-cp34-none-win32.whl
650) this.width=650;" src="https://s3.51cto.com/wyfs02/M02/8D/9A/wKioL1ijyEySOgB3AAAxSxn-Gd8039.png-wh_500x0-wm_3-wmp_4-s_2341190544.png" style="float:none;" title="01.png" alt="wKioL1ijyEySOgB3AAAxSxn-Gd8039.png-wh_50" />
安裝成功!
650) this.width=650;" src="https://s1.51cto.com/wyfs02/M00/8D/9A/wKioL1ijyQ7TeNyaAACGm4S3u44092.png-wh_500x0-wm_3-wmp_4-s_3626458835.png" title="02.png" alt="wKioL1ijyQ7TeNyaAACGm4S3u44092.png-wh_50" />
windows下安裝rpy2