Questions tagged as ['r']
Let´s assume that I programmatically download a malicious file, e.g. using
wget, and try to import in e.g. R or Python as a text file. If it fails, I delete it using
rm. There is any chance that my Linux system gets infected?
I was following this instruction for installing R 4.0 in Ubuntu 18.04
$ sudo apt remove r-base $ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 $ sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/' $ sudo apt update $ sudo apt install r-base
However I get this error message:
Reading package lists... Done ...
I've been trying to install R 4.1 on ubuntu and each time I get the same error
The following packages have unmet dependencies: r-base : Depends: r-base-core (>= 4.1.2-1.2004.0) but 3.6.3-2 is to be installed Depends: r-recommended (= 4.1.2-1.2004.0) but it is not going to be installed Recommends: r-base-html but it is not going to be installed r-base-dev : Depends: r-base-c ...
I'm using Ubuntu 20.04.3 LTS. I'm using R version 3.6.3. Some packages is not in there. Therefore I need R version 4. or higher than 4.
I tried those things:
sudo -H gedit /etc/apt/sources.list
then I added this line:
deb http://cran.rstudio.com/bin/linux/ubuntu focal/ then
sudo apt-get update and
sudo apt-get install r-base
but it doesnt work.
Somebody help me?
I have just recently switched from Mac OS to Ubuntu and I am missing a specific feature (not Mac OS related) that I couldn't find anywhere.
I want to use Sublime Text 3 as a general code editor and use Ctrl+Enter to send code to terminal depending on the code used (e.g. if bash shell, send it to shell, if R, send it to R, etc.).
I have been trying the same route I used on Mac OS (with the packages R ...
I trying to update R on my Ubuntu 20.04 (new updated from 16.04).
So I delete the previous version of R by :
sudo apt-get purge r-base* r-recommended r-cran-* sudo apt autoremove
After, I update my /etc/apt/sources.list by adding the good repository
deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/
And the correct key :
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key ...
I have made a similar question but it was closed here: Difficulties on trying to (re)install R
As I work in WSL I believe my situation is a bit specific. After uninstalling R and going through some tutorials as the one suggested to me (in the closed question above) I am still not able to reinstall R in WSL.
Right now I'm stuck in this part of a tutorial described here How do I restore the default reposit ...
I am trying to (re)install R in my ubuntu WSL. I already had done with
sudo apt install r-base-core But, then, later I tried to change to R 4.0 with some compressed version. Eventually, the old R 3 version was uninstalled from my system and the R 4 was running.
Basically, I wanna work with DESeq2 and install some libraries like apeglm.
As I was having some issues I deleted/removed all the folders with ...
I have fully updated Ubuntu 16.04.7 LTS amd64 which was configured for RMarkdown/bookdown, LaTeX publishing using the following commands:
sudo apt-get install apt-transport-https cat <<EOF | sudo tee /etc/apt/sources.list.d/r-cran.list deb https://cloud.r-project.org/bin/linux/ubuntu xenial/ EOF sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E08 ...
I want to use Rstudio on cloud server, and I successfully download R and Rstudio on ubuntu 18.04, but can't open it. I think it is because of the wrong environment variable. And I don't know what to do next.
mengfei@iZ2zeh7tqthaheqrfl87z2Z:/root$ R R version 4.1.1 (2021-08-10) -- "Kick Things" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) R is ...
I am currently trying install Anacondas RStudio version. Already I have R installed from the official CRAN repositories through apt package manager and the newest version of RStudio. My current version of R is installed in
/usr/lib/R and the path variable set in
/usr/bin/R. When running Anaconda Navigator's RStudio installer, it attempts to install a separate version of R in
/opt/anaconda3/lib/R. The ...
Is the latest version of rstan (2.26.2) available yet on Ubuntu 20.04 LT? If not yet, is there an estimate of when it will be available?
I'm using a remote server where I'm not supposed to request more than 24 of the 100 cores.
I'm running a couple of R scripts which seem to be using too many...
How can I tell, in htop, how many cores an individual user (myself) is using? I can see the 'load average', which is for all users, and I can add up the MEM% for my processes.
Is there some R command I could use to limit the number of cores? The ...
Please what could be a reason for this error? I am trying to install the R package ComplexHeatmap but I keep getting the error message that the the dependency Cairo is not available. I have tried to install Cairo using the command
sudo apt-get install libcairo2-dev but I still get the same error. Running the command
sudo dpkg-query -l | grep libcairo2-dev also shows that the Cairo package is fully ...
Please are there any hints on why I am not able to install any R packages? I recently installed the Ubuntu 20.04 LTS OS as well as R and R studio. I am however not able to install any packages in R. I have gone through a seemingly related post such as Cannot install any R packages on Ubuntu 18.04 but the solutions appear not to help in my case. For instance, while trying to install the ggplot2 package, I ...
I am new to Ubuntu but I have a good coding backgroud. I tried to update my Ubuntu 18 machine to the latest, Ubuntu 20.04. I followed a tutorial I found online. But I think the update was not succesful because I got stuck and had to power off and start back my computer. On running the command lsb_release -a, I got an output on the terminal indicating that the system is now updated.But I think thi ...
I am trying to upgrade R 4.0.5 to R 4.1 with an update instruction by Johannes Ranke on cloud-R and I did as follows;
sudo nano /etc/apt/sources.list
deb http://cloud.r-project.org/bin/linux/debian buster-cran40/
and commented out;
http://us-east-2.ec2.archive.ubuntu.com/ubuntu/ focal main restricted
sudo apt update Hit:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu focal-updates I ...
I wanted to install R with Rstudio to start learning, but I found many problems in the way, I'll explain as much as i can below.
So I went to the CRAN Project website https://cran.r-project.org/ and followed their instructions to install R on my laptop.
# update indices apt update -qq # install two helper packages we need apt install --no-install-recommends software-properties-common dirmngr # imp ...
i have a fresh & clean install of Ubuntu Server 20.04 64bit running on my new raspberry pi 4.
The first thing i did was creating a new user with sudo privileges. This was followed by
sudo update and
After that i tried to install R 4.1.0 (latest available R Version). I followed the guide on this page but i´m getting an error on step 3:
The following packages have unmet dependencies ...