Help us understand the problem. What is going on with this article?

jupyter/r-notebook で devtools::install_github() すると Installation failed: error in running command でコケる

More than 1 year has passed since last update.

hoxo-m 氏の pforeach を docker コンテナ jupyter/r-notebook:c54800018c2c でインストールしようとしたら tarball の展開でコケた…。Jupyter Project が提供する立派な公式コンテナなのに…。


  1. options(unzip = 'internal') する
  2. Sys.setenv(TAR = "/bin/tar") する
> install.packages("devtools", repos="") # 統数研に感謝
> getOption('unzip') # 
> options(unzip = 'internal')
> getOption('unzip')
> Sys.getenv("TAR")
> Sys.setenv(TAR = "/bin/tar") #
> Sys.getenv("TAR")

コンテナとか Jupyter の問題というより conda で作った環境の問題っぽい?。jupyter/r-notebook に gtar とか入っとらん。



  1. Jupyter notebook official r-notebook container:
  2. hoxo-m/pforeach:
  3. R で超簡単に並列処理を書けるパッケージ pforeach を作った:
  4. 'unzip' must be a single character string when calling install_github:
  5. install_github fails in conda environment on Linux:


Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away