Questions tagged [r]

R is a programming language and software environment for statistical computing and graphics.  Use this tag, together with other appropriate ones, for questions that are incidentally or indirectly related to the R language — for example, how to format data for use in R programs, how to display output, or how to resolve failures when installing or running R.

Questions about programming and software design and development are off-topic at Super User; they should be asked at Stack Overflow.  Similarly, questions about the design of experiments, statistical analysis techniques and advanced data visualization are off-topic here; consider asking them at our Cross Validated site.  See:

278 questions
64
votes
5 answers

How do I check version of R language installed on my system?

I installed r language and r studio on my Fedora-20 system few months back. After that I got busy and now coming back to it. I wanted to know what my R version is, and I am unable to find any help on it. Is there any command/function I can use to…
Pensu
  • 813
34
votes
8 answers

problem with RODBC installation in Ubuntu

I have a problem with some missing headers when trying to install RODBC in R on my linux. Can anyone help me with this issue? > install.packages("RODBC") Installing package(s) into ‘/home/administrator/R/x86_64-pc-linux-gnu-library/2.12’ (as ‘lib’…
Jana
16
votes
5 answers

Installing R on RHEL 7

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 dependency resolution I got these errors: --> Finished Dependency…
MSS
  • 159
13
votes
2 answers

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 instructions in the link above don't work. I've set up my…
CaptainProg
  • 708
  • 4
  • 14
  • 28
11
votes
2 answers

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 can I configure through some config file?
Frozen Flame
  • 1,120
  • 3
  • 14
  • 23
9
votes
3 answers

Brew install R: Permission denied

When trying to install R via Brew, I get the following output and errors: ==> Pouring pcre-8.43.mojave.bottle.tar.gz cp: /usr/local/Cellar/pcre/./8.43: cp: /var/folders/3l/zsdg6x9x61g8nhnb8f6pxzvw0000gn/T/d20190415-7574-1t8em0n/pcre/./8.43: unable…
SPRBRN
  • 8,149
7
votes
1 answer

installing the latest R version (2.13.0) on Ubuntu 11.04

I just upgraded my Ubuntu desktop 10.10 to 11.04. I everything works fine except when trying to update the current R 2.12.1 to R 2.13.0. I followed the readme: http://cran.r-project.org/bin/Linux/Ubuntu/README and added deb…
Janvb
  • 171
6
votes
2 answers

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 another way first, before updating? I'm Running R Version…
6
votes
1 answer

Why is R having trouble rendering plots to a PNG file?

I am trying to get R to do some very basic plotting and such in UNIX, but am getting a weirdo error relating to X11, when as far as I can tell I'm not even needing X11. I have a matrix name d and want to save an image of a heatmap of this matrix…
jake9115
  • 1,249
5
votes
2 answers

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 locale settings. I set them back to en_US.UTF-8 as…
5
votes
5 answers

Strange, extra lines in images in .pdf saved with MS Word (happens with images from R and possibly other images)

I used MS Word 2010 to save a document as a .pdf file, and some of the images have strange, extra lines on them. This happens whether the source document is a .doc file or a .docx file: Can anyone explain what is happening, and what I can do about…
A.M.
  • 1,017
  • 5
  • 17
  • 24
5
votes
1 answer

Getting R 3.0 in Ubuntu

I am currently using R 2.15.3 (Security Blanket) in Ubuntu. R 3.0 is already released, but I could not update to it using apt-get. Will there be any trouble if I install it from tar.gz from cran website?
user59179
5
votes
2 answers

How to install "gputools" in R

I have use a self-complie R 2.15 on CentOS 6.4 All CUDA environment is correct (I have wrote CUDA C program) and I have yum installed R-devel I still can not install gputools for R Why? * config.status: creating src/Makefile config.status: creating…
user2186847
5
votes
0 answers

Is there a shortcut to insert the pipe operator (%>%) into databricks?

What is the shortcut to insert the pipe operator (%>%) into databricks? For RStudio, it is ctrl+shift+m, which doesn't work in databricks.
5
votes
1 answer

Install R 3.5.2 under Ubuntu: "jni.h: No such file or directory"

I have a problem with installing the newest version of R, an error "fatal error: jni.h: No such file or directory" that I don't understand appeared. Here is what I did before getting an error in the installation of R : #download tar.gz…
1
2 3
18 19