Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [r]

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

0
votes
0answers
31 views

Failing to install mclust R package on Ubuntu 16.04

I am unable to install "mclust" R package on my Ubuntu 16.04. I have a following issue: > install.packages("mclust") >Installing package into ‘/home/ivan/R/x86_64-pc-linux-gnu-library/3.4’ >...
0
votes
0answers
30 views

NO_PUBKEY error in trying to install R on Ubuntu Bionic beaver (building docker) [duplicate]

So Googling shows up this link on travis, which seems to have happen only recently: https://travis-ci.community/t/then-sudo-apt-get-update-failed-public-key-is-not-available-no-pubkey-...
0
votes
1answer
51 views

Problem with RODBC installation in Ubuntu with R 3.5.1

The thread here about RODBC is old, about 7 years old, their solution about installing r-cran-odbc and libiodbc2-dev do not work. As of R 3.5.1, I am getting the same error as 7 years ago install....
-1
votes
1answer
62 views

Remove non-Arabic words in R [closed]

I am trying to remove non Arabic words in r and i tried this code but it is removed everything > L<-"you المجدo to yes" > gsub("[^\\p{InArabic}.,]+","",L) [1] ""
27
votes
7answers
5k 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 ...
-1
votes
0answers
28 views

Exec format error in R package installation

I use Ubuntu 18.04.1 and R version 3.5.1. When I try to install an R package, I get this error and cannot install it. Does anyone have any idea how to solve this? Thank you in advance. > install....
2
votes
0answers
332 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 ...
0
votes
0answers
51 views

Help installing R and R-studio on Ubuntu 18.04 [duplicate]

So I've seen a lot of similar questions to this and I have tried everything in the answers and nothing has worked. I'm new to using terminals and Linux. I just reinstalled Ubuntu on my machine and ...
-1
votes
0answers
22 views

While I m installing R I m getting Error [duplicate]

sudo apt install r-base Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an ...
0
votes
1answer
70 views

openssl and PKG_CONFIG_PATH problems while configuring mongolite package from R

The package "mongolite" won't install itself when trying in RStudio. So I downloaded it from https://cran.r-project.org/web/packages/mongolite/, extracted it in the folder which manages the R packages ...
0
votes
1answer
109 views

R script returns “Error in library(httr) : there is no package called ‘httr’” - what should I do?

I am trying to run an R code in Ubuntu 16.04 LTS for sending SMS via Plivo, in my script I am using a library #!/usr/bin/env Rscript library(httr) code .... After running this I get the error ...
1
vote
1answer
58 views

ubuntu 16.04 r install error

sudo apt-get install r-base sudo: unable to resolve host dev Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This ...
0
votes
0answers
70 views

R (Ubuntu): Error in make.names(fldnms, unique = TRUE) : invalid multibyte string 8

