noxma forum

Would you like to react to this message? Create an account in a few clicks or log in to continue.
noxma forum

noxma forum description


    Install R studio

    avatar
    Admin
    Admin


    จำนวนข้อความ : 33
    Join date : 09/12/2017

    Install R studio Empty Install R studio

    ตั้งหัวข้อ by Admin Mon Dec 11, 2017 3:56 pm

    For the latest R packages, add the R repository and key

    echo "deb http://cran.stat.ucla.edu/bin/linux/ubuntu `lsb_release -sc`/" | sudo tee --append /etc/apt/sources.list.d/cran.list
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9
    sudo apt update
    sudo apt install r-base


    Prepare to Install R Studio

    R Studio requires the JPEG runtime library, so install it.

       sudo apt install libjpeg62


    Ubuntu 16.10 to 17.04 (64 bit)


    wget --tries=3 --timeout=120 http://ftp.ca.debian.org/debian/pool/main/g/gstreamer0.10/libgstreamer0.10-0_0.10.36-1.5_amd64.deb
    wget --tries=3 --timeout=120 http://ftp.ca.debian.org/debian/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb
    sudo dpkg -i libgstreamer0.10-0_0.10.36-1.5_amd64.deb
    sudo dpkg -i libgstreamer-plugins-base0.10-0_0.10.36-2_amd64.deb
    sudo apt-mark hold libgstreamer-plugins-base0.10-0
    sudo apt-mark hold libgstreamer0.10
    avatar
    Admin
    Admin


    จำนวนข้อความ : 33
    Join date : 09/12/2017

    Install R studio Empty Install R studio

    ตั้งหัวข้อ by Admin Mon Dec 11, 2017 4:01 pm

    Install R Studio

    Download the binary version of R Studio and install.

    Be sure to use the latest version in the wget command. You can get the URL for the latest release by right-clicking on the Ubuntu Debian installer near the bottom of the R Studio Download page.

    (Desktop)

    Ubuntu 16.04 to 17.10 and higher (64 Bit only)
    wget --tries=3 --timeout=120 https://download1.rstudio.org/rstudio-xenial-1.1.383-amd64.deb
    sudo dpkg -i rstudio-*-amd64.deb

    (Server)

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

    Optional

    Prior to Ubuntu 17.10, if you want to show R or R Studio in the "Education" category in the Unity Dash, instead of the "Development" category, do the following, respectively.

    sudo sed -i "s|Graphics;|Education;|g" /usr/share/applications/R.desktop
    sudo sed -i "s|Development;|Education;Math;|g" /usr/share/applications/rstudio.desktop
    avatar
    Admin
    Admin


    จำนวนข้อความ : 33
    Join date : 09/12/2017

    Install R studio Empty Remove rstudio

    ตั้งหัวข้อ by Admin Mon Dec 11, 2017 4:18 pm

    sudo apt-get remove rstudio
    avatar
    Admin
    Admin


    จำนวนข้อความ : 33
    Join date : 09/12/2017

    Install R studio Empty Rserver

    ตั้งหัวข้อ by Admin Mon Dec 11, 2017 4:26 pm

    groupadd: group 'rstudio-server' already exists
    rsession: no process found
    Created symlink /etc/systemd/system/multi-user.target.wants/rstudio-server.service → /etc/systemd/system/rstudio-server.service.
    ● rstudio-server.service - RStudio Server
    Loaded: loaded (/etc/systemd/system/rstudio-server.service; enabled; vendor preset: enabled)
    Active: active (running) since Mon 2017-12-11 16:25:24 +07; 1s ago
    Process: 14832 ExecStart=/usr/lib/rstudio-server/bin/rserver (code=exited, status=0/SUCCESS)
    Main PID: 14840 (rserver)
    Tasks: 3 (limit: 4915)
    Memory: 13.7M
    CPU: 635ms
    CGroup: /system.slice/rstudio-server.service
    └─14840 /usr/lib/rstudio-server/bin/rserver

    Dec 11 16:25:24 modvm-varatchai-4t systemd[1]: Starting RStudio Server...
    Dec 11 16:25:24 modvm-varatchai-4t systemd[1]: Started RStudio Server.

      Similar topics

      -

      เวลาขณะนี้ Sun May 12, 2024 7:36 am