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

learn more… | top users | synonyms

31
votes
2answers
40k views

Cannot find curl-config in Ubuntu 13.04

I am installing package RCurl in R and getting an error checking for curl-config... no Cannot find curl-config ERROR: configuration failed for package ‘RCurl’ I have tried to install libcurl ...
18
votes
4answers
57k 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 ...
18
votes
5answers
3k views

What is a good setup for LaTeX and R?

I am not sure if this is the proper place for this question, so my apologies if it is not. I want to switch from Windows to Ubuntu, or at least have an additional operating system next to windows. I ...
14
votes
5answers
11k 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....
8
votes
3answers
56k views

Install Curl Ubuntu 12.04

Hi I am trying to install curl library. It is a dependency for the RCurl package in R. So I must install it for R to work properly. I tried: meaneych@meaneych-VirtualBox:~$ sudo apt-get install ...
8
votes
2answers
21k 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.
8
votes
0answers
363 views

How to paste using middle mouse in rstudio running in linux? [closed]

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.
7
votes
1answer
231 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 ...
6
votes
1answer
4k views

Problem with Project R installation

I don't know where to put this line in the file. Or is there the possibility to achieve it over the shell somehow? I'm using 14.04. INSTALLATION To obtain the latest R packages, add an entry ...
6
votes
2answers
206 views

What is the name of the package for R?

I tried aptitude search r, but (unsurprisingly), there are waaaay too many results to sift through.
5
votes
2answers
8k views

Once installed geos library (C++, and C), and then trying to install rgeos package (R), it reports geos-config missing!

Knowing that the package rgeos, from the R language, requieres a prior installation of geos libraries, I installed, both, libgeos and libgeos-c1 (3.2.2), using the synaptic installer in my Ubuntu 12....
5
votes
1answer
176 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 ...
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?
4
votes
1answer
578 views

When trying to Install Shiny Server for R, the command in the setup instructions triggers a Bash syntax error, how do I fix it?

So I'm trying to install shiny server for the R programming language on Ubuntu 12.04, using the information available at this page on the program's github. However, when I get to this step: # ...
4
votes
5answers
16k views

correct Installation and configuration of openJDK and R

I am relatively new to Ubuntu so I wont know a lot of commands that probably became standard to a lot of you guys. I am trying to set up R and with it the necessary java dependencies to install e.g. ...
4
votes
1answer
875 views

Bypassing excessive dependencies when installing r-base-core

I'm trying to install R (via r-base-core) on an ubuntu 10.10 server. It is trying to install all of the following: The following NEW packages will be installed: apt-xapian-index apturl apturl-...
4
votes
1answer
8k 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 ...
4
votes
1answer
226 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 ...
4
votes
2answers
640 views

Command completion in R and python

In bash terminal, I could configure the command completion by inserting these lines to the /etc/inputrc file: $if Bash # Search history back and forward using page-up and page-down "\e[5~": ...
4
votes
1answer
713 views

How do I install a newer version of R on 9.10?

I am trying to install R on my ubuntu 9.10 machine but when I use the repository I tend to get the R version 2.8 which is quite old. Is there a way to install R latest version on my machine. Ubuntu ...
4
votes
1answer
1k views

gedit-r-plugin not showing up in plugin list in gedit

I installed the gedit-r-plugin through synaptic and in the past it has worked great. I can't seem to even get the plugin to show up in the Preferences -> Plugins list after updating to 11.10. I'm ...
3
votes
1answer
4k views

installing plyr on ubuntu 14.04

I'm trying to install plyr on ubuntu 14.04 and getting the this error: * installing *source* package ‘plyr’ ... ** package ‘plyr’ successfully unpacked and MD5 sums checked ** libs g++ -I/usr/share/R/...
3
votes
1answer
569 views

Good workflow for updating R modules around R-cran updates?

