当前位置:网站首页>[R] language environment configuration Anaconda + R4.1.3 + Pycharm
[R] language environment configuration Anaconda + R4.1.3 + Pycharm
2022-08-06 06:32:00 【little girl】
Motivation
I thought it would be easy to configure an R environment, but I still encountered some pitfalls in matching it up. I will record it here for the convenience of future people.
This tutorial is to configure Anaconda + R4.1.3 + Pycharm, because I used python a lot before, and later found that pycharm can also be used to write R, so I tossed it.
Steps
- Install anaconda:
By default, everyone has anaconda on their computer, so I won't go into details. For those who don't have it, I search on Baidu, and there are many tutorials. - anaconda installs version 4.1.3 of r-base:
This is a big hole, online tutorials let you directlyconda install r-base=4.0.3orcondainstall r-base=4.1.3.But you run this command directly conda can't find this package.conda only installs version 3.0 of R by default.
Solution:
Reference link: https://datascience.stackexchange.com/questions/77335/anconda-r-version-how-to-upgrade-to-4-0-and-laterconda create --name r4-baseconda activate r4-baseconda install -c conda-forge r-baseconda install -c conda-forge/label/gcc7 r-base - Pycharm install R Language for IntelliJ plugin

- Then select R of conda in Interpreter

version issues
- The Pycharm plugin should only support R versions 3.4-4.1.3, and the 3.3 version installed by default in anaconda will report an error directly.And the latest version 4.2 of the official website cannot open the console in pycharm... So please follow the steps above, so that the installed version is 4.1.3 and there will be no problems.

边栏推荐
猜你喜欢

KDD 2022 | 中科院计算所提出STABLE:一种无监督高鲁棒性图结构学习框架

(上)苹果有开源,但又怎样呢?

Talk预告 | 德国马普所修宇亮:如何多快好省地重建三维数字人

Difference between ordinary factory class and abstract factory class

AI直接剪视频?哥本哈根大学提出基于CLIP的文本视频目标编辑模型

geoserver 发布 矢量切片(pbf)并用openlayers 6.14 /leaflet 1.8 加载展示 (一)(小白必备:超详细教程)

十五、一起学习Lua 协同程序(coroutine)

在这个数字化的时代,如何做好用户体验与应用性能管理

The six states of a thread

工业相机镜头选型
随机推荐
动态规划之最大子数组和
卷积神经网络手写数字分类
ELK日志分析系统(二)之ELK搭建部署
新朋老友齐聚首,共话「图形学」未来 | 将门行动派特别直播企划,就在7月6日晚!
KDD 2022 | 中科院计算所提出STABLE:一种无监督高鲁棒性图结构学习框架
Convolutional Neural Network Notes 2
PointNeXt: 通过改进的训练以及模型缩放策略重新探究PointNet++
Qt智能指针
IO流文件复制
Deep Learning Gesture Classification Based on Myoelectric Signals (sEMG)-2
Talk预告 | 德国马普所修宇亮:如何多快好省地重建三维数字人
动态规划之不同路径
统计字符串中英文字母、空格、数字和其它字符的个数.读取文件中的学生信息,计算出考试的平均分。创建一个Student类的数组,封装5个学生的信息,按指定条件查找学生.计算当前时间距明年春节还有多长时间。
C#和DL-EPI通信
Thread Basics
LVS introduces keepalived automatic switching mechanism
Summary of mysql server parameter settings
【Matlab小问题】matlab启动时出现Warning: Name is nonexistent or not a directory
旷视提出PETRv2:统一的多摄像头3D感知框架
Responsive layout