I just Ubuntu OS installed and try to use R as usual. wd <- "~/Documents/" setwd(wd) library(rgdal) shp_spdf <-readOGR(dsn = wd, stringsAsFactors = FALSE, verbose = TRUE, useC ...
0
votes
0answers
36 views

Are most R packages supported in Ubuntu Linux? [duplicate]

I'm thinking to switch from Windows 10 to Ubuntu Linux, but I'm concerned whether the R packages I use would be supported, as I've had a number of scripts working and don't want to take unnecessary ...
1
vote
1answer
74 views

R installation issue

I wanted to install r-base on my computer but it does not work even after sudo apt-get update or sudo apt-get upgrade. Here is the text I have when I write sudo apt-get install r-base : Lecture des ...
0
votes
0answers
185 views

Segmentation fault (core dumped) starting R

Quick Background: After a Backup restore, we accidentally filled up the root folder "/" HDD and had no disk space left. I started Ubuntu from a USB, mounted the HDD and found out that the Backup was ...
0
votes
0answers
30 views

Install R package downloaded in temp

I'm trying to install a package in R, Bioconductor > biocLite("affydata") BioC_mirror: https://bioconductor.org Using Bioconductor 3.7 (BiocInstaller 1.30.0), R 3.5.1 (2018-07-02). Installing ...
2
votes
2answers
654 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 ...
0
votes
0answers
154 views

I've failed to install the R package, broken packages

gui@pcgui:~$ sudo apt-get install r-base Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you ...
1
vote
2answers
1k 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?...
0
votes
1answer
793 views

Failure to install libpng-dev in ubuntu 18.04

I am not able to install libpng-dev in Ubuntu 18.04, getting the following error: libpng-dev : Depends: libpng16-16 (= 1.6.34-1) but 1.6.34-1ubuntu0.18.04.1 is to be installed ...
1
vote
0answers
209 views

Cannot install R-base in Ubuntu 18.04 - Unable to correct problems, you have held broken packages [duplicate]

I am trying to install r-base using the following commands: sudo add-apt-repository ppa:marutter/rrutter3.5 sudo apt-get install -y r-base sudo apt-get install -y gdebi-core However, this happens: ...
1
vote
1answer
245 views

Installing R packages in RStudio

I am new to working in a Linux environment full-time and am running Ubuntu 18.04. I have installed R and RStudio and am now trying to install all of my packages. I set the CRAN mirror when initially ...
1
vote
1answer
305 views

Some R packages won't install [duplicate]

I have R version 3.4.2, trying to install ggplot2, ran install.packages("ggplot2", dependencies = TRUE) in RStudio. It eventually tells me it exited with non-zero exit status and the errors are hard ...
1
vote
1answer
251 views

Error 'libudunits2.a not found' when installing ggraph, Additional Error : object ‘scale_type’ is not exported by 'namespace:ggplot2'

I ran into these two errors 'libudunits2.a not found' and Error : object ‘scale_type’ is not exported by 'namespace:ggplot2' on Ubuntu 17.10 during an install of ggraph in Rstudio via install....
0
votes
0answers
101 views

Error in displaying graphics

I posted this error in stackoverflow assuming it was an R problem. However, more and more I'm inclined to believe it is linux related error. The moment I press enter after typical plot command a small ...
0
votes
1answer
1k 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 ...
3
votes
0answers
287 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-...
2
votes
1answer
426 views

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

This thread from @pineapple explains a previous issue where the user was unable to install R 3.5.0 in Ubuntu 18.04 using the following process: sudo add-apt-repository "deb https://cloud.r-project....
0
votes
1answer
305 views

R - Impossible to install R in Ubuntu

I spent my whole day trying to install R and RStudio on Ubuntu 17.10. I tried every solution on this stackexchange but any of those worked. I tried to update the source.list from apt-get, create keys ...
0
votes
0answers
64 views

Conflicting Distribution error when apt-get installing [duplicate]

I'm trying to install the latest 3.5 release of the statistical R language and I keep getting this error when I sudo apt-get update. I'm on Ubuntu 18.04. W: Conflicting distribution: https://ftp....
0
votes
1answer
140 views

Unable to open .Rproj with RStudio from terminal or ranger

I am trying to open an .Rproj file with RStudio from the terminal, or preferably with ranger. The default file opener in ranger, rifle, produces the following error when opening any .Rproj file: E303:...
6
votes
1answer
4k 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://&...
1
vote
0answers
3k views

Installing libcurl3 without removing R installation

I am trying to install libcurl3 in my system. libcurl4 is already installed in my system. The problem is, installation process is removing my R installation with installed packages. user@len-lin:~$ ...
0
votes
0answers
53 views

Install Comodo SSL on Shiny server

I have a ssl certificate from comodo and i want to setup this ssl on my upunto R/Shiny server and i have this files from comodo: STAR_getedara_com.crt COMODORSADomainValidationSecureServerCA.crt ...
7
votes
3answers
3k 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:...
0
votes
1answer
82 views

Unsuccessful rJava package installation on Vultr (Ubuntu 16.04) server

I am trying to install the "rJava" R package on an Ubuntu 16 server. I have tried a few things such as reinstalling the JDK, running a script to set the home path, and running R CMD javareconf (with ...
5
votes
0answers
4k 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 ...
3
votes
2answers
3k 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 ...
20
votes
2answers
10k 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 ...
0
votes
1answer
598 views

Not able to install rJava in R

I am not able to install the rJava package in R. If I run sudo R CMD javareconf: *** JAVA_HOME is not a valid path, ignoring Java interpreter : /usr/bin/java Java version : 1.8.0_161 Java home ...
2
votes
0answers
586 views

How to install R 3.5.0 on 17.1? [duplicate]

I have downloaded the tar file, but it refuses to make. Please guide me how to do this please.
1
vote
0answers
100 views

Installing R statistics system on 16.04 LTS from Ubuntu repo or CRAN repo?

I have been reading up about how to install the R statistics system on Ubuntu (16.04 LTS). R is in the Ubuntu repositories (as are many CRAN packages), but quite a lot of documentation and answers ...
3
votes
2answers
2k views

How to install R on Ubuntu 16.04 Xenial?

Is there a convenient shell script that allows you to install everything at once?
2
votes
0answers
41 views

Stuck when Installing R in ubuntu

I am installing R in Ubuntu 16.04.3 I did as this website tells, but I got stuck here, figure below, any suggestion? Thanks in advance!
2
votes
2answers
410 views

Unable to install geojson package for R

I have Ubuntu 16.04 and R 3.4.3. When I run install.packages("geojson", dep=TRUE) in R, I get the following error: dependency ‘protolite’ is not available for package ‘geojson’ Therefore I run ...
4
votes
1answer
193 views

R package h5r configure: error: Can't find HDF5

I am trying to install the R-pbh-5 package for R, which requires h5r. When I try to install h5r with install_version("h5r", "1.4.7"), I receive the following error: [...] checking for library ...
0
votes
1answer
1k views

Pause a screen terminal

I constantly use terminal screens to manage different tasks in linux. I would like to know if is possible to 'pause' or 'suspend' a given screen and resume it later (no reboot in between). Let's say ...
0
votes
0answers
31 views

How to install libgdal1-dev Ubuntu 17.04 [duplicate]

I'm in trouble installing rgdal packages in R. I'm using R version 3.4.3 (2017-11-30) on a computer with: Distributor ID: Ubuntu Description: Ubuntu 17.04 Release: 17.04 Codename: zesty The ...
1
vote
1answer
738 views

How to solve this rpy2 issue? I need rpy2 installed

I tried his; rpy2 installation errors but it doesn't help either. I tried many! Please help! Collecting rpy2 Using cached rpy2-2.9.2.tar.gz Complete output from command python setup.py ...