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

learn more… | top users | synonyms

18
votes
5answers
2k 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 ...
10
votes
1answer
15k 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 ...
8
votes
4answers
6k 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 ...
7
votes
4answers
17k 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
147 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.
4
votes
1answer
311 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
3answers
8k 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
636 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
322 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
696 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 ...
4
votes
0answers
62 views

Multiline R commands disappear in command line

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
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?
3
votes
2answers
4k 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.
3
votes
1answer
301 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
1answer
3k 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 ...
2
votes
1answer
657 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 ...
2
votes
1answer
346 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
326 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
380 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
29 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
340 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
3answers
18k 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 ...
1
vote
1answer
483 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
99 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
3k 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
166 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
397 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
283 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
3k 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
360 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
60 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
33 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
64 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
91 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
405 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
281 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
192 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 ...
1
vote
0answers
315 views

How to make Revobase package work in R 3.0.1?

I have just moved to Ubuntu 12.04 LTS and I am having a hard time with R packages and installation. I need to use the Revobase package. I installed it this way: sudo apt-get install revolution-r ...
0
votes
2answers
946 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
494 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
1answer
441 views

TM package is not available (for R version 3.0.2) in Ubuntu 14.04 LTS [closed]

Since I upgrade my Ubuntu to 14.04 LTS version, I can't use the Text Mining package in R. > install.packages("tm") Installing package into ‘/home/bruno/R/x86_64-pc-linux-gnu-library/3.0’ (as ...
0
votes
3answers
2k 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
5k 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 ...
0
votes
1answer
737 views

running .bat on ubuntu using wine

I needed to run a .bat file on ubuntu 10.04, so I installed wine and brought up the console. my .bat file has R scripts, and when I run start test.bat I get the following error: wine: cannot find ...
0
votes
1answer
17 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
120 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
365 views

Problem to write .csv file using R in 14.04

I just installed,I have done some mathematical calculation successfully with R. Then I try the following, > var1 <- 1:5 > var2 <- (1:5) / 10 > var3 <- c("R", "and", "Data Mining", ...
0
votes
0answers
47 views

Hadoop execstack problem

This is my first post ever, so forgive me if this is in the wrong place. I am using Hadoop 2.4.1 on Ubuntu 14.04, and I just set up RHadoop (rmr2 and rhdfs). However I keep receiving this warning ...
0
votes
0answers
240 views

RStan installation fails with internal compiler error

I'm trying to install RStan in R 3.1.1 on Ubuntu 14.04 i-386, but get the following error message: $ R > Sys.setenv(MAKEFLAGS = "-j4") > source('http://mc-stan.org/rstan/install.R', echo = ...