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
This works for me, using R v 3.0.1 on Windows 7.
Directly download the current package from GitHub:
download.file("https://github.com/hadley/bigvis/archive/master.zip", destfile = "bigvis.zip")
Unzip it, just so that we leave nothing to chance (though you could use the .zip itself):
unzip("bigvis.zip")
and install from source:
install.packages("bigvis-master", repos = NULL, type = "source")`
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
in R, confirm g++ isn't installed (or isn't 64-bit)
Sys.which( "g++" )
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)
when the mingw-w64 installer pops up, be sure to change the architecture row from i686
to x86_64
then let it install
in the windows start
menu search bar, type environment
and an option edit the system environment variables
should pop up. click it.
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
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"
devtools:::install_github("hadley/bigvis")
should now complete successfully