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
0 votes
0 answers
25 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 ...
user avatar
  • 103
-1 votes
1 answer
121 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 ...
user avatar
1 vote
4 answers
855 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 ...
user avatar
  • 381
0 votes
0 answers
16 views

FAILED to install circlize" when install " java -jar vdjtools-1.2.1.jar Rinstall"

Hello, I tried to install vdjtools https://github.com/mikessh/vdjtools in my ubuntu 18.04.5. My R version is 4.1.3. It said: "FAILED to install circlize". I only find "-fstack-protector-...
user avatar
  • 1
0 votes
0 answers
14 views

renew password? [duplicate]

I installed Ubuntu from a disc, several years ago. I did not establish a password at that time. Now I would like to use the program, and am asked for a password. I have tried to find a way to renew ...
user avatar
0 votes
0 answers
50 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 ...
user avatar
3 votes
1 answer
142 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/...
user avatar
  • 191
0 votes
0 answers
42 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 ...
user avatar
  • 191
1 vote
0 answers
40 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 ...
user avatar
1 vote
1 answer
68 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 ...
user avatar
0 votes
2 answers
113 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 ...
user avatar
3 votes
3 answers
568 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 $...
user avatar
  • 162
0 votes
1 answer
724 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
0 votes
0 answers
188 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 ...
user avatar
0 votes
1 answer
174 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 ...
user avatar
0 votes
0 answers
259 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 ...
user avatar
4 votes
0 answers
53 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 ...
user avatar
1 vote
1 answer
124 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 | ...
user avatar
  • 88.8k
2 votes
1 answer
210 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 ...
user avatar
1 vote
1 answer
1k 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 ...
user avatar
0 votes
0 answers
58 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?
user avatar
0 votes
2 answers
105 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
  • 141
1 vote
1 answer
721 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 ...
user avatar
  • 141
0 votes
0 answers
36 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 ...
user avatar
  • 141
1 vote
1 answer
318 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/...
user avatar
  • 191
2 votes
1 answer
693 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 ...
user avatar
  • 67
3 votes
1 answer
3k 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 ...
user avatar
  • 33
2 votes
1 answer
74 views

Pasted text in interactive R session using Gnome Terminal in 21.04 is always highlighted -

Yesterday I updated to Ubuntu 21.04. This is basically the same issue as this post. I solved the original issue (using this answer) of having the text highlighted when I paste something into the ...
user avatar
0 votes
0 answers
627 views

How to install older R version on Ubuntu 20.04

R was recently updated to the version 4.1, which meant that some of the crucial packages that I need do not work anymore. How can I install older version such as 4.0.5. I tried these instructions: How ...
user avatar
  • 1
0 votes
1 answer
1k views

Installing R 4.0.2 on Ubuntu 20.04

I'm trying to install R version 4.0.2 on Ubuntu 20.04 via: sudo apt-get install r-base=4.0.2 but I get Reading package lists... Done Building dependency tree Reading state information... Done E:...
user avatar
4 votes
1 answer
3k views

How to install specific R version in ubuntu

Good afternoon ! Under ubuntu , i'm trying to install a specific R version . so i downloaded the following .tar file : https://cran.r-project.org/src/base/R-3/R-3.5.0.tar.gz After that , i had ...
user avatar
  • 143
1 vote
2 answers
55 views

Installing specific version of R pgmm library fails

