Is the bigvis package for R not available for R version 3.0.1?

后端 未结 2 1013
隐瞒了意图╮
隐瞒了意图╮ 2021-01-15 10:08

I\'m developing an app designed to handle big data and was having problems graphing the data in a useful way because of the sheer amount of plot points. My initial idea was

2条回答
  •  失恋的感觉
    2021-01-15 10:45

    assuming you've got Rtools.exe installed, here are the steps to get bigvis installed if it still does not work. you need a 64-bit compiler in order to run the Rcpp package, one of the dependencies of bigvis

    1. in R, confirm g++ isn't installed (or isn't 64-bit)

      Sys.which( "g++" )

    2. download mingw-w64 - http://sourceforge.net/projects/mingw-w64/ (Since the mingw-w64 project on sourceforge.net is moving to mingw-w64.org i suggest to use mingw-w64.org)

    3. when the mingw-w64 installer pops up, be sure to change the architecture row from i686 to x86_64 then let it install

    4. in the windows start menu search bar, type environment and an option edit the system environment variables should pop up. click it.

    5. edit your PATH and add a semicolon plus the folder name of the bin directory of the mingw-w64 program that you just installed. for me, it was ;C:\Program Files\mingw-w64\x86_64-4.9.0-posix-seh-rt_v3-rev2\mingw64\bin but this will change for future versions

    6. close & re-open R and Sys.which('g++') should now indicate the mingw-x64 directory

      Sys.which('g++')
      "C:\PROGRA~1\MINGW-~1\X86_64~1.0-P\mingw64\bin\G__~1.EXE"

    7. devtools:::install_github("hadley/bigvis") should now complete successfully

提交回复
热议问题