Questions tagged [r]

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

R is a programming language and open-source environment for statistical computing and graphics. R packages and resources are available on CRAN.

See also R on Stack Overflow.

171 questions
15
votes
4 answers

Installing/updating R 3.6 on Ubuntu 18.04

I've recently acquired a machine with Ubuntu 18.04 on it. I installed R simply with: sudo apt-get install r-base And when I call $ R in console, it starts up with: R version 3.4.4 (2018-03-15) -- "Someone to Lean On" Copyright (C) 2018 The R…
AndreyIto
  • 349
  • 1
  • 3
  • 8
12
votes
1 answer

How to install R 3.3.1 in my own directory

This is a somewhat duplicate question (see How to set PATH for R installed in my directory ) but I did meet some new problem with new version of R. I was trying install a new version of R (R 3.3.1) in my own directory. I followed my previous…
Jun
  • 531
  • 4
  • 8
  • 20
11
votes
1 answer

Lots of red in htop -- does that mean my tasks are tripping over each other?

I've read that the color red indicates "kernel processes." Does that mean little daemons that are regulating which task gets to use the CPU? And by extension, transaction costs in an oversubscribed system? I'm running some large-scale…
generic_user
  • 597
  • 2
  • 5
  • 10
10
votes
1 answer

"--with-x=yes (default) and X11 headers/libs are not available"

I am trying to install R in our cluster (the cluster is Red Hat Enterprise Linux 6), where I don't have root access. I tried: $wget http://cran.rstudio.com/src/base/R-3/R-3.1.1.tar.gz $ tar xvf R-3.1.1.tar.gz $ cd R-3.1.1 $ ./configure…
Kryo
  • 211
  • 1
  • 2
  • 5
9
votes
2 answers

error while loading shared libraries; file too short

I am working on a CentOS 7 workstation. I had installed Rstudio and it was working fine until recently. But now, if I try to launch it at http://localhost:8787/ I get an error that says Unable to connect to service I checked if R is working properly…
Satyajeet Khare
  • 103
  • 1
  • 1
  • 6
9
votes
1 answer

How to install R plotly in Debian?

I am studying data visualisation with Matrices, Eigen matrices and network graphs, and I am trying to visualise 1D ECG signal by network graphs. I feel the current tools ggnet2 and plotly may be insufficient, but I have not managed to completed the…
Léo Léopold Hertz 준영
  • 6,788
  • 29
  • 91
  • 193
9
votes
2 answers

How to Install R's devtools and digitize?

I need devtools because I need the function install_github to install the non-CRAN package digitize here. I installed R by sudo apt-get install r-cran-robustbase I did not install R's packages right away, as terdon's answer proposes, but I could…
Léo Léopold Hertz 준영
  • 6,788
  • 29
  • 91
  • 193
9
votes
1 answer

Installing openssl on R

I'm trying to install openssl inside R, using install.packages('openssl'), but I'm getting an error message: * installing *source* package ‘openssl’ ... ** package ‘openssl’ successfully unpacked and MD5 sums checked Found pkg-config cflags and…
rlbc
  • 91
  • 1
  • 4
8
votes
1 answer

Stealing and reattaching a running process

It's sunday and I left an instance of R running in the office. The script finished running, and I would like to save my workspace without going to the office. I can ssh to the computer, but I have not run the program into screen. Is there a way,…
Three Diag
  • 497
  • 4
  • 15
6
votes
5 answers

Local installation of pcre2 not detected while installing R 4.0.4 from source

I am trying to do a build and local install of R 4.0.4 on Red Hat Linux 6.8. There were several unmet dependencies which I resolved by doing local installations (following the procedure in this). However, I couldn't resolve the issue of pcre2 with…
Dronacharya
  • 161
  • 1
  • 2
6
votes
1 answer

Vim-based alternative for Emacs tramp-mode

I'm currently using vim (actually neovim) as my IDE for writing and executing GNU R-code (using the Nvim-R-plugin, see also https://github.com/jalvesaq/Nvim-R, which serves as my REPL), which works great on my local machine. When having higher…
n0542344
  • 376
  • 1
  • 15
6
votes
3 answers

Debian 9 and RStudio

I just switched to Debian following the recent release of version 9. I do a lot of work with RStudio and thus tried to install the stable and testing versions which both failed due to the missing library "libgstreamer0.10-0". It appears that a more…
5
votes
1 answer

How to install R 4.0.* on Raspbian GNU/Linux 10 (buster)?

I believe I have followed the instructions on the relevant CRAN site to update R to the newest version (currently R 4.0.5) but with no luck. I'm running $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" with R version $ R…
jay.sf
  • 173
  • 5
5
votes
1 answer

The repository 'https://cloud.r-project.org/bin/linux/ubuntu bionic Release' does not have a Release file

My computer has Linux Mint 19.1 Tessa with R version 3.6.3. I am trying to do sudo apt-get update and I am having this error: Err:21 https://cloud.r-project.org/bin/linux/ubuntu bionic Release 404 Not Found [IP:…
user435322
  • 53
  • 1
  • 1
  • 4
5
votes
3 answers

Downloading from a public server: SSL certificate problem: unable to get local issuer certificate

I want to download a file (https://discovery.ucl.ac.uk/1575442/1/Palmisanoetal.zip) from a public server via the R command temp <- tempfile() utils::download.file(db_url, temp, method = 'curl') This does not work on my Ubuntu 18.04.3 LTS…
nevrome
  • 213
  • 1
  • 4
  • 9
1
2 3
11 12