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
0answers
24 views

Can't connect to PostgreSQL server via ODBC

At work, we have a PostgreSQL server running (Ubuntu) which I have to connect to from R. I have to do this via my own local VM (via Virtualbox; RStudio), a server VM (connected via a WSL terminal, R ...
0
votes
0answers
18 views

Change R versions on Ubuntu using R Studio

I've been using RStudio for a while on my Ubuntu 20.10. My problem is that I can't change to others R versions. I use the R 3.6.3 On windows is Very easy, just selecting the R version on the RStudio ...
1
vote
1answer
16 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: * ...
0
votes
0answers
17 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 ...
0
votes
0answers
52 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 ...
1
vote
1answer
50 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 ...
0
votes
0answers
29 views

Error messages in Kate when running R in terminal pane

I'm using Kubuntu (Ubuntu 20.04.2 LTS). When I run R (version 4.0.4) in the terminal pane of Kate (version 19.12.3) I get error messages: R version 4.0.4 (2021-02-15) -- "Lost Library Book" ...
1
vote
1answer
49 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 ...
1
vote
1answer
142 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 ...
1
vote
0answers
40 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 ...
1
vote
1answer
96 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") ... ...
2
votes
0answers
79 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 ...
2
votes
1answer
258 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-...
1
vote
2answers
743 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 ...
0
votes
1answer
194 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 ...
1
vote
0answers
32 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 ...
1
vote
1answer
113 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 ...
1
vote
0answers
40 views

A problem in installing R in Ubuntu 16.04 [duplicate]

I've been trying without success to upgrade R in my Ubuntu 16.04 from 3.4 to the latest version in order to install some packages. Following some solutions, I did a purge by removing all r-*. then ...
0
votes
0answers
94 views

Program won't run without sudo (issue with symlink and gdal?)

What does it mean if a program will only run if I initiate it in the terminal with sudo? For example, qgis gives /usr/bin/qgis.bin: error while loading shared libraries: libltidsdk.so: cannot open ...
1
vote
1answer
167 views

cant start R studio on ubuntu 18.04.3 LTS

i used this tutorial to install RStudio https://linuxhint.com/rstudio-for-ubuntu/ but when i started on this phase sudo gdebi -n rstudio-0.99.896-amd64.deb it's says Reading package lists... Done ...
-1
votes
1answer
71 views

could not download R Studio using ubuntu [duplicate]

I want to install R Studio based on this tutorial but I got stuck at part sudo gdebi –n rstudio-0.99.896-amd64.deb and it says gdebi error, file not found: –n I m using Ubuntu 18.04.3 LTS
0
votes
0answers
22 views

How to access R workspace within GNU screen

I ran an R script on a Linux Workstation using screen. First, I created a screen - screen and then ran my R script, myRscript.R. My R script did not including save.image(), though, the command that ...
0
votes
0answers
226 views

How to install rbase without uninstalling libcurl4

How to install rbase without uninstalling libcurl4 I have installed Hugin. When I install rbase, hugin and libcurl4 are uninstalled. When i install Hugin, rbase and libcurl3 are uninstall. What to do? ...
1
vote
1answer
217 views

Rmarkdown can't install Tinytex

I can't see to get this to work. I installed miktex using instructions at https://miktex.org/howto/install-miktex-unx. I installed with install.packages('tinytex') and then when I do tinytex::...
0
votes
1answer
175 views

Connection to firefox fails when applying runApp() from shiny in R

I'm doing the shiny tutorial like explained on https://shiny.rstudio.com/tutorial/written-tutorial/lesson1/ At a certain point I have to run the example app. The example app is stored in the folder /...
0
votes
0answers
63 views

Have installed libssl1.0.0 but still getting the error, “libssl.so.1.0.0: cannot open shared object file: No such file or directory”

I installed libssl [1] and it seems to be done correctly but I still get thie following error when trying to open a dependent program (RStudio). [1] E: Package 'libssl1.0.0' has no ...
0
votes
0answers
47 views

R installation errors on Ubuntu 18.04 [duplicate]

I was having an earlier R version (R3.6) on my Ubuntu 18.04LTS machine. I tried installing R v4.0, by removing the previous versions and PPA links in my source. list file. I had unsuccessful attempt ...
1
vote
0answers
120 views

Reinstalling packages on new version of R

I have recently updated the new version of R (4.02) each time I want to use a library a message like this appears "Error: package ‘rmarkdown’ was installed before R 4.0.0: please re-install it&...
0
votes
0answers
473 views

Trying to install R 4.0.1, but having an issue with Ubuntu

I tried to upgrade the last version of R in my ubuntu server, following other blogs I uninstall R from my server and I tried to install doing these steps: sudo apt-key adv --keyserver keyserver.ubuntu....
0
votes
0answers
13 views

Is there anyone who can figure out why popups in my map function are not coming up on the map on click in R? Using leaflet

I'm creating a map with leaflet with zip code and county polygons. I would like for the values for columns "GEOID10" and "percent" from data set df to popup when I click on their ...
0
votes
0answers
75 views

Python3 rpy2 importr Problems

Here is my code and setup; (Python3) import rpy2 print(rpy2.version) The system replies 3.3.3 print(ro.r("version")) The system replies with ... version.string R version 4.0.2 (2020-06-22) ...
1
vote
3answers
710 views

Cannot install any package in R at Ubuntu 18.04

I have installed R in my Ubuntu (18.04) system and when I try to install a package I receive the following message (for example when trying to install dplyr package): > install.packages('dplyr') ...
0
votes
0answers
44 views

Error installing latest version of base-r [duplicate]

I've set up an Ubuntu 20 server and am able to install an old version of the base-r package (v3.6). The server is running on an EC2. I'm able to reproduce steps 1 and 2 below: Unable to install latest ...
0
votes
1answer
427 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
16 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
51 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: ...
6
votes
2answers
9k 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
1k 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
92 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
255 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 ...
3
votes
1answer
120 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
600 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
3k 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/...
2
votes
4answers
6k 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-...
3
votes
1answer
2k 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
243 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
434 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
54 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") ...
1
vote
1answer
95 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
1answer
444 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 (>=...

1
2 3 4 5
7