For Python :
$ ipykernel install --user --name myenv --display-name "My environment"
> IRkernel::installspec()
For Python :
For R : As mentioned previously, nb_conda_kernels allows to automate this step.