tweag / HaskellR

The full power of R in Haskell.
https://tweag.github.io/HaskellR
Other
584 stars 47 forks source link

Foreign.R: use foreign ccall unsafe where possible #385

Closed mboes closed 1 year ago

mboes commented 1 year ago

Don't use foreign ccall unsafe for functions that allocate, because allocating could take some time, in particular if R needs to run the garbage collector first.

Closes #380