Questions tagged [r-4.0.0]

Use this tag for version specific questions about R version 4.0.0. R is a free, open-source programming language and software environment for statistical computing, bioinformatics, visualization, and general computing. When using this tag also include the more generic [r] tag where possible. For statistics related questions, use https://stats.stackexchange.com.

14 questions
9
votes
1 answer

"Debug location is approximate because the source is not available" in R 4.0.0 + RStudio

I've updated to R 4.0.0 and RStudio version 1.2.5042. I'm developing a package and I've regularly used the following workflow: Build the package from within RStudio by clicking the "Install & Restart" button (including the --with-keep.source R CMD…
Manuel R
  • 3,976
  • 4
  • 28
  • 41
7
votes
4 answers

Can't plot ggplot2 objects created with R 3.x into R 4.x imported from a RDS file

I exported a list with some ggplot2 objects into a .RDS file, generated from a R 3.6.1 session. Then, tried importing it into a R 4.0.0 session and got the following error: Error in identicalUnits(x) : old version of unit class is no longer…
Bernardo
  • 461
  • 7
  • 20
7
votes
2 answers

Warning in install.packages: converting NULL pointer to R NULL

I just upgraded to R 4.0.0 and I am now trying to reinstall the packages I use. But when I try to do so in RStudio, I have the following warning: Warning in install.packages: converting NULL pointer to R NULL I also had this sort of warning later…
bretauv
  • 7,756
  • 2
  • 20
  • 57
5
votes
2 answers

Repeated data.table fread and fwrite causes "Permission denied" error

I encountered this issue using the data.table fwrite() and fread() functions for managing resources in a parallel calculation, but was also able to recreate the behavior in the below sequential example code. Calling fwrite() throws the following…
Janus De Bondt
  • 373
  • 4
  • 19
2
votes
1 answer

Negative binomial regression in R using brm causing error when using multiple cores

I am calculating a negative binomial regression using the brm function from the brms package. As this takes quite some time, I would like to use multiple cores as suggested in the documentation. bfit_s <- brm( dep_var ~ ind_var + var1 + …
trotta
  • 1,232
  • 1
  • 16
  • 23
2
votes
1 answer

Problem installing R4.0 on LInux Mint 19.3

I'm trying to install R 4.0 on Linux Mint 19.3 but get the following error message : The following packages have unmet dependencies: r-base-core : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed Depends: libicu66 (>= 66.1-1~) but it is…
1
vote
2 answers

installing R 4.0.2 in ubuntu 18.04

I am trying to install R version 4.0.2 on ubuntu 18.04 but it shows this message: The following packages have unmet dependencies: r-base : Depends: r-base-core (>= 4.0.3-1.2004.0) but it is not going to be installed Depends: r-recommended…
1
vote
2 answers

read.csv doesn't seem to detect factors in R 4.0.0

I've recently updated to R 4.0.0 from R 3.5.1. The behaviour of read.csv seems to have changed - when I load .csv files in R 4.0.0 factors are not automatically detected, instead being recognised as characters. I'm also still running 3.5.1 on my…
Gareth
  • 11
  • 2
1
vote
1 answer

How do I solve a dependency error that prevents me from installing R 4.0 on Ubuntu 18.04?

I'm trying to install R 4.0 on Ubuntu, but get this error: $ sudo apt-get install r-base Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you…
futuraprime
  • 5,468
  • 7
  • 38
  • 58
0
votes
0 answers

RStudio 4.0.0 installation on Ubuntu 22.04 using the Makefile but the linker is unable to find libicu library

To make RStudio 4.0.0 on Ubuntu 22.04 using the given Makefile I installed libicu58.3 (icu4c) but the linker is unable to find libicu library. This is after installing JDK 1.8 and Apache Ant 1.10 to build libicu58.3. I tried: To build libicu using…
0
votes
1 answer

Cannot connect to R kernel using jupyter notebook instance on Google AI Platform

When I create a new instance following the directions here https://cloud.google.com/architecture/data-science-with-r-on-gcp-eda, the notebook cannot connect to the R kernel. It says initializing, then connecting then it disconnects. When I SSH to…
Mark
  • 195
  • 1
  • 18
0
votes
1 answer

Rtools40: Where are make utilities (bash, make, etc)?

Hi i tried to upgrade my R installation and i am not able to finish it. I installed RTools40 from here https://cran.rstudio.com/bin/windows/Rtools/ and it clearly states: "After installation is complete, you need to perform one more step to be able…
ThePatcher
  • 35
  • 8
0
votes
0 answers

R version 4.0.0 on Centos 6

Installing R.4.0.0 on Centos 6 , I obtain the below error. Error lzma version >=5.0.3 ..no. Is there a newer lzma version for Centos 6? R version 3.6 runs ok, I guess it uses lzma 4.9.
phillf
  • 1
0
votes
1 answer

How to install mixOmics packages in R version 4.0.0?

I have tried install package mixOmics but failed. The output at console below: install.packages("mixOmics") Installing package into ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/4.0’ (as ‘lib’ is unspecified) Warning in install.packages : …