Either installation or library script does not work, telling me not such file exists

Error Information: I can't download a package successfully : there is always an error message telling me this :

Installing package into ‘C:/Users/Raphaël/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)

There is a binary version available but the source
version is later:
binary source needs_compilation
ggpubr 0.2.5 0.3.0 FALSE

installing the source package ‘ggpubr’

essai de l'URL 'https://cran.rstudio.com/src/contrib/ggpubr_0.3.0.tar.gz'
Content type 'application/x-gzip' length 2671845 bytes (2.5 MB)
downloaded 2.5 MB

  • installing source package 'ggpubr' ...
    ** package 'ggpubr' correctement décompressé et sommes MD5 vérifiées
    ** using staged installation
    ** R
    ** data
    *** moving datasets to lazyload DB
    Error in lazyLoadDBinsertVariable(vars[i], from, datafile, ascii, compress, :
    impossible d'ouvrir le fichier 'C:/Users/Raphaël/Documents/R/win-library/4.0/00LOCK-ggpubr/00new/ggpubr/data/Rdata.rdb' : No such file or directory
    ERROR: lazydata failed for package 'ggpubr'
  • removing 'C:/Users/Raphaël/Documents/R/win-library/4.0/ggpubr'
    Warning in install.packages :
    installation of package ‘ggpubr’ had non-zero exit status

The downloaded source packages are in

And when I can install a package, it seems to be impossible to get found :

Erreur : package or namespace load failed for ‘tseries’ in get(Info[i, 1], envir = env):
impossible d'ouvrir le fichier 'C:/Users/Raphaël/Documents/R/win-library/4.0/zoo/R/zoo.rdb' : No such file or directory

Description of issue - package installation problem

Steps taken so far - I tried to install Rtools which I did, did the ```
writeLines('PATH="{RTOOLS40_HOME}\\usr\\bin;{PATH}"', con = "~/.Renviron")

#### System Information:
- RStudio Edition: (Desktop or Server)
- RStudio Version: 1.2.5042
- OS Version: Windows 10
- R Version: 4.0.0

#### Also:
<!-- Depending on your issue, the following may be useful /-->
<!-- If a section isn't relevant or you can't collect it just delete that section below /-->
- RStudio diagnostics report: <!--see rstd.io/support-diagnostics-report /-->
- Your `sessionInfo()`:
- RStudio crash report: <!-- rstd.io/support-crash-report /-->
- RStudio application log files: <!-- rstd.io/support-ide-log-files /-->

From [Troubleshooting Guide: Using RStudio](https://support.rstudio.com/hc/en-us/articles/200488498-Troubleshooting-Guide-Using-RStudio)

R has problems with non-ASCII characters in your windows user name, either change your username or install into the system level package library instead.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.