I am trying to install a specific version fo the pgmm library in R, and it fails: > library(fs) > old_lib <- path_home_r("R/x86_64-pc-linux-gnu-library/old-versions/") > library(...
user avatar
0 votes
0 answers
57 views

R update removes all R packages

I am running Ubuntu 20.04.2 (5.8.0-53-generic) and have R version 4.0.5 (2021-03-31) -- "Shake and Throw" installed. Today I updated the system with sudo apt update and sudo apt upgrade and ...
user avatar
1 vote
1 answer
371 views

Unable to complete pdftools installation Ubuntu 18.04 for R supporting readtext

I read the post How install poppler and was hopeful regarding my own difficulty, but no dice. I am running R under Anaconda on a Ubuntu 18.04 Precision laptop. I wanted to install readtext (R package) ...
user avatar
1 vote
1 answer
385 views

R 4.0 library problem lgfortran

I am trying to install some libraries in my machine with R (r version 4.0). I tried to run this command : install.packages("libcoin") But it failed, here a large part of the output: * ...
user avatar
  • 121
0 votes
0 answers
57 views

How to import R programming language into IntelliJ Idea?

I'm using Kubuntu 20.10. I have installed Intellij IDEA without any problems; but I can't install R into it. I can install other programming languages such as Kotlin, Java or Python; but not R. And I ...
user avatar
  • 483
2 votes
0 answers
2k views

How to change the R path?

I have some problems with using R and Rstdio along with my Jupyter notebook and r in my ubuntu 20.04. I first installed R and Rstudio. This version of R was the latest. (4.0.5). Then I installed ...
user avatar
1 vote
1 answer
208 views

Mxnet R package compilation

I am interested in using the mxnet library in R programming language. However there is absence of instructions regarding how to compile the R package in Ubuntu. The make rpkg command is not ...
user avatar
2 votes
1 answer
397 views

Cannot install R updates because they "requre installation of untrusted packages", can't update expired key either (Ubuntu 16.04 LTS)

I've had this problem for some time. First, I tried to update my software through Software Updater. I succeeded for all packages except the R (open source stat software) packages. I got the following ...
user avatar
1 vote
1 answer
1k views

libreadline.so.7 issue ubuntu 20.04

Updated Ubuntu and I reinstall R and now if I tried to run R on my terminal I am getting below error, I am getting what will be the issue /usr/local/lib/R/bin/exec/R: error while loading shared ...
user avatar
1 vote
0 answers
72 views

Error while connecting to RStudio Server

I am trying to install RStudio Server in my ubuntu server (16.04) and whenever i do so, I am seeing the following message: ***sudo gdebi rstudio-server-1.4.1103-amd64.deb*** Traceback (most ...
user avatar
1 vote
1 answer
352 views

R not finding anaconda installation

I am attempting to install an R package on my Ubuntu system and have encountered an error. (I do not receive this error when using a PC or Mac) $ R > install.packages("leiden") ... ...
user avatar
2 votes
0 answers
163 views

Problems with ggpairs()- function

I am running R 4.0.3 within RStudio on my laptop with Ubuntu 20.04. I tried to use the ggpairs() function out of the GGally library and some parts of the plot can't be displayed. The value of the ...
user avatar
2 votes
1 answer
427 views

Issue installing R4.0 in AWS Ubuntu focal aarch64

I am trying to install R4.0 package in the arm64 ubuntu server (focal) on th AWS. I followed the install instruction on this web site, https://rtask.thinkr.fr/installation-of-r-4-0-on-ubuntu-20-04-lts-...
user avatar
  • 191
3 votes
3 answers
3k views

Dependency problems installing libmagick++-dev on Ubuntu 18.04

I am trying to use install splashr, but running into some dependencies issues and nothing seems to work. I know it is more related to misconfiguration in OS than to issues in the package itself, but ...
user avatar
  • 143
0 votes
1 answer
339 views

Unable to install R 4.0 on Ubuntu 18.04

I followed this post here on Ask Ubuntu to install R 4.0, however in the last step sudo apt install r-base I get the following error : Reading package lists... Done Building dependency tree ...
user avatar
1 vote
0 answers
47 views

Unable to install R >3.6 version

I am trying to install R >3.6 version on my system, but every time it is giving this error: $ sudo apt-get install r-base Reading package lists... Done Building dependency tree Reading state ...
user avatar
1 vote
1 answer
320 views

How to stop app rstudio loading on localhost:8787

(Tag recommendations welcome, I do not know how to properly categorise or tag my issue) Ubuntu 18.04. I have a mystery. When I visit localhost:8787 I am taken to the rstudio login screen: I do not ...
user avatar
  • 205

1
2 3 4 5
7