Skip to main content

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
68 votes
7 answers
112k views

How do I set up the simplest HTTP local server? [duplicate]

I use the R Studio IDE to do many things, one of which is to serve local websites utilizing the blogdown package which is a fork of hugo. I write the code in R Studio and preview the site utilizing ...
Display name's user avatar
  • 2,241
53 votes
2 answers
93k views

Cannot find curl-config in Ubuntu 13.04

I am installing package RCurl in R and getting an error checking for curl-config... no Cannot find curl-config ERROR: configuration failed for package ‘RCurl’ I have tried to install libcurl ...
Aashu's user avatar
  • 643
43 votes
5 answers
151k views

Installing latest version of R-base

I have been unsuccessfully trying to install the latest version (2.15.2) of r-base. Apparently, R package Rcpp would not install for R version 2.14.1 - the version that installs for me. I am not ...
Student's user avatar
  • 531
36 votes
2 answers
214k views

How to install a libc6 version >= 2.29?

When I type sudo apt-get install r-base-core I get the following error The following packages have unmet dependencies. r-base-core : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be ...
mercury0114's user avatar
25 votes
4 answers
24k views

R 3.5.0 for Ubuntu

R 3.5.0 installation packages for Ubuntu Xenial (16.04) do not yet exist on the ubuntu mirror sites. Is there an alternative method for updating R to 3.5.0 on ubuntu xenial? Alternatively, is there ...
Larry Hunsicker's user avatar
25 votes
5 answers
19k views

What is the preferred way to install R packages in Ubuntu?

I am installing in R in ubuntu, but I am a bit confused with the many options there are to install packages. The traditional way is to install them, inside R, by doing install.package(). Ubuntu ...
user565663's user avatar
24 votes
4 answers
66k views

How do I install/upgrade r-base to the latest version?

I am pretty new to Linux. I installed R-base in my Ubuntu 12.04 using the Software Center (which by default is r-2.14). I want to upgrade to/install R 3.02 or newer. How can I do that? Thank you.
jahirju30's user avatar
  • 241
20 votes
5 answers
4k views

What is a good setup for LaTeX and R?

I am not sure if this is the proper place for this question, so my apologies if it is not. I want to switch from Windows to Ubuntu, or at least have an additional operating system next to windows. I ...
Sacha Epskamp's user avatar
16 votes
5 answers
20k views

How to install rgdal on Ubuntu 12.10?

I'm strugling to install rgdal library on Ubuntu 12.10. Installation from within R results in error: Error: gdal-config not found The gdal-config script distributed with GDAL could not be found. ...
user avatar
16 votes
3 answers
99k views

Unmet dependencies when trying to install r-base

I have a problem with installation of apps from the terminal. These are examples of this problem: ratanak@ratanak-walker:~$ sudo apt-get install httrack Reading package lists... Done Building ...
Ratanak Ratanak  's user avatar
14 votes
1 answer
25k views

W: GPG error: The following signatures couldn't be verified because the public key is not available [duplicate]

On my Ubuntu 14.04, I followed http://mirror.its.dal.ca/cran/bin/linux/ubuntu/README to add the following to /etc/apt/sources.list deb http://stat.ethz.ch/CRAN/bin/linux/ubuntu trusty/ When I run ...
Tim's user avatar
  • 25.4k
13 votes
3 answers
19k views

Unable to install R packages in Ubuntu 18.04

Issue Unable to install a few R packages (statistical programming language) since updating from 16.04 to Ubuntu 18.04. The problem is related to the use of the shared library libcurl. More precisely: /...
avila's user avatar
  • 563
11 votes
4 answers
14k views

X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 2 at size 11 could not be loaded

