lgautier / Rif.jl

Julia-to-R interface
GNU General Public License v2.0
54 stars 25 forks source link

RArray shallow copy constructor? #31

Open randy3k opened 10 years ago

randy3k commented 10 years ago

Currently, It seems that v_r = RArray{Float64, 1}(v) deep copy the content of v to v_r. For the sake of speed and memory storage, there should be methods to construct v_r which points to the same memory of v.

lgautier commented 10 years ago

It has been on my rpy2 for quite a long time but:

I am not saying that it will not happen, just that I am unsure about when it will (pull requests helping with it would be reviewed attentively though)

randy3k commented 10 years ago

perhaps, it is limited by the memory management of R.