> install.packages('devtools')
> devtools::install_github("statsmaths/coreNLP")
> download.file("http://nlp.stanford.edu/software/stanford-corenlp-full-2015-01-29.zip", '/path/to/save/stanford-corenlp-full-2015-01-29.zip')
> unzip('/path/to/save/stanford-corenlp-full-2015-01-29.zip')
上記のhttps://github.com/statsmaths/coreNLPの手順は機能します。R にライブラリをインストールする際に何かが起こった可能性があります。
次のコマンドを再実行して、corenlp
ラッパーを再インストールします。
> install.packages('devtools')
> devtools::install_github("statsmaths/coreNLP")
パッケージが破損していない場合は、次のように表示されます。
> devtools::install_github("statsmaths/coreNLP")
Downloading GitHub repo statsmaths/coreNLP@master
Installing coreNLP
'/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore CMD \
INSTALL '/tmp/RtmpFS9LWl/devtools667a3cdbc084/statsmaths-coreNLP-3a667c6' \
--library='/home/expert/R/x86_64-pc-linux-gnu-library/3.2' --install-tests
* installing *source* package ‘coreNLP’ ...
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (coreNLP)
Reloading installed coreNLP
それ以外の場合devtools
は、パッケージを再インストールする必要があります。