Questions tagged [r]

R is a free, open-source programming language and software environment for statistical computing, bioinformatics, and graphics.

Filter by
Sorted by
Tagged with
1 vote
1 answer
69 views

Unable to find R in ubuntu while r-base is correctly installed

After upgrading to Ubuntu 22.04.2 LTS , I decided to update my version of R to 4.3. After encountering several difficulties, I completely removed R (including removing all system files related to R, ...
Joan's user avatar
  • 13
0 votes
0 answers
405 views

How to re-install R 4.2.0

I have been running R version 4.2.0 on Ubuntu 20.04.4 LTS. Recently R was updated to 4.3.0 on my system, but for my current work I need to return to version 4.2.0. I uninstalled R using the ...
Byron R's user avatar
0 votes
0 answers
60 views

Unable to install Rstudio after reinstalling R

Rstudio showed me a newer version, so I downloaded and installed it, but it refused to start afterwards, I removed and reinstalled R and Rstudio, the error persists. This is the error it gives me: ## ...
Saïd Maanan's user avatar
0 votes
0 answers
382 views

Trying to run R gave me "Fatal error: cannot create 'R_TempDir' "

I checked partition for /tmp and it seems to be full. >> df /tmp Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 23854928 23579092 0 100% / Checking all the ...
Max's user avatar
  • 19
1 vote
0 answers
52 views

Installing torch: undefined symbol for liblantern.so

I try to install the R-Version of pytorch CPU, to avoid using reticulate as a workaround. I simply used install.packages("torch") which successfully finished. When using library(torch) after ...
Ai4l2s's user avatar
  • 119
1 vote
0 answers
33 views

Install R failed in Ubuntu 20.04.5 LTS [duplicate]

Please can someone provide assistance with this issue sudo apt install r-base-core Reading package lists... Done Building dependency tree Reading state information... Done ...
dju_V's user avatar
  • 11
0 votes
2 answers
678 views

Installing R on Ubuntu

I'm trying to install R on my Ubuntu 22.10, by following this article However, when installing the repository, and then updating, I receive the message. E: The repository 'https://cloud.r-project.org/...
Matteo Triossi's user avatar
1 vote
1 answer
681 views

Installing packages of R in UBUNTU

i have an R script that looks like this: install.packages("R.utils") library("R.utils") install.packages("vcfR") library("vcfR") install.packages("stringr&...
Eliza Romanski's user avatar
1 vote
1 answer
1k views

Trying to install rpy2 results in "ERROR: Command errored out with exit status 1"

I'm trying to install rpy2 in Ubuntu for Windows with the command pip install rpy2, which yields the following error message: ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -...
Ziv's user avatar
  • 11
0 votes
0 answers
256 views

Can't install R 4.0.0 version on Linux ( always R 4.2.1 installed )

I have a Ubuntu 22.04 system. I used advice from here to install version of R 4.0.0 but I always get 4.2.1 the newest one. Problem installing R 4.0 on Ubuntu 18.04 One thing I changed is "bionic&...
Anton's user avatar
  • 1
0 votes
1 answer
54 views

R console issue under Ubuntu 22.04

I recently upgraded to Ubuntu 22.04. The R console seems not to be working correctly after my upgrade. The problem is that when I paste several lines of code into the R console, only a few lines of ...
Mali's user avatar
  • 1
3 votes
1 answer
627 views

Upgrading R from 4.1.2 to 4.2.1 under Ubuntu aarch64/arm64 22.04 LTS have unmet dependencies

I am using aarch64 Ubuntu 22.04.1 LTS (jammy), and the default R for the system is R version 4.1.2 (2021-11-01) -- "Bird Hippie". I tried to upgrade R to the latest version of 4.2.1 by ...
Jim Zou's user avatar
  • 31
0 votes
1 answer
55 views

problem installing R after updating to ubuntu 22:04

I spent whole day without success.I can't get to work. Here is the problem sudo apt install r-base-core Reading package lists... Done Building dependency tree... Done Reading state information... Done ...
Bala's user avatar
  • 1
0 votes
1 answer
322 views

Trying to install RStudio on a Ubuntu 22.04 Raspberry Pi 4 2GB memory

I am trying to install RStudio to complete some basic non-CPU intensive tasks. I download the .deb file and run the following: matt@matt-Rpi-2GB:~/Downloads$ sudo gdebi rstudio-2022.07.1-554-amd64.deb ...
user113156's user avatar
0 votes
2 answers
1k views

Installing base R version 4.0.5 on ubuntu

I currently have R 4.2.1, but I am trying to install 4.0.5 4.2.1 can be removed, but I can't seem to specify R 4.0.5 when installing. Any input is appreciated. This is what I attempted so far: ...
jack kelly's user avatar
0 votes
1 answer
598 views

How to overcome 'fatal error: png.h' when installing the 'distill' package in Rstudio - Ubuntu 22.04

After successfully installing R and Rstudio on my computer. I installed the 'distill' package as follows in Rstudio: > install.packages("distill"). After several minutes it ended with the ...
Camilo Febres's user avatar
0 votes
1 answer
2k views

Installing R on Ubuntu 22.04

I have just updated my device to Ubuntu 22.04 and I wanted to install R following this readme: https://cran.r-project.org/bin/linux/ubuntu/fullREADME.html This worked fine, however, now I get an error ...
Max's user avatar
  • 117
0 votes
1 answer
192 views

R not working after installing Citrix Receiver on Ubuntu 22.04

My R installation is no longer working after installing Citrix Receiver on Ubuntu 22.04. The Citrix installation comes from here After installing Citrix, I can type R into my terminal, but nothing ...
Brigadeiro's user avatar
1 vote
1 answer
589 views

R not running on Ubuntu 22.04

I installed R 4.2.1 on by new Ubuntu 22.04 installation (using ZFS filesystem). The installation worked without error, and I can confirm that R is indeed installed with R --version which outputs the ...
Brigadeiro's user avatar
1 vote
0 answers
994 views

Upgrading R from 4.2.0 to 4.2.1 on 18.04.6 LTS via recommended PPA states that 4.2.0 is latest

I am trying to update R from 4.2.0 to 4.2.1 (r-project.org) according to the recommendations for installing on ubuntu. I have already added the ppa in the past, and used it to install r-base-dev on ...
FM Kerckhof's user avatar
0 votes
0 answers
443 views

Error installing rgdal library in R :

I am struggling with terra installation. To be complete, I tried every hints I have found in google, but nothing change this error message. I need rgdal as 'terra' dependency if I understand well, but ...
Colin Lolos's user avatar
0 votes
0 answers
49 views

can not dump code in terminal anymore

I do not use an IDE when I program (eg in R or python) but just use a text editor and copy code and then dump it in a terminal (guake - but I have the same issue with the stock terminal). This used to ...
bjvca's user avatar
  • 193
1 vote
0 answers
1k views

R installation on Ubuntu, how to fix this error message?

I'm quite new to Unix systems and I just can't understand why I'm having this problem during the installation of R on Ubuntu 20.04 focal fossa. I have installed R using the following procedure: ...
Marco's user avatar
  • 11
1 vote
0 answers
211 views

Can't install RStudio Server on Ubuntu 20.04.4 LTS

I am using Ubuntu 20.04.4 LTS :~$lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.4 LTS Release: 20.04 Codename: focal I tried to download the ...
ixodid's user avatar
  • 113
-1 votes
1 answer
1k views

Compile gcc 7.4 failed for ubuntu-22.04

I tried to compile gcc 7.4 for my ubuntu-22.04 so that I could use the glmnet for my R package. I tried everything from the internet and it did not work. The error I have is : #Error1 ...
CuteMeowMeow's user avatar
2 votes
4 answers
4k views

How to solve library dependancy for Rstudio in Ubuntu 22.04

I have just installed ubuntu 22.04. I could install R with sudo apt -y install r-base gdebi-core: $ R R version 4.1.2 (2021-11-01) -- "Bird Hippie" Copyright (C) 2021 The R Foundation for ...
Gigiux's user avatar
  • 707
0 votes
0 answers
784 views

Following R error happened : caught bus error, address 0x7f..., cause non-existent physical address

Test environment : uname -r 5.4.0-107-generic lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic I run the R ...
YoungMin Park's user avatar
3 votes
1 answer
719 views

Overcoming "undefined symbol: _gfortran_runtime_error_at" during R package, "glmnet" installation in WSL2 Focal

I've been trying to install a R package, glmnet and having a installation issue. Here is an error output after I fired install.packages("glmnet") ; /usr/bin/clang++ -std=gnu++14 -shared -L/...
akh22's user avatar
  • 191
0 votes
0 answers
148 views

Tiny R plot window

Producing R plots in a new Dell XPS-13-9310 running Ubuntu 20.04 opens tiny windows. Here is a screenshot of the phenomenon: Resizing the window will not increase the size of axis labels ...
emagar's user avatar
  • 191
1 vote
0 answers
104 views

R processes stuck in memory from last Jupyter in VS Code session

I have noticed that I often will have multiple R processes still running, and occupying a significant amount of RAM, even if I closed all applications that I use for R. For the most part I use VS Code ...
Pål Bjartan's user avatar
1 vote
1 answer
244 views

How to install R studio on xfce remote desktop?

I am currently handling my remote server through RDP with an Xfce desktop interface. It has an ubuntu 18.04 version. I want to use it for implementing R and I am quite familiar with R-Studio. Can I ...
Sachin's user avatar
  • 155
0 votes
2 answers
567 views

Can a virus be installed just by downloading a file?

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 ...
user3091668's user avatar
4 votes
3 answers
3k views

How to install R 4.0 on Ubuntu 18.04 when 'r-base' has no installation candidate

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 $...
littleworth's user avatar
0 votes
3 answers
4k views

Problems installing latest version of R in ubuntu 20.04 LTS

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 ...
Apoorva Babu's user avatar
4 votes
1 answer
9k views

how can I update R to version 4 on ubuntu

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 ...
Seda Koldas's user avatar
0 votes
0 answers
586 views

Using Sublime Text to send code to terminal

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 ...
Thomas Guillerme's user avatar
0 votes
1 answer
792 views

Can't Install R 4.X on Ubuntu 20.04 [duplicate]

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 ...
LittleYoelii's user avatar
0 votes
0 answers
1k views

Restoring the default repositories in WSL and reinstalling R

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 ...
lavoisier_hosea's user avatar
4 votes
0 answers
106 views

Difficulties on trying to (re)install R [duplicate]

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 ...
lavoisier_hosea's user avatar
1 vote
1 answer
323 views

Is it possible to prevent R package conflicts while upgrading Ubuntu 16.04 LTS with R from CRAN to Ubuntu 18.04 LTS?

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 | ...
N0rbert's user avatar
  • 97.4k
2 votes
1 answer
458 views

Successfully download R and Rstudio on ubuntu 18.04, but can't open it,enven on web(8787)

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 ...
Wang Mengfei's user avatar
1 vote
1 answer
2k views

Error when installing RStudio in Anaconda: `/opt/anaconda3/lib/R/bin/exec/R: error while loading shared libraries: libreadline.so.6:

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 ...
Pål Bjartan's user avatar
0 votes
0 answers
91 views

Is the latest version of rstan 2.26.2 avaiable for Ubuntu 20.04 LT? [duplicate]

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?
Larry Hunsicker's user avatar
0 votes
2 answers
398 views

How to manage number of cores used on my institution's server

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 ...
Michael Smith's user avatar
2 votes
1 answer
3k views

dependency ‘Cairo’ is not available for package ‘ComplexHeatmap’ on Ubuntu 20.04 LTS

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 ...
Charles's user avatar
  • 141
1 vote
1 answer
1k views

Cannot install any R packages after installing Ubuntu 20.04

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 ...
Charles's user avatar
  • 141
0 votes
0 answers
69 views

How can I repeat a potentially failed update of Ubuntu 18?

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 ...
Charles's user avatar
  • 141
1 vote
1 answer
409 views

Issue upgrading R 4.05 to 4.1 in Focal 20.04 on AWS EC2

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 and added; deb http://cloud.r-project.org/bin/...
akh22's user avatar
  • 191
2 votes
2 answers
1k views

Installing R and RStudio in Lubuntu 20.04

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 ...
nico_so's user avatar
  • 73
3 votes
1 answer
5k views

Can´t install R 4.1 on Ubuntu Server 20.04 (Raspberry Pi)

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 ...
Hry's user avatar
  • 33

1
2 3 4 5
8