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

learn more… | top users | synonyms

4
votes
1answer
746 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
1answer
265 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
8 views

R (debian): Is there a way to combine install.packages() with auto-apt or similar so that missing dependencies will be installed automatically?

I have R installed on a debian system. Often there is difficulty finding all the dependencies of a certain CRAN package. Is there a way to combine install.packages() with auto-apt or similar so that ...
1
vote
1answer
149 views

R: subset lines of a dataframe containing a string in another file

I would like to subset the lines of data frame 1 (df1) that contain a string from a column in data frame 2 (df2). The problem is that file1 will have multiple strings in the same column. I have tried ...
1
vote
1answer
80 views

Right click a csv file to read in RStudio?

I would like the ability to right click on a .csv file and read it in RStudio (an IDE for the statistical language R). When I say "read it in RStudio" I mean open up RStudio with the line dat<-read....
1
vote
1answer
245 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 ...
1
vote
1answer
2k 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 ...
1
vote
1answer
603 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
559 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 --enable-...
1
vote
1answer
2k 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 /home/...
1
vote
1answer
390 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
21 views

Auto refresh Excel worksheet after changed by external application?

I have a question similar to this one but I'm just using an Excel file, no CSV involved: Open a .csv file in Excel and have it update whenever .csv file changes I have an Excel file that I ...
7
votes
0answers
4k 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 ...
4
votes
0answers
152 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 ...
2
votes
0answers
104 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
14 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 ...
1
vote
0answers
15 views

Is R portable when you do not to add registry keys during installation?

I'm not familiar with R, and its packaging system, so forgive me if this question seems uninformed. Judging from the help section in the R documentation it would seem that R is portable (R Help 2.6), ...
1
vote
0answers
220 views

installing older version of R on RHEL7 together with latest R version

I specifically need to install a second version of R on my server (running 3.2 installed by yum and uptodate) in order to comply with GenePattern (a Broad Institute bioinformatics platform). I found ...
1
vote
0answers
141 views

X11 forwarding using bsub

I would like to run an interactive R job on a server. I would also like to enable X11 forwarding so I can view my graphs. However, I am having problems. My laptop is a Mac OS 10.9.4. I have tried ...
1
vote
0answers
276 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, ...
1
vote
0answers
311 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
142 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
116 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
270 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
283 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
379 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
7 views

Why is no window loading from XQuartz when I try to choose a CRAN mirror to install a package from in R?

I'm trying to install a package in R in the terminal, and when it tells me to select a CRAN mirror, XQuartz opens but no window is created. I have a mac, and I don't know what the problem is.
0
votes
0answers
13 views

X11 error in MAC OS X

