|
|
This page is meant to supplement the [How-to-install](https://git.noc.ac.uk/brecinosrivas/icoads-r-hostace/-/wikis/How-to-install) page.
|
|
|
|
|
|
**Activating conda R environment**
|
|
|
---
|
|
|
|
|
|
On some Linux systems Conda does not run or activate environments properly, this is due to environment paths not being properly set. The following has been found to work on JASMIN
|
|
|
|
... | ... | @@ -12,10 +13,8 @@ conda activate <your_env> |
|
|
|
|
|
where *\<your_env\>* is the name of the environment you wish to activate.
|
|
|
|
|
|
|
|
|
|
|
|
**Installing R packages not on Conda forge or available through the *conda install* command**
|
|
|
|
|
|
**Installing R packages not on conda-forge or available through the *conda install* command**
|
|
|
---
|
|
|
Many, but not all, R packages can be installed via conda forge, e.g.
|
|
|
|
|
|
```
|
... | ... | @@ -38,8 +37,8 @@ R CMD INSTALL ggplot2_3.3.1.tar.gz |
|
|
When installing a package via this method it is likely that the first attempt will fail due to missing dependencies. If this happens install those dependencies and then try again.
|
|
|
|
|
|
|
|
|
|
|
|
**Running new_merge_ids_year.R interactively**
|
|
|
---
|
|
|
|
|
|
The script *new_merge_ids_year.R* is typically run in batch mode, e.g.
|
|
|
|
... | ... | |