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
50 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
56 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
31 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, ...
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 ...
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 ...
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 ...
2
votes
2answers
212 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 ...
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 ...
0
votes
1answer
97 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. ...
-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://...
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
66 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
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 ...
3
votes
2answers
75 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
136 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
203 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 ...
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
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/...
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-...
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 ...
0
votes
1answer
161 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
468 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
61 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
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-...
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
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 ...
-1
votes
1answer
631 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
445 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 ...
2
votes
1answer
685 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 ...
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 ...
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
1answer
395 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 ...
1
vote
1answer
43 views

Installing R and getting error

I am getting this error when installing R and did not get it before(was able to download it before but not anymore) I would appreciate any help as I am new to Ubuntu. Failed to fetch http://lib....
1
vote
1answer
32 views

Installing Revolution Analytics broke R and I can't fix it

So I installed (and quickly un-installed Revolution analytics's RRO with MKL) following their instructions (e.g. using the .deb and removing using dpkg). Now, I want to use the default/standard R ...
5
votes
1answer
196 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 ...
1
vote
0answers
1k views

R - Warning: unable to access index for repository

Here is my OS details: $ uname -a Linux starbuck 3.2.0-92-generic #131-Ubuntu SMP Tue Oct 20 16:16:02 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Here is my R version: $ R --version R version 3.2.2 (...
0
votes
1answer
247 views

Installing r-packages in RStudio with proxy

I am using: Ubuntu 15.04 RStudio 0.99.486. R 3.1.2 proxy network with authentication The problem occurs when I open RStudio and try to install any package. Example: install.packages("ggplot2") ...
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?
0
votes
1answer
319 views

Configure installation of R in ubuntu

How can I install R in ubuntu with non default flags? For example, for debugging, I would like to build R with the -fsanitize=address option. How to do that?
0
votes
1answer
363 views

Trying to upgrade R, error message refers to 'unmet dependencies'

I tried following the directions in this post Installing latest version of R-base after several simpler techniques failed to upgrade my R (which is stuck on 3.0.2). Everything seems to have worked ...
0
votes
0answers
203 views

Unmet Dependencies of libc6 : Depends: libgcc1 but it is not going to be installed

Do you want to continue? [Y/n] y E: Cannot get debconf version. Is debconf installed? debconf: apt-extracttemplates failed: No such file or directory dpkg: dependency problems prevent configuration ...
1
vote
2answers
661 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 ...
1
vote
0answers
118 views

OpenGL sources: Libglu1-mesa-dev depends on libglu1-mesa (= 8.0.2-0ubuntu3) but 8.0.4-0ubuntu0.7 is to be installed

When trying to install an R package (rgl, which makes 3-D plots), R gives the following error: configure: error: missing required header GL/glu.h ERROR: configuration failed for package ‘rgl’ ...
0
votes
1answer
481 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
0answers
660 views

package ‘tm.plugin.tags’ is not available (for R version 3.2.2) ubuntu 12.04

How to solve the issue? Full error is given below: install.packages("tm.plugin.webmining") Installing package into ‘/home/t328/R/x86_64-pc-linux-gnu-library/3.2’ (as ‘lib’ is unspecified) Warning: ...