|
1 | 1 | # R Interface
|
2 | 2 |
|
3 |
| -Interoperation between Julia and R is very solid and simple to use. |
| 3 | +[**RJuliaBUGS**](https://mateusmaiads.github.io/rjuliabugs/) lets you run BUGS models from R using Julia's fast sampling algorithms. |
4 | 4 |
|
5 |
| -Here are some very useful packages: |
| 5 | +Created by [Mateus Maia](https://github.com/MateusMaiaDS) as part of Google Summer of Code 2025. |
6 | 6 |
|
7 |
| -- [`RCall.jl`](https://github.com/JuliaInterop/RCall.jl): interaction with R runtime. |
8 |
| -- [`RData.jl`](https://github.com/JuliaData/RData.jl): reading and writing R data files. |
9 |
| -- [`DataFrames.jl`](https://github.com/JuliaData/DataFrames.jl): `pandas` and `dplyr` for Julia. |
10 |
| -- [`CSV.jl`](https://github.com/JuliaData/CSV.jl): CSV file reading and writing. |
11 |
| -- [`JSON.jl`](https://github.com/JuliaIO/JSON.jl), [`JSON3.jl`](https://github.com/quinnj/JSON3.jl), [`Serde.jl`](https://github.com/bhftbootcamp/Serde.jl): JSON file reading and writing. |
| 7 | +## What is RJuliaBUGS? |
| 8 | + |
| 9 | +RJuliaBUGS connects R to JuliaBUGS. You write models in BUGS syntax and run them from R, but they execute using Julia's modern samplers like Hamiltonian Monte Carlo (HMC). |
| 10 | + |
| 11 | +**Key benefits:** |
| 12 | +- Keep your existing BUGS models |
| 13 | +- Run models faster with Julia's algorithms |
| 14 | +- Stay in R for all analysis |
| 15 | +- Works with `bayesplot`, `posterior`, `coda`, and other R packages |
| 16 | + |
| 17 | +## Related Julia Packages |
| 18 | + |
| 19 | +For R users working with Julia: |
| 20 | + |
| 21 | +- [`RCall.jl`](https://github.com/JuliaInterop/RCall.jl) - Run R from Julia |
| 22 | +- [`RData.jl`](https://github.com/JuliaData/RData.jl) - Read/write R data files |
| 23 | +- [`DataFrames.jl`](https://github.com/JuliaData/DataFrames.jl) - Data manipulation (like `dplyr`) |
| 24 | +- [`CSV.jl`](https://github.com/JuliaData/CSV.jl) - Work with CSV files |
| 25 | +- [`JSON.jl`](https://github.com/JuliaIO/JSON.jl), [`JSON3.jl`](https://github.com/quinnj/JSON3.jl) - Work with JSON data |
0 commit comments