2017-05-29 6 views
1

を私はDebianのジェシー・マシン上でR(バージョン3.1.1 64ビット)に「予測」パッケージをインストールしようとしています。ERROR:コンパイルがrstudioにパッケージの「rlang」を失敗しました - Debianのジェシー8.0

私は分析に必要な他のRパッケージをインストールしました。しかし、私が 'forecast'パッケージをインストールしようとすると、rlang、tipple、ggplot2という依存関係が必要です。それはエラーログ(以下に示す)のtippleから見て、ggplot2はrlangをインストールしてインストールする必要があります。

gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c sexp.c -o sexp.o

gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c splice.c -o splice.o

In file included from splice.c:2:0:

vector.h: In function ‘namespace_rlang_sym’:

vector.h:94:19: error: ‘R_DoubleColonSymbol’ undeclared (first use in this function) return(Rf_lang3(R_DoubleColonSymbol, rlang_sym, sym)); ^ vector.h:94:19: note: each undeclared identifier is reported only once for each function it appears in

/usr/lib/R/etc/Makeconf:128: recipe for target 'splice.o' failed

make: *** [splice.o] Error 1

ERROR: compilation failed for package ‘rlang’

  • removing ‘/usr/local/lib/R/site-library/rlang’

Warning in install.packages : installation of package ‘rlang’ had non-zero exit status ERROR: dependency ‘rlang’ is not available for package ‘tibble’ * removing ‘/usr/local/lib/R/site-library/tibble’

Warning in install.packages : installation of package ‘tibble’ had non-zero exit status ERROR: dependency ‘tibble’ is not available for package ‘ggplot2’ * removing ‘/usr/local/lib/R/site-library/ggplot2’

Warning in install.packages : installation of package ‘ggplot2’ had non-zero exit status ERROR: dependency ‘ggplot2’ is not available for package ‘forecast’ * removing ‘/usr/local/lib/R/site-library/forecast’

Warning in install.packages : installation of package ‘forecast’ had non-zero exit status

rlangインストールが上記のエラーメッセージで失敗します。どんな専門家の助けも大いに感謝されるでしょう。

+0

rlangの次のバージョン(8月下旬にリリース予定)は、R 3.1と互換性があります。 – lionel

答えて

1

私は問題がsame errorを生成this issueに基づいて、Rのバージョン、だと思います。 tibblerlangのような「整頓」パッケージのいくつかは最近のもので、新しいRバージョンが必要です。

So:Rバージョンを更新してみてください。最新は3.4.0です。

+0

バージョン(3.1.1-> 3.4.0)をアップグレードしてくれました。 –

+0

こんにちは、私はまだ3.4.1を3.4.0から3.4.1に更新したばかりのバージョン3.4.1を使っていますが、エラーメッセージは/usr/include/R/Rinternals.h:940:13です:エラー: 'const char * Rf_reEnc(const char *、cetype_t、cetype_t、int)'の引数2を初期化しています。 – cinqS

関連する問題