R is a programming language and software environment for statistical computing and graphics.

learn more… | top users | synonyms

0
votes
3answers
55 views

RStudio does not start with Mac OS Mavericks and R 3.1.2

I am confronted with the problem that my RStudio does not start anymore. I got the newest version of RStudio 0.98.1091 and it all started after I installed the newest version of R. After some ...
0
votes
2answers
102 views

Is there a tool that can let me visualise timestamps by day/week/month?

On our website we record thousands of events in tables each with a unique timestamp. Is there a tool that can plot for me the number of timestamps that fall within a day, week, or month, on a graph ...
2
votes
1answer
110 views

Flatten transparent pdf image in linux using command line

I'm using R to generate graphics with many transparent layers. I want the output as a pdf, but filesizes explode when there are so many transparent layers. I can manually open each one in GIMP and ...
1
vote
1answer
356 views

What is the best way to merge two sets of files, but for duplicates to select the older file in Windows?

I have stumbled into a dumb usage case. I want to merge two folders in a particular way (I guess these are called folders now, I still think of them as directories, but whatever). The folders have ...
1
vote
1answer
521 views

Error : .onLoad failed in loadNamespace() for 'cairoDevice' on a Linux Machine

After spending 1 hour searching for the solution I am posting this here. Does any one know how to install cairoDevice,package on R, Linux Server. R CMD INSTALL cairoDevice_2.19.tar.gz * installing ...
1
vote
1answer
293 views

Installing R on a custom path

When installing R (the interpreter and the shared library) the documentation says that one should follow the next steps: # <go to the R source directory> make distclean ./configure ...
1
vote
1answer
1k views

Installing R on linux (centos)

I need to install R on centos linux to an upgraded version. Currently we have 2.10 which I compiled from source but the server admin is asking me to move the install to /programs instead of ...
1
vote
1answer
333 views

AucTeX TOC with multifile document

I'm writing my PhD thesis with LaTeX-Sweave and I use EMACS with AucTex and ESS. I have a master file (master.tex) and some slave files and my question is about the use of the TOC in the slave files. ...
0
votes
1answer
7 views

Keyboard shortcut for maximize and minimize Rstudio Console

In Rstudio you can manually maximize the editor panel by clicking the icon in top-right corner. When executing code, the console will slide into view automatically, but then one has to ...
0
votes
1answer
17 views

Change R BLAS library path

