Hi.
I installed tidyverse in conda environment,but it could not be library.Then I tried to install pheatmap package in conda environment and successfully loaded it into RStudio.I don't know what happened and how to deal with it. I want to run R in conda environment in RStudio. Here is my running record.
You can find information on the source of this here. Fixing it may be as simple as installing the iconv system library. Or you may already have it but it cannot be found properly due to the conda environment.
I really like conda. But only for Python. I can't recall hearing anyone here saying how pleased they are with using conda for R. It's a highly personal choice, but you should think about the benefits it provides compared to dealing with the problems it's been known to cause.
Thank you very much for your warm help.
I tried the repair methods you provided, but didn't work. I uninstalled tidyverse installed in conda environment, and then use install.packges('tidyverse') to install it in R. According to the error, I installed zlib-devel, libxml2-devel, libcurl-devel, openssl-devel, and then reinstalled tidyverse in conda when all the errors were package ‘XX’ is not available for this version of R. At this time, RStudio can work normally.