Hi,
I have a problem using a modified R function. In R I get it as function_mod
= package:::function and fix(function_mod) and use it normally, however
when I want to use it in Python RPy (I use Eclipse), it doesn't see it.
That is somehow expected because Python RPy imports the R packages itself
In data lunedì 28 novembre 2011 14:51:29, Laurent Gautier ha scritto:
> > then it would not matter, however (at least IMO).
> Unless you have reason, you should avoid repeatedly calling "importr()"
I'll try to use the KISS approach you proposed for the matrix conversion (I
assume that similarly,
On 2011-11-28 14:36, Luca Beltrame wrote:
In data lunedì 28 novembre 2011 14:31:57, Laurent Gautier ha scritto:
def as_dataframe(m):
assert(isinstance(m, Matrix))
# since we did test that this is a Matrix
# we may as well skip R's dispatch system
res = base.as_data_frame
In data lunedì 28 novembre 2011 14:31:57, Laurent Gautier ha scritto:
> def as_dataframe(m):
> assert(isinstance(m, Matrix))
> # since we did test that this is a Matrix
> # we may as well skip R's dispatch system
> res = base.as_data_frame_matrix(m)
> return res
At least
On 2011-11-28 14:07, Luca Beltrame wrote:
In data sabato 26 novembre 2011 06:53:48, Laurent Gautier ha scritto:
Currently, the constructor to DataFrame accepts a "tlist" ("tagged
list") as a main parameter. The idea was to be relying on duck-typing,
Currently in fact I've been hitting some wal
In data sabato 26 novembre 2011 06:53:48, Laurent Gautier ha scritto:
> Currently, the constructor to DataFrame accepts a "tlist" ("tagged
> list") as a main parameter. The idea was to be relying on duck-typing,
Currently in fact I've been hitting some walls regarding that. I assume that
the low