Skip to content

Commit

Permalink
update readme with rpy2
Browse files Browse the repository at this point in the history
  • Loading branch information
TyberiusPrime committed Sep 17, 2024
1 parent c9eb3e9 commit fedad48
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,13 @@ Just include this:
(Visit [nixR date overview](https://github.com/TyberiusPrime/nixR/blob/main/generated/readme.md) too see available dates.)


# Using rpy2

If you have R and python as a dependency, rpy2 is automatically added with the necessary overrides for it to use the correct R.

If you add it manually, the overrides are not automatically applied, and you need to add
at least `poetry2nix.env = {R_HOME = '${R_tracked}'}` to your rpy2 declaration.

# Using Rust
```toml
[rust] # rust section is optional
Expand Down

0 comments on commit fedad48

Please sign in to comment.