I like that R updates frequently to give me the best new packages, but it does seem to pose a problem for my R scripts on cron schedules. I noticed that every time ubuntu updater updates my r-base ...
3
votes
2answers
63 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 ...
3
votes
0answers
186 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?
2
votes
3answers
776 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
538 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 ...
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 ...
2
votes
1answer
805 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/...
2
votes
1answer
738 views

How can I install rjags on Ubuntu AMI on EC2?

I installed the pre-built Amazon Machine Image with Rstudio Server provided by bioconductor into a free micro instance on EC2. Then I installed JAGS (Just Another Gibbs Sampler to use it via rstudio ...
2
votes
1answer
581 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 ...
2
votes
2answers
8k views

What is the best way of installing the R package XLConnect?

What is the best way of installing the R package XLConnect in Ubuntu 12.04 x86? I tried to manually install it via R, using install.packages("XLConnect",dependencies=TRUE), but after half an hour of ...
2
votes
2answers
342 views

Which recent Ubuntu should I use for Matlab R2011a, Octave 3.6.1 and recent R?

I wish to install Ubuntu on a new machine 64 bits. Can you help by telling me which most recent Ubuntu will be compatible and stable with Matlab (R2011a), AND a recent Octave (3.6.1), AND a recent R ,...
2
votes
1answer
113 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 ...
2
votes
1answer
1k views

Cron jobs with R scripts

I am trying to schedule cron job for an R script. I've read this question How do I set cron job and followed suggestions from first answer. I typed crontab -e In the command line and put there a ...
2
votes
1answer
2k views

X11 font -adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*, face 2 at size 11 could not be loaded

I am on Ubuntu 13.10, with R version 3.1.0 beta (2014-03-28 r65330) -- "Spring Dance" (64 bit). It is a new install and when trying to plot I am getting above error message Error in title(main = "...
2
votes
1answer
870 views

Can't use RStudio any more after trying to set up an ODBC connection to a postgreSQL database

I tried to Setup an odbc connection from R to my PostgreSQL database located on a server (package RODBC). When trying to connect the connection failed because I entered a wrong Username in the DSN ...
2
votes
0answers
908 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: http://stackoverflow.com/questions/27136523/rpy2-installation-error-os-linux-...
2
votes
1answer
273 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 ...
2
votes
1answer
211 views

Apt-get wants me to remove packages (from r-cran) that I need

Why is apt-get telling me to remove packages that I need? And how do I tell it to shut up? I'm running an EC2 with Ubuntu 14.04 and R 3.1.2 and Rstudio-server. I just ran apt-get update and upgrade ...
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
406 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 http://stat.ethz.ch/CRAN/bin/...
1
vote
2answers
2k views

Ubuntu updates blocked apt-get

last week ubuntu asked to install some updates. After doing that a series of problem came out (everything worked fine before...) and now I can't use and apt-get command because or these "missing ...
1
vote
3answers
6k views

Install older version of software and dependencies [duplicate]

I need to install R 3.0.2 because a needed library isn't compatible with 3.0.3 yet (the latest). I can install the older version of R like so: sudo apt-get install r-base=3.0.2-1precise0 However ...
1
vote
1answer
708 views

How to install latest version of rgedit in 13.04

I've got a bug in the version of RGedit in ubuntu's repository and I want to install the latest version to see if this plays better with 13.04 somehow. What do I do once I download the archive? ...
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 ...
1
vote
2answers
618 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
1answer
396 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’ (...
1
vote
1answer
143 views

Possible to call GIMP via to the commant line to flatten and export a pdf image? [duplicate]

I've got a pdf figure with millions of semi-transparent points that I made in R. I want to flatten it to reduce filesize and then export it back out as a PDF (as a vector still, not a bitmap). If ...
1
vote
1answer
11k views

How can I remove R in Ubuntu Server 12.04

I do sudo apt-get remove r-base-core and sudo apt-get remove r-base sudo apt-get remove autoremove but steel driving R in Ubuntu........