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
1answer
17 views

How to install R statistics system and r-cran-tidyverse in Ubuntu 20.04?

I am trying to set up a new Ubuntu 20.04 server (to replace an older 18.04 server) which needs to have the R statistics system and, in particular, the r-cran-tidyverse package installed. I am using ...
0
votes
0answers
15 views

E: The repository 'https://cloud.r-project.org/bin/linux/ubuntu disco-cran35/ Release' no longer has a Release file [duplicate]

On my Ubuntu 18.04, I had tried installing R. When I run sudo apt update, I get this error:- shekhar@shekhar-desktop:~$ sudo apt update [sudo] password for shekhar: Hit:1 http://dl.google.com/linux/...
1
vote
1answer
24 views

Sometimes commands do not terminate after upgrading to R 4.0 and Ubuntu 20.04

I have upgraded R (from 3.6 to 4.0) and RStudio (from 1.1 to 1.2.5) a few days ago, and Ubuntu from 18.04 to 20.04 yesterday. Since then, R sometimes never terminates when executing certain commands: ...
0
votes
1answer
104 views

Problem installing R 4.0 on Ubuntu 18.04

R released an upgrade to version 4.0 about two weeks ago. I am trying to update R on my ubuntu 18.04 work station (sudo apt install r-base), but I am told that "r-base is already the newest version (...
0
votes
1answer
43 views

Installing R version 3.6.3 in Ubuntu 18.04 - “make” problem

I have already uninstalled the old R version and i'm trying to reinstall (My OS is Ubuntu 18.04). I am using these commands: cd Downloads tar -zxvf R-3.6.3.tar.gz cd R-3.6.3 ./configure --enable-R-...
-1
votes
1answer
42 views

(gedit:27981): WARNING / R upgrade [duplicate]

I'm working on a Ubuntu 18.04.2 LTS. I wanted to upgrade R but I constantly get stuck. I've entered sudo gedit /etc/apt/sources.list Where I add deb https://cloud.r-project.org/bin/linux/...
2
votes
0answers
77 views

Attempt to install R 4.0 caused many prolbems

I tried to install R on Ubuntu 18, which was not successful. sudo add-apt-repository 'deb cloud.r-project.org/bin/linux/ubuntu bionic-cran40/'; sudo apt update sudo apt install r-base After this ...
0
votes
0answers
25 views

QGIS installation on Ubuntu 18.04 fails after updating R sf package to version 0.9-3

I get the following error when trying to install QGIS on Ubuntu 18.04 and after updating R sf package to version 0.9-3: The following packages have unmet dependencies: qgis : Depends: gdal-abi-2-2-3 ...
2
votes
1answer
95 views

Cannot use the solve() function in GNU R with Ubuntu 20.04

Yesterday I updated my Kubuntu 19.10 machine to 20.04 and I am happy with the upgrade so far. But I have spotted a critical issue with my GNU R installation after the update, and ask for your help. ...
2
votes
2answers
84 views

Cannot upgrade R

My system: Ubuntu 18.04.4 Rscript --version R scripting front-end version 3.4.4 (2018-03-15) My problem: Unsuccessful in upgrading R. Steps: sudo apt-get remove r-base r-base-dev sudo add-apt-...
0
votes
1answer
122 views

Unable to locate package libicu60

I'm trying to install the R programming language on Ubuntu. I've followed these instructions but there appears to be missing dependency that I cannot install. https://docs.rstudio.com/resources/...
0
votes
0answers
10 views

Ubuntu 19.10 doesn't respond: How can I know if an 'R - package' installation is responsable? And what to do later?

