I do not know what to say. web2py is just a python program. if you can import them from python you can import them from web2py.
try print sys.path and make sure pry2 is installed in a folder that is the path. I cannot now but I have used rpy in the past and I will try rpy2 as soon as I can. On Feb 21, 12:45 am, Dutch opera <dutchop...@gmail.com> wrote: > It looks like it.... > > I start web2py on my test machine using python web2py.py. Version is > 2.6. I dont have 2.5. > > On Feb 20, 10:52 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Are you sure you have only one python installed? > > > On Feb 20, 6:07 am, Dutch opera <dutchop...@gmail.com> wrote: > > > > On my local linux machine I can run R using rpy2 from python. > > > > When I take the same code and I use web2py I get this error.... > > > > ImportError: No module named rpy2.robjects > > > > I am trying to import the following into the default.py controller. > > > > import rpy2.robjects as ro > > > import rpy2.rlike.container as rlc > > > > So...running a script in Python works. Running in web2py does not > > > work. Why? > > > > Thanks -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.