R is a free software environment for statistical computing and graphics.

learn more… | top users | synonyms

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 ...
13
votes
1answer
22k 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 ...
9
votes
4answers
7k 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 ...
9
votes
4answers
22k 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 ...
6
votes
2answers
163 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.
6
votes
0answers
101 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 ...
4
votes
3answers
27k 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 ...
4
votes
2answers
3k views

Installing R on Ubuntu - getting updates to work

I have installed R. When I update my system it however complains that the R updates aren't authentificated. What do I have to do to authentificate them?
4
votes
1answer
406 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
2answers
7k views

how to install/upgrade r-base to 3.02?

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.
4
votes
3answers
10k 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
693 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 ...
4
votes
2answers
407 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
706 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

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 ...
3
votes
1answer
2k 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 ...
3
votes
1answer
363 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 ...
2
votes
3answers
83 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
436 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 ...
2
votes
2answers
331 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
22 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
450 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
1answer
113 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
0answers
546 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 = ...
1
vote
1answer
529 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
57 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
108 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
5k 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........
1
vote
2answers
194 views

Problems with vim-r

Getting the following error when opening an .R file in vim (vim-r installed). Error detected while processing /home/johnros/.vim/r-plugin/common_global.vim: line 3106: E484: Can't open file ...
1
vote
1answer
478 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 ...
1
vote
1answer
49 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 ...
1
vote
1answer
45 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 ...
1
vote
1answer
657 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
445 views

Unable to install Rhipe package for R version 3.0.2 in ubuntu-12.04

I have ubuntu 12.04 OS with R 3.0.2 version. My problem is I am getting message like "Rhipe packages is not available for R version 3.0.2". Please let me know in case you have a workaround or any ...
1
vote
2answers
4k 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 ...
1
vote
1answer
383 views

Trouble updating/installing newer required R

All other answers I find only end up pointing to instructions: http://cran.r-project.org/bin/linux/ubuntu/ So interpreting that site, added line: deb http://r.meteo.uni.wroc.pl/bin/linux/ubuntu ...
1
vote
1answer
41 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 ...
1
vote
1answer
327 views

can't set up java for R under ubuntu 14.10

Problem: before upgrading, under Ubuntu14.04, I just installed the default JRE and JDK, and R 3.0.2 (the default for that rev of Ubuntu),and sucessfully ran R CMD javareconf. However, since ...
1
vote
1answer
73 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.
1
vote
1answer
122 views

Highlight multiple cells according to list in Libreoffice Calc

I am new users of Calc. I would like to highlight different cells that have different Id. My aim is to copy the hole row of each of them. Here is an example what I would like to do. Id Name Age ...
1
vote
1answer
159 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
602 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 - ...
1
vote
1answer
409 views

install R library e1071 manually

I need to install e1071 library manually. I downloaded the latest package of the same. But configure, though successful and without errors, doesn't create a makefile. ./configure does the following: ...
1
vote
1answer
231 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
38 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 ...
0
votes
2answers
1k views

Can I customize the colors in my R terminal environment?

I'm running R version 2.13.1 and wondering if there is a way to get more interesting colors in the R terminal, either in bash or tk-R
0
votes
2answers
756 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 ...
0
votes
3answers
3k 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 ...
0
votes
1answer
10k views

unable to load shared object wrong ELF class: ELFCLASS32

I have a linux server with x86_64. I'm compiling an R code that needs to load a bibliblioteca. When I run this code it displays the following error has Error in dyn.load ("functions.so"): Unable to ...