Yes, I would say that’s right, at least for one-off usages. I’d say the hierarchy is:
- Just use RCall to call R
- Write a package which depends on RCall to wrap the R library, exposing a Julia API
- Write a pure-Julia port of the R functionality
Sometimes 2 and 3 can go hand-in-hand, i.e. you could start with 2 and gradually replace some functionality with pure-Julia ports.