r-lib / callr

Call R from R
https://callr.r-lib.org/
Other
299 stars 38 forks source link

Run init function of client lib #250

Closed lionel- closed 1 year ago

lionel- commented 1 year ago

The client library needs to be named client.so or client.dll because R finds the R_init_client function from the file name.

This PR moves the metadata encoded in the name to the directory structure, e.g. /tmp/RtmpUipw23/callr-client--7fc6a31.so becomes /tmp/RtmpMeE1ZE/callr//7fc6a31/client.so.

gaborcsardi commented 1 year ago

Thanks!