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

learn more… | top users | synonyms

1
vote
2answers
455 views

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

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. ...
7
votes
1answer
218 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 ...
3
votes
1answer
158 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
132 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
289 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
41 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 ...
1
vote
1answer
3k 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 ...
1
vote
1answer
5k 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 ...
1
vote
1answer
286 views

Compiling old versions of R (2.11 or older) on Ubuntu 13.10 (or newer)?

I am trying to compile an old version of R (2.11.1, specifically). "Why?", you might ask. Well, I have a program I am trying to run (that was not written by me, but I am hoping to use in my ...
1
vote
1answer
280 views

Rcmdr in R 3.0.1 asks to install rgl package everyime I open Rcmdr

I have installed R 3.0.1 in my Ubuntu 12.04 Laptop. I started R as root by sudo R, then installed Rcmdr package by the following command: install.packages("Rcmdr", dependencies = TRUE) but ...
0
votes
1answer
44 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
82 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
1answer
287 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
1answer
53 views

MpichCluster and R

i'm new in parallel computing, i need to use all CPU's resources from n desktop computers to execute an operation with R. I was seeing this documentation ...
0
votes
1answer
571 views

Can only install some R-Packages (Ubuntu 14.04 server)

I am trying to install the FastRWeb package for R on this Ubuntu server. I updated sources.list with: deb http://ftp.heanet.ie/mirrors/cran.r-project.org/bin/linux/ubuntu trusty/ I have tried both: ...
0
votes
1answer
830 views

gedit R plugin not working after upgrade to 13.10

I recently upgraded to 13.10, and my R plugin for gedit is no longer working. When I go to gedit->preferences->plugins and try to enable "R integration", I have little red error symbol and a message ...
6
votes
0answers
299 views

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.
2
votes
0answers
745 views

rpy2 installation errors

I am trying to install rpy2 but keep running into installation errors. I have found another post that had similar problems: ...
1
vote
0answers
36 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 ...
1
vote
0answers
32 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 ...
1
vote
0answers
823 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 ...
1
vote
0answers
91 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
0answers
4 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{ ...
0
votes
0answers
35 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
28 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
40 views

Upgrade R on Kubuntu 14.4 LTS

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/" >> ...
0
votes
0answers
200 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 ... ...
0
votes
0answers
46 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 ...
0
votes
0answers
101 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
0answers
162 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 ...
0
votes
0answers
600 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: ...
0
votes
0answers
236 views

How to install ggtern, and missing packages on Ubuntu 14.04?

I am trying to install ggtern (R package) on Ubuntu 14.04. I had already seen a similar question here, but it didn't solve my problem. I get the following error messages: Warning messages: 1: In ...