Pandas like features
data pulverizer
data.pulverizer at gmail.com
Thu Nov 5 22:46:21 UTC 2020
On Thursday, 5 November 2020 at 22:17:12 UTC, data pulverizer
wrote:
> On Thursday, 5 November 2020 at 22:02:25 UTC, bachmeier wrote:
>> R has externalptr, but to my knowledge, that's only for
>> transporting around C objects. I don't know of any way to call
>> R API functions with data not allocated by R.
>
> Yes but you make C calls in R on the pointed object. Given the
> choice that's how I would write any application in R. The only
> purpose R would serve is as an interface to the underlying
> dlls. I have many years of writing code in R and from my
> experience, apart from minor instances I would try to avoid
> writing production libraries or code in it.
p.s. I'm not saying that data shouldn't be accessible or returned
in R, I'm just saying that externalptr is there for other pointed
objects that R might need to interface with. I hope that's clear
- avoiding writing production code in R is just my professional
advice.
More information about the Digitalmars-d
mailing list