When I try to run x11 on my mac in R i get the following error: x11() Error in .External2(C_X11, d$display, d$width, d$height, d$pointsize, : unable to start device X11 In addition: ...
0
votes
0answers
27 views

Home-brew hanging for at least one hour, stuck while installing

Kuns-MacBook-Pro:~ kunzhou$ brew install rstudio-server ==> Installing rstudio-server from homebrew/science ==> Installing dependencies for homebrew/science/rstudio-server:homebrew/versions/...
0
votes
0answers
24 views

Is an R install portable?

I can't seem to find R available to download as a portable package, however the installer does offer the option to install without certain registry keys (although it does still show up in Add/Remove ...
0
votes
0answers
22 views

Command history in RStudio and .inputrc

I use these two lines in my .inputrc file so that instead of just browsing through the command history, the arrow keys make the shell to do a search/autocomplete (as discussed e.g. here on Ask Ubuntu):...
0
votes
0answers
7 views

Navigation keys not working in R installed on linux

Navigation keys not working in R installed on linux (Linux version 3.10.0-327.10.1.el7.x86_64). I am using R version 3.0.1. When I press up arrow its giving “^[[A”. Could you please suggest me how to ...
0
votes
0answers
30 views

R package not installing under windows

I have an R package that I wrote called myRpkgHere and under linux when I can install it using R CMD INSTALL myRpkgHere which yields the following output: * installing to library ‘/apps/R/install/3.1....
0
votes
0answers
95 views

Error installing Rcpp package on RHEL (using R 3.2): Unable to load shared object

Have R 3.2 on RHEL 6, and trying to install Rcpp package from source, i.e.: install.packages("Rcpp",contriburl="file:///home/msadm/R_packages") User doing the install does not have root/admin access, ...
0
votes
0answers
82 views

R memory leak issue loading large dataset

I all, I have an issue with memory usage in R. I do not really undertand how R manage the memory. As long as the datasets were small it was not a problem but with a 1 GB file loaded in the RAM a leak ...
0
votes
0answers
22 views

Can I Install R in silent mode (CLI installation) without adding a registry entry?

I would like to use the silent installation option for R when it's been called from a script of mine. Currently my command looks something like this R-3.2.3-win.exe /silent /dir="C:\rDir" and it ...
0
votes
0answers
102 views

Combing r-exec and terminal-panel functionalities in Atom

I would like to combine the functionality of r-exec in Atom with the Terminal-Panel package. In particular, I'm interested in achieving similar flexibility as illustrated in this SO answer with ...
0
votes
0answers
170 views

64-bit R fails to start, error code 0xc0000005, 32-bit R works fine (on 64-bit Win 7 Enterprise)

I have been using the 64-bit version of R for sometime now without any issues, however it suddenly stopped working yesterday following a reboot (possibly related to an update?). The 32-bit version ...
0
votes
0answers
327 views

RStudio doesn't work on Mac (OSX El Capitan 10.11.2)

So I downloaded R from CRAN (version 3.2.3) and the R Console works fine, as well as when I run R from the Terminal. I downloaded the RStudio IDE on Nov. 4th, and it had worked perfectly until ...
0
votes
0answers
54 views

Why does this Unicode character get mishandled when I ssh in from a different remote server?

Normally I ssh into a computing cluster from my work machine running OpenSUSE and submit a bash script to a condor queuing system that runs an R program. When I ssh in from my Windows 10 laptop ...
0
votes
0answers
75 views

R: how to open a running r script in rstudio

I've been running an analysis in a computer cluster that works on linux from my computer, and I run it on rstudio. This analysis takes like 12 days, so before running the r script I made a "screen" to ...
0
votes
0answers
15 views

Execute script with output directly in RStudio

When I run a script with Ctrl+Shift+S it doesn't show the output so I have to rerun it with: source('~/.active-rstudio-document', print.eval = T) How can I just directly perform the second step?
0
votes
0answers
36 views

R displays wrong title/heading for data.frame column

while doing some calculations with GNU R and RStudio, I ran into an output, I cannot explain. I have a data.frame with 100+ variables (columns) and add further ones by running this code (vl contains ...
0
votes
0answers
151 views

Why 32-bit installation of R is available in 64-bit machines?

I wanted to know why, when you install R for Windows on a x64 machine, it lets you choose between installing 64-bit,32-bit, or both. I don't understand why would you want to install 32-bit version of ...
0
votes
0answers
24 views

How can I stop R writing so much to disk?

I have a situation where I need to write lines to a file in a loop (I know, boo loops in R) with write(...,append=TRUE) but other than that nothing should be written to any other file. Yet when I ...
0
votes
0answers
81 views

R : rgl displaying issue (black windows) on linux

I installed the rgl package for R on my new computer running on Linux Mint 17. I followed the advices found on several forum as I already did on my previous computer to solve my issues. So, rgl is ...
0
votes
0answers
154 views

how to set environment variables in VM Fusion Windows 7

I have installed windows 7 just fine via VM Fusion, but am having trouble setting environment variables, as i cannot edit files on the C: drive. A specific example is the trouble i'm having with R (...
0
votes
0answers
57 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
802 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 ...