Laurent, > The R HTML help is running a server in the background. > Making R to process events requires calls to rinterface.process_revents() > (there is more about that in the rpy2 documentation, and will be even more > for 2.1beta)
Yes, although it appears as though it is not serving up anything? I've tried calling rinterface.process_revents(), but there doesn't seem to be any changes. Looking at my browser, I get: URL /doc/html/index.html was not found This is the URL that is automatically added when the browser is opened: http://127.0.0.1:16146/doc/html/index.html I've tried running 'netstat -lptu', and the output from this includes (among other things): Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost:11320 *:* LISTEN 2793/python Whereas if I call help.start() from R, the 'netstat -Iptu output includes (among other things): Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 localhost:11425 *:* LISTEN 3326/R Regards, Carson >> I am attempting to retrieve the R html help via help.start() using >> rpy2 but I am not getting the behaviour I would except. >>> >>> From R: >>> help.start() >> >> starting httpd help server ... done >> If 'xdg-open' is already running, it is *not* restarted, and you must >> switch to its window. >> Otherwise, be patient ... >> >>> From Rpy2: >>>>> >>>>> import rpy2.robjects as robs >>>>> robs.r('help.start()') >> >> starting httpd help server ... done >> If 'xdg-open' is already running, it is *not* restarted, and you must >> switch to its window. >> Otherwise, be patient ... >> <RObject - Python:0x31e13f8 / R:0x2997ef8> >> >> but the port in this case appears to be wrong? Because the html is >> never displayed/generated? >> >> At first I thought it might have something to do with having multiple >> instances of R open or something, but I can have two separate >> (regular) R sessions open at once, both generating their own html help >> files. I had thought that I'd seen something about this before, but I >> can't find anything in the list archives... any thoughts? >> >> Vital stats: Kubuntu 9.10 >> Python 2.6.4 >> R 2.10.1 >> Rpy2 2.1.0alpha2 >> >> Carson >> > > -- Carson J. Q. Farmer ISSP Doctoral Fellow National Centre for Geocomputation National University of Ireland, Maynooth, http://www.carsonfarmer.com/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list