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:

273 questions
63
votes
4 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
  • 803
  • 2
  • 7
  • 9
33
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
  • 1
  • 2
  • 7
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
  • 668
  • 4
  • 13
  • 27
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,060
  • 3
  • 14
  • 23
8
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
  • 181
  • 1
  • 5
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…
Goku Nymbus
  • 161
  • 1
  • 1
  • 5
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,219
  • 4
  • 17
  • 24
6
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
6
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
  • 7,384
  • 14
  • 61
  • 90
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…
user260392
  • 51
  • 1
  • 3
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.
  • 997
  • 5
  • 16
  • 24
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

Install Shiny Server and Rstudio Server on Raspberry Pi 3

I'm trying to install Rstudio server and shiny server in Raspberry Pi 3. It has a ARM architecture which is same as many chromebooks. There are serveral sources I've found but non of them seems to work. Here I'm listing the sources related to this…
Aritra Biswas
  • 51
  • 1
  • 2
4
votes
1 answer

R not reading Rprofile.site at startup

When I start R it’s meant to read from /etc/Rprofile.site first thing. I’ve verified that this isn’t happening but have no idea why or how to fix it. When I source('/etc/Rprofile.site') at startup everything goes fine. Some random things I thought…
isomorphismes
  • 1,864
  • 2
  • 20
  • 31
1
2 3
18 19