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 my applications, which make use of importr() quite a lot, I notice
that there is a significant (but unscientifically observed) delay when using
importr(). If the code is already using it somewhere else in the same module,
then it would not matter, however (at least IMO).

--
Luca Beltrame, Ph.D. - Translational Genomics Unit
Oncology Department, Mario Negri Institute

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to