Run R

Start R commands inside the rpx project environment.

Start R through rpx run from the project root.

rpx run R

Run scripts the same way.

rpx run Rscript scripts/check.R

This step is required. If you start R directly, it will not use the rpx project library.

Use this pattern for local shells, scripts, checks, and CI commands that need project dependencies.