In data venerdì 14 ottobre 2011 04:07:36, William T. Martin ha scritto:
> How do I access/capture the month headers?
What kind of object is it? if it's a named vector, or similar (list, etc.),
you can use the "names" attribute to get a vector of the names.
--
Luca Beltrame, Ph.D. - Translational
How do I access the formatted month headers in an aggregated time series?
z1 is a zooreg time series that I want to aggregate by month:
ma = r.aggregate(z1, r['as.yearmon'], r.mean, **{'na.rm': True})
When I print the result vector, I get month/year information along with
the mean values:
>>>
I fixed the problem I was having importing R libraries while running
running rpy2 on an Apache server under mod_wsgi (Bottle).
Instead of
r.library("zoo")
I need to use
zoo=importr('zoo')
Bill
On 10/13/2011 1:00 PM, William T. Martin wrote:
> Has anyone successfully run rpy2 on an
Has anyone successfully run rpy2 on an Apache server using mod_wsgi?
I am using the rpy2 v.2.3.0 under Ubuntu. The base robjects work fine,
but the rpy2 program hangs up on the first r.library() statement.
Thank you
--