OCI Data science environment primarily supports python. Below steps would create a conda environment with R in OCI data science environment
Steps:
- Log into OCI data science notebook
- Upload Renv.yaml file to /home/datascience
- Open a terminal
- Run
odsc conda create -n Rname -f Renv.yaml --empty
- This command will create a conda environment with Rnamev1_0 - Run
conda activate /home/datascience/conda/Rnamev1_0
- Activates the above environment - Run
ipython kernel install --user --name=Rnamev1_0
-- Installs R kernel in jupyter notebook - Open jupyter notebook and select Rnamev1_0 and R kernel should be available