LoginSignup
0
0

More than 5 years have passed since last update.

MacにTSSSをインストールする

Posted at

例のごとくドツボりめもです.
色々あってTSSSをインストールする必要があったので,そのインストールのメモです.


TSSSとは

統計数理研究所が開発したRパッケージ
時系列解析に便利なものがいっぱい入ってる.


解決した方法

  • TSSSのコンパイルに必要なバージョンのgfortranがなかったっぽい
    • じゃあ,それをインストールしたらいいじゃない.
    • ファイル配布元
      • ここからgfortran-6.1.pkg をダウンロードしてきてインストールする.

gfortran-6.1 をインストールした上でTSSSをインストールする.

$ R CMD INSTALL --build TSSS_1.0.1.tar.gz

そうしたらできた.


どつぼりの記録

とりあえずふつーにインストールしてみる.

$ R CMD INSTALL --build TSSS_1.0.1.tar.gz

ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [TSSS.so] Error 1
ERROR: compilation failed for package ‘TSSS’
* removing ‘/Library/Frameworks/R.framework/Versions/3.5/Resources/library/TSSS’

fortran関係でエラーを吐いてる.

どつぼり.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0