X Tutup
Skip to content

cannot install irkernel for jupyterlab #723

@ifuchs

Description

@ifuchs

I am trying to install irkernel for use with anaconda jupyterlab notebooks. I am running Mojave MacOS v10.14.1 and R v 4.2.2. I try doing:

devtools::install_github('IRkernel/IRkernel') and I get these errors:

Downloading GitHub repo IRkernel/IRkernel@HEAD

-- R CMD build --------------------------------------------------------------------------------------
checking for file '/private/var/folders/y2/38gkkc0s7d52_mr_s6zfj7m80000gq/T/RtmpE3dGEr/remotesc295v checking for file '/private/var/folders/y2/38gkkc0s7d52_mr_s6zfj7m80000gq/T/RtmpE3dGEr/remotesc295c673bda/IRkernel-IRkernel-b0ca990/DESCRIPTION' (645ms)

  • preparing 'IRkernel': (1.3s)
    v checking DESCRIPTION meta-information ...
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
    Removed empty directory 'IRkernel/example-notebooks'
  • building 'IRkernel_1.3.1.9000.tar.gz'
  • installing source package 'IRkernel' ...
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading

Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection
Calls: load -> readChar
In addition: Warning message:
In readChar(con, 5L, useBytes = TRUE) :
cannot open compressed file 'money', probable reason 'No such file or directory'
Execution halted
ERROR: lazy loading failed for package 'IRkernel'

  • removing '/Library/Frameworks/R.framework/Versions/4.2/Resources/library/IRkernel'
    Warning message:
    In i.p(...) :
    installation of package '/var/folders/y2/38gkkc0s7d52_mr_s6zfj7m80000gq/T//RtmpE3dGEr/filec297d8a949a/IRkernel_1.3.1.9000.tar.gz' had non-zero exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup