Questions tagged [r]

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

R is a free, open-source programming language and software environment for statistical computing, bioinformatics, and graphics. R is an implementation of the S programming language combined with lexical scoping semantics inspired by Scheme. R was created by Ross Ihaka and Robert Gentleman and is now developed by the R Development Core Team. The R environment is easily extended through a packaging system on CRAN, the Comprehensive R Archive Network.

362 questions
74
votes
7 answers

How do I set up the simplest HTTP local server?

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 the blogdown::serve_site() command. This is the…
Display name
  • 2,331
53
votes
2 answers

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 on Ubuntu, but it doesn't solve my problem have…
Aashu
  • 643
43
votes
5 answers

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 sure what/how/where to change my installation…
Student
  • 531
37
votes
3 answers

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 installed Now libc6 as far as I understand is an…
26
votes
7 answers

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 however offers the possibility of installing with…
25
votes
4 answers

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 a different method to update R to 3.5.0?
24
votes
4 answers

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
  • 241
20
votes
5 answers

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 have tried Ubuntu before but never really liked…
16
votes
3 answers

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 dependency tree Reading state information...…
16
votes
5 answers

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. If you have not installed the GDAL libraries, you…
user26243
14
votes
1 answer

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

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 sudo apt-get update, I get this error W: GPG error:…
Tim
  • 26,107
13
votes
3 answers

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: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version…
avila
  • 583
  • 2
  • 7
  • 21
12
votes
4 answers

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(main = "Test", line = -1) : X11 font…
Cookie
  • 957
10
votes
1 answer

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, I get this : install.packages(c("devtools",…
10
votes
0 answers

How to paste using middle mouse in rstudio running in linux?

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.
1
2 3
24 25