Recently, I tried to install the RforProteomics package opening R from the terminal and following the instructions in the Bioconductor project page: if (!requireNamespace("BiocManager", quietly = ...
0
votes
3answers
314 views

Do I have to add the public key for the repository for installing R?

I follow https://cloud.r-project.org/bin/linux/ubuntu/README.html to install R $ echo "deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/" | sudo tee -a /etc/apt/sources.list $ sudo apt-...
1
vote
1answer
241 views

Installing ggplot2 for R 3.6 on Ubuntu 18.04

I have R 3.6 installed from the r-project.org repository, as instructed in this post from R Bloggers. Now I would like to install the ggplot2 package, but am not succeeding. Usually I prefer to ...
0
votes
1answer
100 views

Error: Opening the cache (E:type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/r-cran.list [duplicate]

I'm trying to install R. I tried the instructions from the best answer on a previous post, without success. I'm using ubuntu 16.04.6 LTS 64-bit. I tried the method but my terminal window seemed to do ...
0
votes
1answer
143 views

Switch between different versions of a Program (R)

I have installed R couple years ago and yesterday I compiled a recent version from source. I now have version 3.4.4 installed, and it's launched with R. Accordingly, I have these command returning ...
0
votes
0answers
32 views

Install R Cran package to local library location using apt

How can I install to a custom library location using apt to install an R package? I'm trying to install dplyr on a 1gb ram machine, and the usual install.packages("dplyr",lib="/home/mycustomlib") ...
0
votes
0answers
33 views

Problem with R package install

I am using Ubuntu 19.10 and want to install R package. I try with instruction with the command: sudo apt install r-base-core and I get error with: Reading package lists... Done Building ...
1
vote
1answer
61 views

Upgrade R package on ec2 instance

The version of R is 3.4 and want to upgrade it to 3.6. Then I have followed the these steps: sudo /bin/bash and I just went to root. Then remove the r-base core: # apt-get remove r-base-core ...
0
votes
0answers
28 views

How do I use newly installed R version instead of old one?

I am trying to install R version 3.6.2 on Ubuntu. Before now, I had been using version 3.4.3 on Linux without any problems. Initially when I tried to install with sudo apt-get install r-base, I ...
0
votes
1answer
55 views

Not installable libreadline6 (>= 6.0) while instaling R 3.6.2 on Ubuntu 18.14 LTS

I use 18.04.4 LTS (Bionic Beaver) When I try to install R-base-core: sudo apt install r-base-core I see: The following packages have unmet dependencies: r-base-core : Depends: libreadline6 (>=...
3
votes
1answer
33 views

Installing R error

I've installed R in ubuntu 16.04.6 following this tutorial It seems Its correctly installed in /usr/lib/R/bin/R but It does not open when I just type R
0
votes
0answers
171 views

Installing R-packages in R-Studio(Ubuntu 18.04)

I'm a week into Ubuntu 18.04, and just installed R and R Studio. Following the guide here; https://cran.r-project.org/bin/linux/ubuntu/README.html I tried to install the needed packages, and these ...
0
votes
0answers
54 views

Can't install R package 32-bits in Ubuntu 18.04 64-bits

OS: Ubuntu 18.04 64 bits R: 3.5.3 (2019-03-11) -- "Great Truth" - i686-pc-linux-gnu (32-bit) I want to connect R to Firebird database. To accomplish this, I'm using unixODBC, Firebird super-server, ...
0
votes
0answers
23 views

Problems with graphic display of R studio

I'm new to Ubuntu (18.04.3 LTS) and installed R and R studio yesterday. While R works fine, R-Studio is not usable because the grapic display is inadequate ( see Screenshot of my desktop R Studio). It ...
2
votes
1answer
264 views

How to install R Cran Ecdat Package?

I tried to install R Cran's Ecdat package by the link https://cran.r-project.org/web/packages/Ecdat/index.html but it gives error. Even if I try with a odl version. Tried through the R Studio ...
1
vote
1answer
70 views

Install latest version of R with all the packages on Ubuntu 16.04

I am using Ubuntu 16.04. I want to install R (latest version) on it. As the system version is older, it can't find this version from terminal line. I checked it with this command on the terminal line. ...
1
vote
1answer
1k views

Trying to install R 3.6.1, but having issue in ubuntu

I am having installing latest update of R in ubuntu (18.04). I looked at so many previous suggestions, but yet not able to resolve the issue. I am still trying, any help or suggestion will be great. ...
0
votes
0answers
71 views

Install RKWard from Ubuntu repos: “The following packages have unmet dependencies.”

I'm trying to install RKward from the Ubuntu repositories, under Ubuntu 18.04.3 LTS. Unfortunately I'm getting: The following packages have unmet dependencies., as I'm missing r-api-3.4 which ...
0
votes
1answer
97 views

How to exit interpreter I need to start from the shell?

I'm using R with kdb+/q. In order to access our data in kdb, there needs to be a running q process in the background on some port. What we usually do is run the command q -p 5000 & to initialize a ...
0
votes
0answers
22 views

Installing r-base: Some packages could not be installed [duplicate]

The following packages have unmet dependencies: r-base : Depends: r-recommended (= 3.6.1-3bionic) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
0
votes
0answers
25 views

Allow R to write directory

I wanted to update R packages via R session and got the error 'lib = "/usr/lib/R/library"' is not writable So I have the options of choosing a new directory for the packages or to make the directory ...
2
votes
2answers
1k views

Unable to install latest R version on Ubuntu 18.04 linux

I want to be able to install the latest stable R release for Ubuntu 18.04, I had the ubuntu version installed and so I removed it and then followed several guides like in this link. No matter what I ...
0
votes
0answers
134 views

Failed to install R in Ubuntu

R --version /usr/local/bin/R: line 248: /usr/local/lib/R/etc/ldpaths: No such file or directory /usr/local/bin/R: line 271: /usr/local/lib/R/bin/exec/R: No such file or directory Before it, I have ...
1
vote
0answers
27 views

Terminal Error : lmer() model- Error in valid(.Object)

I am trying to run a lmer() model on R (terminal supercomputer) the job is kind of big so I cannot run it time efficiently on my personal RStudio. I am running an test model: lmer(Yr_IT_RATE ~ Entry + ...
0
votes
0answers
52 views

How to call R when multiple versions are installed?

I have installed R-3.4.2 and R-3.6.1 on the same machines per instructions given here. How do I open an R session? I mostly use R on terminal and not the Rstudio GUI.
0
votes
0answers
93 views

Installing R on a VM Ubuntu Xenial v16.04

I have tried every conceivable way of installing R on this server and it will not work all I get is the below error. I realize this has been posted a few times but none of the approved answers work ...
0
votes
1answer
444 views

Trouble installing R and R studio in Elementary OS 5.0 Juno [closed]

I am attempting to install R and R Studio on Elementary OS 5.0 Juno. and after a few install methods, and attempting to remove previous packages and start with a fresh install, I am still getting the ...
0
votes
1answer
358 views

Permission denied while installing R package “ps”

I am running Ubuntu 18.04 on Windows 10 WSL. I originally installed R 3.6 following this guide: R-CRAN-Linux-Ubuntu-Installation. This question is related to: Permission denied while installing R ...
0
votes
2answers
2k views

libreadline.so.6 issue in ubuntu 18.04

I upgraded from Ubuntu 16.04 to Ubuntu 18.04 and cannot get R to run on it. I get the following error: /usr/local/lib/R/bin/exec/R: error while loading shared libraries: libreadline.so.6: cannot ...
6
votes
1answer
1k views

Problem installing rJava with R 3.6 on ubuntu 18.04

I'm trying to install the rJava package in R 3.6.1 on Ubuntu 18.04. I've searched for similar questions but the answers provided don't seem to have worked for me. Initially I tried sudo apt install r-...
0
votes
0answers
854 views

Force R to read folders outside of conda environment to install packages

I am using R in RStudio outside of a conda environment (I have miniconda3 installed to operate QIIME2). However, when I try installing R packages, I am always getting errors as R is always looking in ...
0
votes
1answer
341 views

Problem installing R package with lblas and lapack dependencies

I am trying to install the HMSC R package into RStudio Version 1.2.1335 and R version 3.6.1 (2019-07-05) -- "Action of the Toes" on a Linux Ubuntu 18.04.2 LTS System The code to install through R ...
2
votes
2answers
3k views

Permission denied while installing R package

I've installed R (version 3.6.0) on my ubuntu 18.04 which I run on the windows subsystem WSL. Now I'm having a problem to install some specific packages. For example xml2. When I run the command ...
3
votes
2answers
3k views

I am unable to install latest version of R

I am trying to install the latest version of R into Ubuntu 16.04. But somehow it installs 3.4.4 even though latest version of R is 3.6.1. I have also read some articles that state "To obtain the ...
1
vote
1answer
457 views

pdflatex not found while installing “R” software on Ubuntu 19.04

I am trying to install R software on Ubuntu 19.04, by compiling the installer on my system. Several libraries are missing, but I managed to install them all, apart from one called 'pdflatex'. ...
0
votes
0answers
121 views

Rstudio aborted when i try to run keras

I have ubuntu 18.04 and when i try to run the follow code in Rstudio: model1 <- keras_model_sequential() i received this error message: Error: Keras loaded from tensorflow v1.4, however version ...
0
votes
0answers
265 views

How do I install the tidyverse R package in Ubuntu 19.04?

When I attempt to install the tidyverse R package in Ubuntu 19.04 the package does not install correctly. This can be resolved by opening terminal, {ctl}+{alt}+t, and submitting the following three ...
1
vote
2answers
2k views

Package r-base-core is not configured yet in Ubuntu 18.04.2

I used sudo dpkg --configure -a but it shows like below. dpkg: dependency problems prevent configuration of r-cran-class: r-cran-class depends on r-base-core (>= 3.5.0-1); however: Package r-...
0
votes
0answers
76 views

How can I reinstall the latest version of R package on Ubuntu virtualbox after I remove the old one? [duplicate]

I tried to remove the old R version after I installed, then I reinstall it but I cannot because it shows me the following things. I want to install R 3.6 in Ubuntu but I cannot even R 3.5 as it always ...

1
2 3 4 5 6