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

learn more… | top users | synonyms

0
votes
0answers
7 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
42 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
2answers
22 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
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 ...
0
votes
1answer
47 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
84 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
203 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
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 ...
0
votes
1answer
52 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: ...
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
102 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
356 views

Availability of R-base 3.2.3 availability

When will R-base for 3.2.3 (wooden-Christmas-tree) be available in the CRAN ubuntu directories?
0
votes
1answer
242 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
237 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
1answer
63 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
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
297 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
30 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
141 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
831 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
180 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
1answer
161 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
2answers
246 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
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
0answers
163 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
444 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
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
1answer
354 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
601 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
1answer
188 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 ...
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: ...
1
vote
1answer
470 views

Offline install of R on Ubuntu/Linux

I will need to install R (http://www.r-project.org/) on a number of machines which do not have internet access; many of them will be running Windows, but I suspect some might run Linux, if so, likely ...
3
votes
1answer
218 views

Removing a program that apt doesn't see

I have an old installation of R that I would like to get rid of and replace with a new version. However, apt doesn't see this package at all. It doesn't show up in Synaptic and running sudo apt-get ...
1
vote
2answers
458 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
154 views

code matrix to letter [closed]

a txt file I have looks like this 1 3 6 7 9 11 000000 100001 000101 110100 000100 the recoded version should be UUUUUUUUUUU YUUUUUUUUUY UUUUUUYUUUY YUYUUUYUUUU UUUUUUYUUUU for this the first ...
2
votes
0answers
749 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
1answer
127 views

R/Shiny WebApp logs, running in shell (Ubuntu crontab)

I'm running, using crontab, an R/Shiny WebApp. The crontab expression looks like this: @reboot R -e 'shiny::runApp(...)' | tee /var/log/shiny-server.log I've also tried @reboot R -e ...
2
votes
1answer
246 views

Compiler errors during install of rstan in R

I tried installing rstan, a package for R for MCMC sampling, which requires compilation to work. Sadly make and the compiler fail during the install with a very long error message of which I post only ...
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 ...
0
votes
1answer
52 views

Rmarkdown code chunks not interpreted

I'm using RStudio 0.98 on Kubuntu 15.04. I am having difficulty creating Rmarkdown documents, specifically the ones that render a pdf output (and also Open Office). The problem is that the code ...
3
votes
1answer
6k views

How to install latest version of R on Ubuntu 12.04 LTS? [duplicate]

I am not able to download the latest R version on my Dell Vostro 14 3000 Series laptop running on Ubuntu 12.04 LTS. I typed in the standard commands on Terminal: sudo apt-get update sudo apt-get ...
2
votes
1answer
104 views

The “supported packages” in R

From http://stat.ethz.ch/CRAN/bin/linux/ubuntu/ SUPPORTED PACKAGES A number of R packages are available from the Ubuntu repositories with names starting with r-cran-. The following ones are ...
0
votes
1answer
339 views

What packages are installed by `sudo apt-get install r-base`?

I have add the following link to my repository list deb http://stat.ethz.ch/CRAN/bin/linux/ubuntu trusty/ When running sudo apt-get install r-base, what packages in ...
2
votes
3answers
743 views

Error adding a repository to /etc/apt/sources.list

On ubuntu 14.04, I followed http://mirror.its.dal.ca/cran/bin/linux/ubuntu/README which says Installation and compilation of R or some of its packages may require Ubuntu packages from the "backports" ...
2
votes
1answer
1k views

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

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

Big Challenge! Need Help installing an Open-source Software [duplicate]

Hi Ubuntu Community, I am new here and I need a helping hand. I am learning to use an open-source software, but I am having trouble installing it in Ubuntu 14.04 64-bit. The Open Foris Plataform ...
1
vote
1answer
373 views

How to install ggtern package in R

I ran the following code in R according to this page install.packages("ggtern") but R says > install.packages("ggtern") Installing package into ‘/home/user/R/x86_64-pc-linux-gnu-library/3.0’ ...