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

learn more… | top users | synonyms

2
votes
2answers
51 views

How you install R 3.2.2 in Ubuntu 14.04 LTS?

I want to install a version of R that is newer than the one in the Ubuntu repos, but older than the most current CRAN version. (How to install/upgrade r-base describes how to install the latest ...
7
votes
2answers
61 views

What is the prefered 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 ...
2
votes
1answer
33 views

texi2dvi with TeX 3.14159265 (TeX Live 2015) in R is not working

In past I was using texi2dvi("ABC.tex", pdf = TRUE) in R to produce pdf from tex. However, after using sudo apt-get update && sudo apt-get upgrade Now using texi2dvi("ABC.tex", pdf = ...
0
votes
0answers
19 views

Ubuntu 16.04 /usr/bin/texi2dvi: cannot create directory: [duplicate]

After upgrading Ubuntu from 14.04 to 16.04, whenever I use texi2dvi("ABC.tex", pdf = TRUE) in R 3.3.1, I get the following error: processing file: ./202Analysis.Rnw Error in texi2dvi(file = file, ...
0
votes
1answer
66 views

How do I run R programs from Sublime text 2 in Ubuntu 16.04 LTS?

I have R programming environment in Ubuntu 16.04 LTS. I also have Sublime Text 2 and I want to run R programs in it. I don't have any IDE like RStudio and even I dont want to use them as I am just a ...
1
vote
0answers
56 views

Installing R on Ubuntu 14.04

I had R 3.3.0 on my machine. During the process of upgrading R, I had some problems. Now I'm getting the following error when I try to install R. yaseen@yaseen:~$ sudo apt-get install r-base Reading ...
1
vote
2answers
207 views

“Package dependencies cannot be resolved” - R project

I use R statistics ("r-base") on my computer and recently, by mistake, I ran the following command in terminal: sudo apt-get remove r-base-core Of course this removed R from my computer. To undo ...
-1
votes
1answer
636 views

Availability of R-base 3.2.3?

When will R-base for 3.2.3 (wooden-Christmas-tree) be available in the CRAN ubuntu directories? When I try using apt-get update I get an httpError400. apt-cache policy r-base-core returns: r-base-...
0
votes
1answer
138 views

Shiny server systemctl fails at boot

I installed Shiny Server on my Ubuntu Mate 15.10 64bit. I can start the server without problem after boot by running manually the command sudo systemctl start shiny-server. I enabled the service to ...
2
votes
1answer
817 views

Adding switzerland cran mirror for R in /etc/apt/sources.list

I've got an error while trying to add the R cran mirror for Switzerland to the sources.list file (http://stat.ethz.ch/CRAN/), even though I followed the instructions from page http://stat.ethz.ch/CRAN/...
4
votes
2answers
5k 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?
0
votes
1answer
483 views

How to install R package in ubuntu 14.04.03?

As per the documentation given on the page http://ftp.iitm.ac.in/cran/ I tried to install the latest R package v3.2.2 on my system(32-bit). I have added deb http://cran.rstudio.com/ubuntu trusty/ ...
0
votes
2answers
114 views

Removing R libraries in protected /usr/ paths

I am familiar with Unix as an operating system, but not in the general logic of how developers decide to organize application library locations. Take R, for example. Installing R on ubuntu can be ...
2
votes
2answers
220 views

Unable to install R Studio in ubuntu

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 ...
1
vote
0answers
30 views

problem with reinstallation of R [duplicate]

I was using R 3.1.1 but since the dplyr package was not working with this version I decided to upgrade, but I messed it up so iIremoved R: sudo apt-get --purge remove r-base-core Now when I try to ...
8
votes
2answers
22k views

how to install/upgrade r-base?

I am pretty new to Linux. I installed R-base in my ubuntu 12.04 using the Software Center (which by default r-2.14). I want to upgrade to/install R 3.02. How can I do that? Thank you.
0
votes
1answer
100 views

Uninstalling R and some packages (CRAN, devtools, and GitHub)

I've been on Linux Ubuntu 16.04 LTS for a few weeks now, and I just went through a multi-step installation process of R. The process also included packages, such as CRAN, devtools, and GitHub. ...
0
votes
1answer
33 views

Will r-base on ubuntu give me the same interface as RStudio with R on Windows?

It's my first year in uni and our stats course requires the use of R. The lab computers we use is on a Windows computer running RStudio and I read that you need to install RStudio and R for that to ...
1
vote
1answer
2k views

Getting frustrated trying to update R-base

I've read through similar questions/guides: A similar question on AU - Installing latest version of R-base The guide from CRAN on updating in ubuntu - http://cran.r-project.org/bin/linux/ubuntu/...
0
votes
0answers
29 views

Error while running Rscript using crontab

I am running an Rscript using crontab. In that Rscript command, I am trying to load googlesheets package using library(googlesheets). Note, I have already installed googlesheets package. I am getting ...
1
vote
2answers
656 views

Can't install R with sudo apt-get install r-base [duplicate]

When I try to install R with sudo apt-get install r-base, it says Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. ...
0
votes
0answers
115 views

Update R version 3.0.2 to 3.3.0 [duplicate]

I am using R version 3.0.2 in Ubuntu 14.04 LTS. I want to update latest version of R. Can anyone help me to do update?
1
vote
1answer
6k views

Setting up the proxy for rstudio

My machine is running on Ubuntu 14.04, and I have already tried looking at Configuring R to Use an HTTP Proxy in the FAQ section of Rstudio support. This is what I did till now... in my home ...
14
votes
5answers
12k 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....
-1
votes
1answer
58 views

Install vegan package for R via terminal command

Hi I want to install the vegan package for R via terminal command - so far I have this: This downloads the zipped file required (this part works) wget -O ~/file/downloads/vegan_2.3-5.tar.gz "http://...
3
votes
2answers
77 views

status of gedit r plugin (rgedit) in 16.04?

People are going to great lengths to get the gedit R plugin back by downgrading gedit. I tried, but couldn't make those instructions work. Mostly now I'm sad. RStudio is shiny and everything, but ...
1
vote
1answer
67 views

Can't install latest version of R on ARM Chromebook

So I'm running Ubuntu 14.04 through Crouton, and every time I install R it only installs v3.0.2. I've tried reinstalling it, using PPA, and other things but nothing's worked so far.
1
vote
1answer
139 views

install RStudio 0.99.896 on 14.04 ubuntu 'rstudio-server' already exists

I wanted to update RStudio, I uninstalled the version I had and followed these commands to install the newest version. $ sudo apt-get install gdebi-core $ wget https://download2.rstudio.org/rstudio-...
0
votes
0answers
48 views

How do I enable global menu for RStudio in 16.04?

I tried the solutions mentioned in this question but neither worked. RStudio version 0.99.896 on Ubuntu 16.04.
1
vote
2answers
667 views

Cannot install curl-config in Ubuntu 12.04

When trying to install the R package RCurl I get the following error: checking for curl-config... no Cannot find curl-config ERROR: configuration failed for package ‘RCurl’ Yet, curl-config exists ...
0
votes
0answers
13 views

R script cannot run on Ubuntu

I have an rhtml, which I would like to use on an Ubuntu server. I think, it cannot interpret my code, it gives output like this in browser: range<-max2-abs(min2) m[i,j]<-range } else{ range<-...
1
vote
1answer
209 views

Install readr in R and met dirty dependency tree

My Ubuntu and R versions: alvas@ubi:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.2 LTS Release: 14.04 Codename: trusty alvas@ubi:~$ R > ...
1
vote
0answers
46 views

Bash script to display XKCD comic - crontab not executing

I wrote a bash script to display the current xkcd comic in my web browser (using the RXKCD package in R). I want to schedule this so that the current xkcd comic displays every morning at 8am when I ...
0
votes
0answers
41 views

Trying to install R generates unmet dependencies in Ubuntu 14.04

I've followed the instalation of R (first r-base) as I always did - adding mirror, genereate the correct key, then sudo apt-get update and sudo apt-get install. But now I'm getting unmet dependencies ...
0
votes
0answers
55 views

Upgrade R on Kubuntu 14.4 LTS [duplicate]

How can I upgrade my R installation on Kubuntu 14.4 LTS from 3.0.2 to the current 3.2.4? Something like sudo su echo "deb http://www.stats.bris.ac.uk/R/bin/linux/ubuntu trusty/" >> /etc/apt/...
2
votes
2answers
2k views

How to install R version 3.2.1 – collect2: error: ld returned 1 exit status

I'm trying to install R version 3.2.1. I executed the following code ./configure --enable-R-shlib followed by make command. But the following error is obtained. /usr/bin/ld: ../appl/dchdc.o: ...
0
votes
2answers
58 views

Change default editor for .cpp files

When I double click .cpp files I expect gedit to open it, instead RStudio opens it. How to set gedit as the default editor for .cpp files?
1
vote
0answers
58 views

Error while installing R's chron package

I am running R in ubuntu 14.04. Trying to install the package "chron" I get the following message: gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector --param=ssp-...
3
votes
0answers
190 views

Trying to install R cmdr I get an unexpected error message. What's wrong?

The terminal states: Error in .chooseMirror(m, "CRAN", graphics, ind, useHTTPS) : could not find function "setNames" How do I fix this?
1
vote
1answer
397 views

Problem in installing packages in R

In R, I am trying to run - install.package('rattle') but terminal gives me following error - Error in .chooseMirror(m, "CRAN", graphics, ind, useHTTPS) : could not find function "setNames" R ...
18
votes
4answers
59k 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 ...
0
votes
1answer
164 views

Compiling R - configure: error: cannot run C compiled programs while installing R-3.0.0

Compiling R root@rani:/media/626CAD/androidnetbeans/R-3.0.0# sudo bash ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu loading site script '....
0
votes
0answers
472 views

installation of package ‘igraph’ had non-zero exit status

install.packages("igraph") Installing package(s) into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) --- Please select a CRAN mirror for use in this session --- Loading Tcl/Tk interface ... ...
1
vote
0answers
62 views

RStudio on Ubuntu (GNOME): settings reset on launch

I have a HiDpi screen, and require the zoom setting to be at 200% within RStudio for it to be usable. Each time I launch the application from the launcher, however, the zoom setting is reset back to ...
0
votes
0answers
144 views

How to set proxy settings for R so that i can update the packages in R?

I am using ubuntu 14.04.03 LTS(32-bit) and have R version 3.2.2 installed. I didn't remember either I have installed my R package as root or as normla user. Whenever I want to update/install any ...
0
votes
1answer
75 views

CRLfile: none??? Trying to update R to latest version been googling for days

Ubuntu 14.04 I get an error after sudo apt-get update ###other stuff### Err https://cran.mtu.edu trusty/ Packages server certificate verification failed. CAfile: /etc/ssl/certs/ca-...
2
votes
1answer
4k 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 ...
0
votes
0answers
68 views

Multiple R installations… lost overview

I am running Ubuntu 14 and I am using R and R studio. I think the installation is at: /usr/bin/R Recently, I wanted to use the Jupyter Notebook to also run R in this kind of notebook in the browser....
0
votes
1answer
446 views

RStudio keeps crashing

My RStudio keeps crashing and its very annoying any help in fixing it will be much appreciated. lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.3 ...
0
votes
1answer
207 views

Error while updating R in ubuntu 14.04 trusty

I am trying to install R programming language and able to install rbase using this code sudo apt-get install r-base After that i tried to upgrade it using this code sudo add-apt-repository ‘deb ...