tweag / HaskellR

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

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

Closed mboes closed 2 years ago

mboes commented 2 years 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