I am on Ubuntu 13.10, with R version 3.1.0 beta (2014-03-28 r65330) -- "Spring Dance" (64 bit). It is a new install and when trying to plot I am getting above error message Error in title(...
Cookie's user avatar
  • 927
10 votes
1 answer
11k views

How to get GDAL >= 2.0.0 on Ubuntu 16.04 LTS?

I have some software programmed in R using sf package, which require GDAL version >= 2.0.0. But Ubuntu Xenial 16.04 LTS has only 1.11.3+dfsg-3build2. How can I get GDAL version >= 2.0.0 on 16.04 LTS?...
N0rbert's user avatar
  • 101k
10 votes
1 answer
20k views

upgrading R version 3.3 in ubuntu 16.04

I am currently using R version 3.2.3 on Ubuntu 16.04 LTS. I am trying to install a package in R called kma which requires packages like devtools, data.table etc. When I try to install these packages, ...
user3138373's user avatar
10 votes
0 answers
930 views

How to paste using middle mouse in rstudio running in linux? [closed]

How to enable the middle button mouse to paste in rstudio running in linux? My middle button mouse is working for pasting to R running in linux terminal.
ServicefromHeart's user avatar
9 votes
5 answers
13k views

Unable to install R Studio [duplicate]

I tried to install RStudio after installing R in Ubuntu. When I clicked to install via Ubuntu software, clicking the install button does nothing. But sometimes when I click it, it starts loading and ...
Qwertford's user avatar
  • 283
9 votes
2 answers
20k views

Once installed geos library (C++, and C), and then trying to install rgeos package (R), it reports geos-config missing!

Knowing that the package rgeos, from the R language, requieres a prior installation of geos libraries, I installed, both, libgeos and libgeos-c1 (3.2.2), using the synaptic installer in my Ubuntu 12....
JulioSergio's user avatar
9 votes
2 answers
13k 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 ...
Ariel Serranoni's user avatar
9 votes
4 answers
9k views

Not able to install rJava in R (ubuntu 18.04)

After upgrading from Ubuntu 16 to 18.4, I am not able to install the rJava package in R. I read other posts like this, but I didn't solve my issue. if I run install.packages("rJava") on R, Results is ...
Salvo Comunque's user avatar
9 votes
1 answer
14k views

Unable to install R 3.5.0 in Ubuntu Bionic Beaver (18.04)

I was delighted to hear that R developers finally shipped R 3.5 through their CRAN mirrors and decided to install it immediately.I added the requisite PPA as mentioned in the CRAN website,deb https://&...
pineapple's user avatar
  • 191
9 votes
2 answers
10k views

Install rJava on Ubuntu failed

I try to install rJava package following "sudo R CMD javareconf" and in R "install.packages('rJava', type = "source"), but it does not work. First, I installed my Java in this way sudo add-apt-...
sunxd's user avatar
  • 233
8 votes
3 answers
40k views

libjvm.so: cannot open shared object file: No such file or directory

Trying to install the rJava package on R, on my 14.10 ubuntu, using this code if (!require(rJava)) install.packages('rJava') got few errors related to java including jni problems, after reinstalling ...
tan's user avatar
  • 93
8 votes
5 answers
33k views

correct Installation and configuration of openJDK and R

I am relatively new to Ubuntu so I wont know a lot of commands that probably became standard to a lot of you guys. I am trying to set up R and with it the necessary java dependencies to install e.g. ...
Marco's user avatar
  • 183
8 votes
3 answers
84k views

Install cURL library to satisfy dependency for R on Ubuntu 12.04

I am trying to install curl library. It is a dependency for the RCurl package in R. So I must install it for R to work properly. I tried: $ sudo apt-get install libcurl4-opensll-dev Reading package ...
Chris's user avatar
  • 193
8 votes
1 answer
10k views

Problem with Project R installation

I don't know where to put this line in the file. Or is there the possibility to achieve it over the shell somehow? I'm using 14.04. INSTALLATION To obtain the latest R packages, add an entry ...
empedokles's user avatar
  • 3,943
8 votes
3 answers
10k views

Error Installing R on Ubuntu 18 Broken Packages

I'm really struggling with installing R on Ubuntu 18. It's my first time with the OS... I tried looking up other questions here in the website and had no luck, even with this on that is basically my ...
Lucas X's user avatar
  • 141
7 votes
2 answers
17k 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 (...
Larry Hunsicker's user avatar
7 votes
5 answers
30k 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 ...
user3321294's user avatar
7 votes
3 answers
21k views

Apt unmet dependencies while installing R on Ubuntu 16.04

I wanted to install the new R version so I did a purge by removing all r-*. And then I broke everything unfortunately. I try to reinstall R project by typing sudo apt install r-base r-base-core r-...
Akusa's user avatar
  • 301
7 votes
1 answer
17k views

How to install latest version of R on Ubuntu 12.04 LTS? [duplicate]

I am not able to download the latest R version on my Dell Vostro 14 3000 Series laptop running on Ubuntu 12.04 LTS. I typed in the standard commands on Terminal: sudo apt-get update sudo apt-get ...
Anirudh's user avatar
  • 139
7 votes
2 answers
519 views

What is the name of the package for R?

I tried aptitude search r, but (unsurprisingly), there are waaaay too many results to sift through.
Louis Thibault's user avatar
7 votes
1 answer
15k views

Unable to install R base; unmet dependencies on Ubuntu 18.04 [duplicate]

I am trying to install R on an Ubuntu 18.04 machine and am encountering an "unmet dependencies" problem. However, I am unable to determine where I can go or what I need to fix on my system to ...
Danny Quah's user avatar
7 votes
1 answer
4k 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-...
TJ001's user avatar
  • 71
7 votes
1 answer
695 views

Multiline R commands are only partially shown in the command line history

I generally use R from the command line. However, this problem has been annoying me. When I use the up arrow to get a previous command, if that command was multiple lines, then R only shows the last ...
Jeremy's user avatar
  • 496
6 votes
2 answers
7k views

Installing R on Ubuntu - getting updates to work

I have installed R. However, when I update my system it complains that the R updates aren't authenticated. What do I have to do to authenticate them?
Christian's user avatar
  • 221
6 votes
3 answers
28k views

Install older version of software and dependencies

I need to install R 3.0.2 because a needed library isn't compatible with 3.0.3 yet (the latest). I can install the older version of R like so: sudo apt-get install r-base=3.0.2-1precise0 However ...
spuder's user avatar
  • 187
6 votes
1 answer
4k views

How to make "R" use all CPUs

I am using GNU R to calculate a huge dataset. My PC has 4 CPU-cores, and I can see, that R is using only 1 CPU. Is there a way to tell R to use all 4 CPUs in order to make the calculation complete ...
Produnis's user avatar
  • 1,757
6 votes
0 answers
5k views

R & RStudio Installation Script For Ubuntu 18.04: TDD Packages [closed]

I've made an installation for R and R Studio for Ubuntu 18.04. The intention is to have a working R Studio installation with the typical packages used in typical data wrangling. The script is as ...
ElToro1966's user avatar
5 votes
1 answer
13k 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
5 votes
4 answers
14k views

R and RStudio installation and package error

After installing R and RStudio in Ubuntu 16.04 with the following code: sudo apt-get update sudo apt-get install r-base sudo apt-get install r-base-dev and sudo apt-get install gdebi-core wget ...
Fernando Aiube's user avatar
5 votes
1 answer
11k views

Setting system-wide environment variable using /etc/environment

I want to add to my PATH so that my computer (Ubuntu) knows where to interpret the "R" command (for launching R). I need this so a Terminal or RStudio can find where I installed R. I did all of the ...
lrthistlethwaite's user avatar
5 votes
1 answer
2k views

Removing a program that apt doesn't see

I have an old installation of R that I would like to get rid of and replace with a new version. However, apt doesn't see this package at all. It doesn't show up in Synaptic and running sudo apt-get ...
jaia's user avatar
  • 243
5 votes
2 answers
7k views

R 3.5.0 not working on Ubuntu 18.04

I just installed Ubuntu 18.04 on my testbed laptop. Total fresh install (chose the 'minimal' option). The first two things I did were install R 3.5 and R Studio 1.1.453. If I open up a fresh install ...
stackinator's user avatar
  • 1,981
5 votes
1 answer
2k views

Make terminal windows always active (not on top)

I created a small program in R where every picture of a folder will pop up (X11) and then I have to provide an input to the terminal before showing the next one. The problem is that every time a ...
GabrielMontenegro's user avatar
5 votes
1 answer
3k views

R: Cannot install rJava; what is r-api-3.4?

I am on an Ubuntu 18.04 machine with R version 3.5.1, installed following this link. I am trying to install the CRAN package rJava, which I do the following way (as seen here): sudo apt-get install r-...
DaniCee's user avatar
  • 459
5 votes
1 answer
4k views

How to install latest rlang and dplyr?

I want to execute a script that starts with library(dplyr) library(lubridate) library(ggplot2) I started out with regular r-base-core and r-cran-lubridate installed. I got: Error in ...
user2740's user avatar
  • 1,097
4 votes
3 answers
10k views

Issue with dependency of R Studio installation in Ubuntu 16.10

sudo dpkg -i rstudio-1.0.136-amd64.deb(Lendo banco de dados ... 213133 ficheiros e directórios actualmente instalados.) A preparar para desempacotar rstudio-1.0.136-amd64.deb ... A descompactar ...
Lucas Carvalho's user avatar
4 votes
2 answers
14k views

How to install poppler 0.73 on ubuntu 18.04

I am running 18.04 and trying to use version 2.1 of the R package pdftools. Some functionality requires poppler >= 0.73. (A poppler version requirement is documented in ?pdftools::pdf_data.) I ...
Robert McDonald's user avatar
4 votes
2 answers
4k 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 ...
Corel's user avatar
  • 211

1
2 3 4 5
8