Currently the R on my system using this library for `BLAS': ldd /usr/lib/R/bin/exec/R libblas.so.3gf => /usr/lib/libblas.so.3gf I want to change the path to use ACML. Is it possible to change ...
0
votes
1answer
113 views

Any alternative to using RODBC for R version 3.1.2?

I am unable to install package RODBC. I get an error. install.packages("RODBC") package ‘RODBC’ is available as a source package but not as a binary Warning in install.packages : package ‘RODBC’ is ...
0
votes
1answer
67 views

Installing pROC in RHEL 6.2 and Rcpp issue

I have R 2.15.2 installed on Linux Red Hat 6.2 and I want install pROC package but I get an error related to Rcpp package. Then I tried to install Rcpp with no success. How can achieve that?. I ...
0
votes
1answer
49 views

Same formula with different results in R and excel?

I have calculated the load for 3 water quality parameters in R for specific days for the whole year using this formula. I calculated 7 scenarios using the previous formula. Each scenario represent ...
0
votes
1answer
221 views

How to plot an R table in Linux terminal

I have a text file that I converted into a numeric vector: numbers <- scan("list_of_numbers.txt") I then put it into a table: t <- table(numbers) Which outputs like this: 1 2 ...
0
votes
1answer
178 views

Upgrade R version on Linux Red Hat 6.2

I have R 2.15.2 installed on Linux Red Hat 6.2 and I want to upgrade it to the lastest version because I cannot install some packages (like 'Rcpp', 'shiny' and others). How can achieve that? Thanks! ...
0
votes
1answer
235 views

How do i update R on Cent OS?

I am having issues finding a way to Update R on CentOS. I ran "yum remove R" and returned a successful message. But when i type R it still loads up the R environment. Do i need to remove it ...
0
votes
1answer
207 views

how to call .R script using .sh in windows

I have an analysis to run in skatMeta (R package). I received a runscript.sh that calls myfile.R to run the analysis. However, the script is written for Linux, but I only have Windows. I installed ...
0
votes
1answer
99 views

Trouble using the back arrow key in R

I am sshing to a linux server via ExtraPutty and am running R. If I type some code and then I hit the back arrow three times, I get the following output: blah blah some code^[[D^[[D^[[D The R ...
0
votes
1answer
1k views

Linux Fedora - how to create DSN of database in MySQL instance running on localhost for use by RODBC?

A few preliminaries - OS: Fedora release 16 (Verne) MySQL server version: 5.5.29 MySQL Community Server R version: 2.15.1 (2012-06-22) -- "Roasted Marshmallows" I am running a MySQL server that ...
0
votes
1answer
131 views

NppToR Error, cannot retrieve Text

I use Notepad++ to write my R-scripts and NppToR passes lines or the entire file to R which serves as a very convenient combination of programs concerning the workflow for R scripting. Now, NppToR ...
3
votes
0answers
2k views

Sublime Text - keyboard shortcut binding not functioning

Following the instructions here, I've set up a new installation of SublimeText for use with R. I have no other SublimeText plug-ins installed. The keyboard shortcuts that are setup using the ...
3
votes
0answers
121 views

Multiple linked sessions/instances of Vim and R with Vim-r-plugin

OSX 10.8. MacVim + Vim-r-plugin = Vim sends commands to R. Awesome! (Note I'm here asking about using MacVim and R.app (i.e. w/ Gui), not either in a terminal, since for this purpose I need both to ...
3
votes
0answers
555 views

Create line graph with embedded horizontal histogram

How do I create these kinds of graphs: with the horizontal histogram counting the number of times the left graphs go through a certain range? I have access to Microsoft Excel and R.
2
votes
0answers
94 views

Have anybody tested R multicore packages on 10-core Xeon how do they scale in comparison with case of 4 core machine?

Have anybody tested R multicore packages (for example : parallel, multicore, snowfall, foreach) on 10-core Xeon ? How do they scale in comparison with case of 4 core machine ? What algorith have you ...
1
vote
0answers
163 views

R Markdown editor for eclipse

Do you know of any plugin/editor that will display/handle R Markdown files (extension .Rmd) in Eclipse in a similar way as RStudio does (syntax highliting, ability to execute R code directly in the ...
1
vote
0answers
67 views

check --as-cran a R package fails because of 'example' in .Rd documentation

I have a problem as I check my R source package. In my documentation file (*.Rd) there is a example section, as long as this section is blank my check passes, but when its not blank it fails no matter ...
1
vote
0answers
56 views

R can't find RSQLite package when run in Emacs (iESS)

I have R 3.0.2 (both x64 and x86) running on Windows 7 x64. I've recently started using Emacs as a front-end to R (x64) via the iESS mode. This normally works well, the only catch is that I have to ...
1
vote
0answers
196 views

How do you use R in Scribus render frames?

Scribus (1.4) supports directly generating and embedding output from external programs via render frames, but the default installation only supports LaTeX, Lilypond, Gnuplot, Dot and POV-Ray. Others ...
1
vote
0answers
176 views

RuleFit Package

I am using the RuleFit package in R and I create a rulefit model. However, when I run the function rules() I get the error message: /bin/sh: xterm: command not found I am not sure why I am getting ...
1
vote
0answers
325 views

How to install R with homebrew with Java support?

I have been trying to install the R language with Homebrew but when I install Java packages like iplots I get the following error: * installing *source* package ‘iplots’ ... ** R ** inst ** preparing ...
0
votes
0answers
159 views

Installing R on RHEL 7

Hoping you are doing well. I'm trying to install R on RHEL 7. I'm using epel-release-7-2.noarch.rpm and resolved many dependencies (one by one by manual .rpm installation) but at the end of the ...
0
votes
0answers
32 views

Changes in level of compression between different versions?

I used the save function with xz compression as in save(a, b, file = "c.RData", compress="xz") This produced a file of different size on my disk (11589212 vs. 1162284 bytes) switching from R.3.1.1 ...
0
votes
0answers
39 views

'personal library' errors when installing R packages

When installing the following R packages, it prompts for using a "personal library": > install.packages('mime', 'digest', 'markdown') Warning in install.packages("mime", "digest", "markdown") : ...
0
votes
0answers
30 views

2d density graphs with R

I would like to plot a 2D density plot using R. I have a 2 dimensional data and would like to plot it in such a way that the dense part (with data points) of the graph is represented as red and less ...
0
votes
0answers
61 views

How do I add more words to an existing Aspell dictionary?

I have installed Aspell dictionary to spell check my document. But in the document there are some words which are spelled incorrectly but I do not want Aspell to detect those as incorrect. So, ...
0
votes
0answers
64 views

acer aspire 7741Z-5731 Restarts itself

I turn on the laptop and it turn on as it usually would but once it gets to the first screen of "acer empowering people" it restarts itself and it does it over and over. I try tapping F8 so that I can ...
0
votes
0answers
46 views

Stanford Wrangler ideal, but imposes limits, what are other options?

Stanford Wrangle tool is quite amazing, and I solved a giant problem with it, but it limits me to very small size. My file is about 500MB, and it allows me to process less than 1MB, the remaining data ...
0
votes
0answers
501 views

How to allow apache to execute R binary from PHP exec() without disabling SELinux?

I have R installed in /opt/R of webserver. I need to execute script.r (In R BATCH mode) that is on directory /var/www/html/ using PHP function exec(). SELinux is enabled in the webserver. I suppose ...