zoukankan      html  css  js  c++  java
  • 在ubuntu上安装Rstudio笔记

    1.E: 无法定位软件包问题

    https://blog.csdn.net/beizhengren/article/details/77678603

    修改source.list文件,其中出现了deb url这样类似命令的内容

    2.deb是什么?

    https://ubuntuqa.com/article/1249.html

    它不是一个命令,而是在sources.list文件中用于指示Debian软件存储库。

    如果我在sources.list中有deb http://archive.ubuntu.com/ubuntu/ quantal main restricted,它说我有一个基于“http://archive.ubuntu.com/ubuntu/”的Debian存档,分发是”quantal”,组件是”main”和”restricted”。

    3.下载安装R

    https://docs.rstudio.com/resources/install-r/

    但是在运行

    curl -O https://cdn.rstudio.com/r/ubuntu-1804/pkgs/r-${R_VERSION}_1_amd64.deb
    sudo gdebi r-${R_VERSION}_1_amd64.deb

    出现了:软件包可能已被破坏,或者不允许您打开此文件。检查文件的权限。

    未找到合适的解决办法,本来是安装R=4.0版本的,现在就安装3.6.5吧,下载好deb文件后,仍旧报同样的错误。

    那么首先通过https://www.howtoing.com/how-to-install-r-on-ubuntu-18-04,

    sudo apt install r-base

    安装了4.0.3,默认最新版本的R

    4.安装Rstudio

    https://rstudio.com/products/rstudio/download-server/debian-ubuntu/

    sudo apt-get install gdebi-core
    wget https://download2.rstudio.org/server/bionic/amd64/rstudio-server-1.3.1093-amd64.deb
    sudo gdebi rstudio-server-1.3.1093-amd64.deb

    访问http:ip:8787就可以了!

  • 相关阅读:
    一种在【微服务体系】下的【参数配置神器】
    阅读源代码之“那是我的青春”
    我谈防御式编程
    博客开篇
    redis-sentinel-cluster-codis
    redis-复制
    redis-持久化
    redis-事件
    圆角矩形精度条
    小程序---canvas画图,生成分享图片,画图文字换行
  • 原文地址:https://www.cnblogs.com/BlueBlueSea/p/13924914.html
Copyright © 2011-2022 走看看