Skip to content Skip to sidebar Skip to footer

Rpy2 Works In Console, But Cannot Be Imported By Website ( With Error "r_ismethodsdispatchon")

I developed a web tool using CGI, python and apache. The CGI file was written by python, and it calls R functions through rpy2. The web tool works well on my personal computer. The

Solution 1:

Usually this means a mix up of R versions between build time and run time.

Make sure the same R is in the PATH (web servers can ohave a restricted PATH by default).

Post a Comment for "Rpy2 Works In Console, But Cannot Be Imported By Website ( With Error "r_ismethodsdispatchon")"