|
|
|
|
|
by vnpc1
2338 days ago
|
|
Here's what I'm not getting: Most the tasks that require heavy computation in R are done through C/C++/Fortran APIs - why can't D interface with them without the intermediate R layer? The ones that are R-native - visualisation/dataframes - are best done through R itself - what's the use case for doing that through D at all? |
|
In short, the intermediate layers often give you well thought out features.
In some cases, you might not even have a corresponding library in your language. For ex, if you wanted to use interaction terms in your linear model, that respects hierarchies, there aren't many options around, but R has glinternet [2].
[1] https://stats.stackexchange.com/questions/50310/how-does-rpa...
[2] https://cran.r-project.org/web/packages/glinternet/index.htm...