0

I have installed Anaconda 3 for Mac M1 and I am trying to create a new environment for R. However, everytime I try to do this, I am faced with the below error:

Conda Prompt Error Message

I am faced with this error irrespective of whether I try to do this in anaconda navigator or conda prompt. I have already tried removing Anaconda completely and reinstalling it again but to no avail. Is there anything I can do here?

Update: As requested, here is an additional screenshot: Mamba install r-eesentials

Mamba install r-essentials output

Siddharth
  • 1
  • 2
  • Please don’t post screenshots of text and shell outputs. Also, please indicate what is already in the environment - solving install requests is context-sensitive. – merv Oct 13 '22 at 15:47

1 Answers1

0

[Disclosure: I am a volunteer on the Conda Forge R team.]

Conda users who want to use R should prioritize Conda Forge. The Anaconda company has not actively maintained R packages since v3.6.

If installing Conda for the first time, I recommend Miniforge variants (specifically, Mambaforge), rather than the Anaconda distributions (which prioritize defaults/anaconda channel).

Also note that osx-arm64 support for R through Conda is currently sparse. We are actively working on migrating, but for simplicity of workflow, I still recommend Conda users to install a osx-64 version of Conda and use that platform when installing R. You can always create native osx-arm64 environments when you actually need them (e.g., native TensorFlow with Metal support).

merv
  • 67,214
  • 13
  • 180
  • 245
  • I have installed Mambaforge as suggested by you. I created a new environment using mambaforge. I then installed r-base 4.2.1 with mamba install and conda-forge However, I am facing the below error while installing r-essentials with mamba and conda-forge: Encountered problems while solving: - nothing provides r-base >=3.5.1,<3.5.2.0a0 needed by r-essentials-3.5.1-r351_2000. – Siddharth Oct 10 '22 at 23:57
  • Please add a section to the original question to show what you did. It would help to see the output of `mamba list` for the environment - the message indicated is not enough info with which to diagnose. – merv Oct 11 '22 at 08:35
  • As requested, I have added additional screenshots. Please note them in my original question. – Siddharth Oct 11 '22 at 14:44