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

learn more… | top users | synonyms

0
votes
2answers
94 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
79 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 ...
2
votes
1answer
514 views

R locale setting problems on Mac OS X

I'm trying to install packages in R using Mac OS X, but I keep getting tar: Failed to set default locale errors for any package I try. After Googling around I found that this was due to unexpected ...
1
vote
1answer
275 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
417 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
238 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
315 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
24 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
35 views

Anyone know how to set Notepad++ as default text editor for SAS, Stata and R?

Anyone know how to set Notepad++ as default text editor for SAS, Stata and R? I'm having the hardest time finding anything online (particularly for SAS). Looking for ability to run code from ...
0
votes
1answer
58 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
48 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
58 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
764 views

Change RStudio library path at home directory

Each time RStudio starts, it checks and creates ~/R if it doesn't exist. I want to change this path elsewhere. How can I do this configuration? I know that HOME=/some/path rstudio will work. But ...
0
votes
1answer
150 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
77 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
855 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
122 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
107 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
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 ...
2
votes
0answers
479 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
91 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
47 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
31 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
177 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
152 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
308 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
29 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
79 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 ...
0
votes
0answers
199 views

View more than 1000 rows in Rstudio

How can I view more than 1000 rows Rstudio because the view command show me only 1000 rows instead of 103400 in my data file. library(foreign) stata <- ...
0
votes
0answers
56 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
43 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
95 views

block bootstrap for panel data

I want to obtain "Block Bootstrap" 95% confidence intervals for a panel data analysis. Does anyone knows a routine or code for R or Stata in which one can do this analysis for panel data. I would ...
0
votes
0answers
202 views

Installing R core rpms on centos - Need a best way to resolve dependencies

I am newbie to the Linux. I need to know the best way to handle the dependencies. The issue is, I need to install R - core and R - dev (R language packages) on an platenized centos linux host on ...
0
votes
0answers
40 views

Getting RQuantLib to work in R 3.0.2

I have installed the latest version of R from apt. When I try to install the RQuantlib package, I get an error because Quantlib is not installed. When I try to install QuantLib, it says that the ...
0
votes
0answers
406 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 ...
-1
votes
0answers
12 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 ...