Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,19 @@ Try installing something:

`rhumba::install("xtensor")`

You might need to setup your `root_prefix` if you're running `R` and `rhumba` from a conda installation:
`rhumba::set_config("root_prefix", "/path/to/prefix")`
#### Seting the root_prefix

It's already set if you're used `micromamba` to create your environment!
You might need to setup your `root_prefix`. You can do it inside your R environment using the following method:

`rhumba::set_config("root_prefix", "root_path")`.

The `root_prefix` is the place where your package manager and all it generates is stored. The place where the directories `envs` and `libs` live, for example. Here are some examples on where to find it:

* If you've installed rhumba using [minirhumba](https://github.com/mamba-org/minirhumba) and have set `minirhumba` as your default software using the default options, then your `root_prefix` will be `/home/user_name/minirhumba` on Linux.

* If you're using `conda`, or `miniconda` and used the default installation paths it would show up in `/home/user_name/conda`, `/home/user_name/miniconda`, respectively.

* It's already set if you've used `micromamba` to create your environment!

## Installation from source

Expand Down