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)


L.



On 2/18/10 6:36 AM, Carson Farmer wrote:
> 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
>


------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to