I doubt that the code was ever working with rpy2.
phyper() is not in globalenv.

Depending on what is in your globalenv, globalenv.get("phyper") might 
return what you want.

There is more about packages in the doc for 2.2.0dev
http://rpy.sourceforge.net/rpy2/doc-2.2/html/rinterface.html?highlight=wherefrom#r-packages-as-environments



L.

On 03/02/11 02:18, B.A.D.C.M.D Santos wrote:
> Hello everyone,
>
> I had to re install my OS from scratch and after reinstalling python and
> rpy2 my old code was't working. I was still using code from 2.0.*. The
> problem is that know even after reading the documentation I can't get it to
> work.
>
> Here is what I have:
> import rpy2.rinterface as rinterface
> #Initialize the R interface
> rinterface.initr()
> #phyper = rinterface.globalenv["phyper"]
>
> If running this from script I get an error saying phyper not found. If I
> chage to the globalenv I get the same problem. Where is phyper located
> then?
>
> Thank you very much in advance,
> Bruno Santos
>
> ------------------------------------------------------------------------------
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list


------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to