GithubHelp home page GithubHelp logo

bigvis's People

Contributors

hadley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bigvis's Issues

Reference class “Rcpp_BinnedVector” causing issues on Ubuntu 12.04 64-bit, R3.0.1 "Good Sport"

I may well be doing something wrong, so all corrections etc are welcomed; last night I installed and tested bigvis on my Mac (OSX 10.8, R 3.0.0) and all worked just fine.

This morning I've tried to install on my Linux machine at work to limited success: it appears that Rcpp_BinnedVector objects are causing issues with standardise(), and autoplot() and likely more.

In more detail:

1. This is my system and the log output from my install:

jon@jon-pc:~$ cat /etc/issue
Ubuntu 12.04.2 LTS \n \l

jon@jon-pc:~$ R --version
R version 3.0.1 (2013-05-16) -- "Good Sport"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R> require(devtools)
Loading required package: devtools
R> install_github("bigvis")
Installing github repo(s) bigvis/master from hadley
Installing bigvis.zip from https://github.com/hadley/bigvis/archive/master.zip
Installing bigvis
'/usr/lib/R/bin/R' --vanilla CMD INSTALL '/tmp/RtmpVfhAjO/bigvis-master' --library='/home/jon/R/library' --with-keep.source 

* installing *source* package 'bigvis' ...
** libs
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c BigVis.cpp -o BigVis.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c BinnedVector.cpp -o BinnedVector.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c BinnedVectors.cpp -o BinnedVectors.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c RcppExports.cpp -o RcppExports.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c Summary2d.cpp -o Summary2d.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c condense.cpp -o condense.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c double-diff-sum.cpp -o double-diff-sum.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c frange.cpp -o frange.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c group.cpp -o group.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c lowerBound.cpp -o lowerBound.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c smooth-nd.cpp -o smooth-nd.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c stats.cpp -o stats.o
g++ -I/usr/share/R/include -DNDEBUG -I../inst/include  -I"/home/jon/R/library/Rcpp/include" -I"/home/jon/R/library/BH/include"   -fpic  -O3 -pipe  -g  -c summary.cpp -o summary.o
g++ -shared -o bigvis.so BigVis.o BinnedVector.o BinnedVectors.o RcppExports.o Summary2d.o condense.o double-diff-sum.o frange.o group.o lowerBound.o smooth-nd.o stats.o summary.o -L/home/jon/R/library/Rcpp/lib -lRcpp -Wl,-rpath,/home/jon/R/library/Rcpp/lib -L/usr/lib/R/lib -lR
installing to /home/jon/R/library/bigvis/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
in method for 'show' with signature '"Rcpp_BinnedVector"': no definition for class "Rcpp_BinnedVector"
in method for 'as.integer' with signature '"Rcpp_BinnedVector"': no definition for class "Rcpp_BinnedVector"
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (bigvis)
Reloading installed bigvis

Attaching package: ‘bigvis’

The following object is masked from ‘package:stats’:

    smooth

2. ... and then my initial test fails:

R> require(bigvis)
R> bin(rbeta(1e6,10,2))
Binned [1000000]. Width: 1e-04 Origin: 0.2259
R> standardise(bin(rbeta(1e6,10,2)))
Error in envRefInferField(x, what, getClass(class(x)), selfEnv) : 
  ‘.count’ is not a valid field or method name for reference class “Rcpp_BinnedVector”

3. Just to narrow down I tried using autoplot:

R> require(ggplot2)
Loading required package: ggplot2

Attaching package: ‘ggplot2’

The following object is masked from ‘package:bigvis’:

    movies

R> autoplot(bin(rbeta(1e6,10,2)))
Error: Objects of type Rcpp_BinnedVector not supported by autoplot.  Please use qplot() or ggplot() instead.

It would appear that something's up with my “Rcpp_BinnedVector” objects. Any ideas?

Much thanks, Jon

Help installing bigvis package

Hello! I recently learned about your package and really want to try it on my R Shiny app.

I have a problem installing it. I've done:

install_github("devtools") install.packages("bigVis")

Warning in install.packages :
package ‘bigVis’ is not available (for R version 3.0.1)
I've also done:

install_github("devtools") devtools::install_github("bigvis")

  • installing source package 'bigvis' ...
    ** libs

*** arch - i386
ERROR: compilation failed for package 'bigvis'

  • removing 'C:/Program Files/R/R-3.0.1/library/bigvis'
    Error: Command failed (1)

Is it not avaialble for R-3.0.1? if not, can I downgrade? Also, would other users be able to see bigvis plots if I uploaded this app to the web?

Should summarise functions accept limits?

It is a common operation that can be done quickly at the C++ level (just by ignoring the appropriate rows), no need to make a copy.

Another option would be to implement vector views, perhaps with matching c++ methods.

bin_1d isn't defined.

It doesn't appear to be defined in the source.

load_all('path/to/bigvis')
bin_1d

returns Error: object 'bin_1d' not found

Standardise function inputs

summarise_1d(x, width, z = NULL, w = NULL, summary = NULL, origin = NULL)

summarise_2d(x, y, x_width, y_width, z = NULL, w = NULL, summary = NULL, 
  x_origin = NULL, y_origin = NULL)

smooth_1d(binsum, width = NULL, vars = NULL, grid = NULL, 
  n = nrow(binsum) - 1, standardise = TRUE) 

Can't install bigvis in Linux

I am trying to install bigvis. I had follow most of the discussion, but it still doesn't work

The error message:

install_github('hadley/bigvis')
Downloading github repo hadley/bigvis@master
Installing bigvis
'/home/linyenheng/bin/lib64/R/bin/R' --vanilla CMD INSTALL
'/tmp/RtmpafybKD/devtools392a1b514819/hadley-bigvis-1cdfdc2'
--library='/home/linyenheng/bin/lib64/R/library' --install-tests

  • installing source package ‘bigvis’ ...
    ** libs
    g++ -I/home/linyenheng/bin/lib64/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/home/linyenheng/bin/lib64/R/library/Rcpp/include" -I"/home/linyenheng/bin/lib64/R/library/BH/include" -fpic -g -O2 -c BigVis.cpp -o BigVis.o
    g++ -I/home/linyenheng/bin/lib64/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/home/linyenheng/bin/lib64/R/library/Rcpp/include" -I"/home/linyenheng/bin/lib64/R/library/BH/include" -fpic -g -O2 -c BinnedVector.cpp -o BinnedVector.o
    g++ -I/home/linyenheng/bin/lib64/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/home/linyenheng/bin/lib64/R/library/Rcpp/include" -I"/home/linyenheng/bin/lib64/R/library/BH/include" -fpic -g -O2 -c BinnedVectors.cpp -o BinnedVectors.o
    g++ -I/home/linyenheng/bin/lib64/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/home/linyenheng/bin/lib64/R/library/Rcpp/include" -I"/home/linyenheng/bin/lib64/R/library/BH/include" -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o
    g++ -I/home/linyenheng/bin/lib64/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/home/linyenheng/bin/lib64/R/library/Rcpp/include" -I"/home/linyenheng/bin/lib64/R/library/BH/include" -fpic -g -O2 -c Summary2d.cpp -o Summary2d.o
    g++ -I/home/linyenheng/bin/lib64/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/home/linyenheng/bin/lib64/R/library/Rcpp/include" -I"/home/linyenheng/bin/lib64/R/library/BH/include" -fpic -g -O2 -c condense.cpp -o condense.o
    g++ -I/home/linyenheng/bin/lib64/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/home/linyenheng/bin/lib64/R/library/Rcpp/include" -I"/home/linyenheng/bin/lib64/R/library/BH/include" -fpic -g -O2 -c double-diff-sum.cpp -o double-diff-sum.o
    g++ -I/home/linyenheng/bin/lib64/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/home/linyenheng/bin/lib64/R/library/Rcpp/include" -I"/home/linyenheng/bin/lib64/R/library/BH/include" -fpic -g -O2 -c frange.cpp -o frange.o
    g++ -I/home/linyenheng/bin/lib64/R/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/home/linyenheng/bin/lib64/R/library/Rcpp/include" -I"/home/linyenheng/bin/lib64/R/library/BH/include" -fpic -g -O2 -c group.cpp -o group.o
    In file included from /home/linyenheng/bin/lib64/R/library/Rcpp/include/Rcpp.h:40,
    from group.cpp:1:
    /home/linyenheng/bin/lib64/R/library/Rcpp/include/Rcpp/Fast.h: In constructor ‘Rcpp::Fast::Fast(const VECTOR&) [with VECTOR = Rcpp::Vector<14, Rcpp::PreserveStorage>]’:
    group-hex.hpp:23: instantiated from here
    /home/linyenheng/bin/lib64/R/library/Rcpp/include/Rcpp/Fast.h:31: error: invalid conversion from ‘const Rcpp::traits::storage_type::type_’ to ‘Rcpp::traits::storage_type::type_’
    make: *** [group.o] Error 1
    ERROR: compilation failed for package ‘bigvis’
  • removing ‘/home/linyenheng/bin/lib64/R/library/bigvis’
    Error: Command failed (1)

Thank You

install issue under R 3.0.0

Hi,
I get the following error message under R 3.0.0 in RStudio 0.97.336
...

  • building 'bigvis_0.1.tar.gz'
    Warning in utils::tar(filepath, pkgname, compression = "gzip", compression_level = 9L, :
    number of items to replace is not a multiple of replacement length
    thanks
    michael

Unable to install bigvis on Mac RStudio

Version Details:

platform x86_64-apple-darwin10.8.0
arch x86_64
os darwin10.8.0
system x86_64, darwin10.8.0
status
major 3
minor 1.0
year 2014
month 04
day 10
svn rev 65387
language R
version.string R version 3.1.0 (2014-04-10)
nickname Spring Dance

Installed packages

install.packages("Rcpp", type = "source")
.. trying URL 'http://cran.rstudio.com/src/contrib/Rcpp_0.11.5.tar.gz'

devtools::has_devel()
[1] TRUE

Verified that RCpp is working correctly

library(Rcpp)
cppFunction('

  • int one() {
  • return 1;
    
  • }
  • ')
    one()
    [1] 1

Error:

devtools::install_github("hadley/bigvis")

In file included from group.cpp:1:
In file included from /Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include/Rcpp.h:40:
/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include/Rcpp/Fast.h:31:38: error: cannot initialize a member subobject of type 'value_type ' (aka 'double *') with an rvalue of type 'const_iterator' (aka 'const double *')
Fast( const VECTOR& v
) : v(v_), data( v_.begin() ){}
^ ~~~~~~~~~~
./group-hex.hpp:22:10: note: in instantiation of member function 'Rcpp::Fast<Rcpp::Vector<14, PreserveStorage> >::Fast' requested here
: x_(x), y_(y), x_width_(x_width), x_origin_(x_origin),
^
1 error generated.
make: *_* [group.o] Error 1
ERROR: compilation failed for package ‘bigvis’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/bigvis’
    Error: Command failed (1)

lowerBound in weighted.quantile function

You have used lowerBound function inside the script of weighted.quantile function.
[weighted.quantile <- function (x, w, probs = seq(0, 1, 0.25), na.rm = FALSE) {
stopifnot(length(x) == length(w))
na <- is.na(x) | is.na(w)
if (any(na)) {
if (na.rm) {
x <- x[!na]
w <- w[!na]
} else {
stop("Missing values not allowed when na.rm is FALSE", call. = FALSE)
}
}

Ensure x and w in ascending order of x

ord <- order(x)
x <- x[ord]
w <- w[ord]

Find closest x just below and above index

n <- sum(w)
index <- 1 + (n - 1) * probs
j <- floor(index)

wts <- cumsum(w)
lo <- x[lowerBound(j, wts)] # X_j
hi <- x[lowerBound(j + 1, wts)]

g <- index - j
ifelse(lo == hi, lo, (1 - g) * lo + g * hi)
}
]

But the lowerBound function does not exist in R.

?lowerBound
No documentation for ‘lowerBound’ in specified packages and libraries:
you could try ‘??lowerBound

??lowerBound also showed there is no such function in R.

So, How does it run inside your script???

How can I install BigVis on Mac OSX 10.7, R version 3.1.1??

I have searched all over the internet and posted questions but none has solved my problem. I am simply trying to install BigVis on my computer (Mac OSX 10.7). I have installed XCode and command line tools but when I run:

install.packages('devtools')
library(devtools)
devtools::install_github("bigvis")

I get the following error:
Error in username %||% getOption("github.user") %||% stop("Unknown username.") :
Unknown username.

I then try again with:
install.packages('devtools')
library(devtools)
devtools::install_github("hadley/bigvis")

But I get a new type of error. This one:
cc1: error: /usr/local/include: Permission denied
cc1: error: /usr/local/include: Permission denied
make: *** [reassign.o] Error 1
ERROR: compilation failed for package ‘testthat’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/testthat’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/testthat’
Error: Command failed (1)

I don't understand what is going on and what am I to do now?!?!!

Compilation Error installing bigvis on R 3.0.0

Dear Hadley,

I tried to install BIGVIS, however it resulted in an error. This is my R-console result.
(I am running R 3.0.0 on windows XP)

devtools::install_github("bigvis")
Installing github repo(s) bigvis/master from hadley
Installing bigvis.zip from https://github.com/hadley/bigvis/archive/master.zip
Installing bigvis
"C:/PROGRA1/R/R-301.0/bin/i386/R" --vanilla CMD INSTALL "C:\Documents and
Settings\fpadt.HKM001MOB120\Local Settings\Temp\RtmpOCr8Ir\bigvis-master"
--library="C:/Program Files/R/R-3.0.0/library" --with-keep.source

  • installing source package 'bigvis' ...
    ** libs
    ERROR: compilation failed for package 'bigvis'
  • removing 'C:/Program Files/R/R-3.0.0/library/bigvis'
    Error: Command failed (1)

Connections to product plots?

Can I use similar syntax? How should binning fit into the pp framework? What about smoothing? (Maybe just drawing the top of the bars instead of the lines?)

Density estimates as limits of histograms as binwidth goes to 0. More 2d binning primitives can for categorical. What about for higher 2d?

Existing plots that might fit into the pp framework

  • frequency polygons
  • pyramid plots
  • conditional density estimates
  • density strips? use amount of ink to convey density

Unclear that autoplot is part of ggplot2 and not bigvis

Just a minor confusion on my part but I thought it worth pointing out. I installed bigvis on R 3.0 and tried to create a plot using the following simple example:

library(bigvis)
x <- runif(1e6)
y <- bin(x)
z <- condense(y)
autoplot(z)
# Error: could not find function "autoplot"
library(ggplot2)
autoplot(z)
# Success

My expectation (based on the README) was that autoplot would be an automatically available upon loading bigvis. But since bigvis only suggests ggplot2 this obviously isn't the case. Perhaps this should be clarified in the README.

bigvis not installing on windows

tried this on two separate computers, both had the same issue. this stackoverflow question asks something very similar, but the thread was unresolved: http://stackoverflow.com/questions/18151988/is-the-bigvis-package-for-r-not-available-for-r-version-3-0-1

devtools:::find_rtools()

[1] TRUE

 sessionInfo()

R version 3.1.0 (2014-04-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached):
[1] devtools_1.5 digest_0.6.4 evaluate_0.5.5 httr_0.3 memoise_0.2.1 parallel_3.1.0 RCurl_1.95-4.1 stringr_0.6.2 tools_3.1.0 whisker_0.3-2

devtools::install_github("bigvis")

Installing github repo bigvis/master from hadley
Downloading master.zip from https://github.com/hadley/bigvis/archive/master.zip
Installing package from C:\Users\AnthonyD\AppData\Local\Temp\2\RtmpM1J5oV/master.zip
Installing bigvis
Installing dependencies for bigvis:
BH, ggplot2
Installing packages into ‘C:/Users/AnthonyD/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
also installing the dependency ‘gtable’

trying URL 'http://cran.case.edu/bin/windows/contrib/3.1/gtable_0.1.2.zip'
Content type 'application/zip' length 63691 bytes (62 Kb)
opened URL
downloaded 62 Kb

trying URL 'http://cran.case.edu/bin/windows/contrib/3.1/BH_1.54.0-2.zip'
Content type 'application/zip' length 10218171 bytes (9.7 Mb)
opened URL
downloaded 9.7 Mb

trying URL 'http://cran.case.edu/bin/windows/contrib/3.1/ggplot2_1.0.0.zip'
Content type 'application/zip' length 2675999 bytes (2.6 Mb)
opened URL
downloaded 2.6 Mb

package ‘gtable’ successfully unpacked and MD5 sums checked
package ‘BH’ successfully unpacked and MD5 sums checked
package ‘ggplot2’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\AnthonyD\AppData\Local\Temp\2\RtmpM1J5oV\downloaded_packages
"C:/PROGRA1/R/R-311.0/bin/x64/R" --vanilla CMD INSTALL "C:\Users\AnthonyD\AppData\Local\Temp\2\RtmpM1J5oV\devtools2700dc66f71\bigvis-master"
--library="C:/Users/AnthonyD/Documents/R/win-library/3.1" --install-tests

  • installing source package 'bigvis' ...
    ** libs

*** arch - i386
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA1/R/R-311.0/etc/i386/Makeconf" -f "C:/PROGRA1/R/R-311.0/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="bigvis.dll" OBJECTS="BigVis.o BinnedVector.o BinnedVectors.o RcppExports.o Summary2d.o condense.o double-diff-sum.o frange.o group.o lowerBound.o smooth-nd.o stats.o summary.o"' had status 127
ERROR: compilation failed for package 'bigvis'

  • removing 'C:/Users/AnthonyD/Documents/R/win-library/3.1/bigvis'
    Error: Command failed (1)

Can't install with Rcpp 0.11.4

On Windows 7 with
R-3.1.2
Rtools 3.1.0.1942
RStudio
Rcpp 0.11.4

I could not install bigvis:

devtools::install_github("hadley/bigvis")
Downloading github repo hadley/bigvis@master
Installing bigvis
"C:/PROGRA1/R/R-311.2/bin/x64/R" --vanilla CMD INSTALL
"C:/Users/Adele/AppData/Local/Temp/RtmpoHyKvh/devtoolsd3c2658b23/hadley-bigvis-1cdfdc2"
--library="C:/Users/Adele/Documents/R/win-library/3.1" --install-tests

  • installing source package 'bigvis' ...
    ** libs

*** arch - i386
g++ -m32 -I"C:/PROGRA1/R/R-311.2/include" -DNDEBUG -I../inst/include -I"C:/Users/Adele/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/Adele/Documents/R/win-library/3.1/BH/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c BigVis.cpp -o BigVis.o

LINES DELETED HERE

g++ -m32 -I"C:/PROGRA1/R/R-311.2/include" -DNDEBUG -I../inst/include -I"C:/Users/Adele/Documents/R/win-library/3.1/Rcpp/include" -I"C:/Users/Adele/Documents/R/win-library/3.1/BH/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include" -O2 -Wall -mtune=core2 -c group.cpp -o group.o
In file included from C:/Users/Adele/Documents/R/win-library/3.1/Rcpp/include/Rcpp.h:40:0,
from group.cpp:1:
C:/Users/Adele/Documents/R/win-library/3.1/Rcpp/include/Rcpp/Fast.h: In constructor 'Rcpp::Fast::Fast(const VECTOR&) [with VECTOR = Rcpp::Vector<14, Rcpp::PreserveStorage>]':
group-hex.hpp:23:48: instantiated from here
C:/Users/Adele/Documents/R/win-library/3.1/Rcpp/include/Rcpp/Fast.h:31:55: error: invalid conversion from 'Rcpp::Vector<14, Rcpp::PreserveStorage>::const_iterator {aka const double_}' to 'Rcpp::Fast<Rcpp::Vector<14, Rcpp::PreserveStorage> >::value_type_ {aka double_}' [-fpermissive]
make: *_* [group.o] Error 1
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA1/R/R-311.2/etc/i386/Makeconf" -f "C:/PROGRA1/R/R-311.2/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="bigvis.dll" OBJECTS="BigVis.o BinnedVector.o BinnedVectors.o RcppExports.o Summary2d.o condense.o double-diff-sum.o frange.o group.o lowerBound.o smooth-nd.o stats.o summary.o"' had status 2
ERROR: compilation failed for package 'bigvis'

  • removing 'C:/Users/Adele/Documents/R/win-library/3.1/bigvis'
    Error: Command failed (1)

The problem was fixed when I installed Rcpp 0.11.3.

Adele

hadley/bigvis installation issues

Hi folks, I've been trying to install bigvis but to no avail.
Tried solutions at Stackoverflow, reinstalling Rccp, Rtools and so on.
Can anyone help? Here's the error.

devtools::install_github('hadley/bigvis')
Downloading github repo hadley/bigvis@master
Installing bigvis
'/usr/lib64/R/bin/R' --no-site-file --no-environ --no-save --no-restore CMD INSTALL '/tmp/RtmpBrMC0O/devtools4c14aefc35b/hadley-bigvis-1cdfdc2'
--library='/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2' --install-tests

  • installing source package ‘bigvis’ ...
    ** libs
    g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/BH/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c BigVis.cpp -o BigVis.o
    g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/BH/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c BinnedVector.cpp -o BinnedVector.o
    g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/BH/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c BinnedVectors.cpp -o BinnedVectors.o
    g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/BH/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c RcppExports.cpp -o RcppExports.o
    g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/BH/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c Summary2d.cpp -o Summary2d.o
    g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/BH/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c condense.cpp -o condense.o
    g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/BH/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c double-diff-sum.cpp -o double-diff-sum.o
    g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/BH/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c frange.cpp -o frange.o
    g++ -I/usr/share/R/include -DNDEBUG -I../inst/include -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include" -I"/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/BH/include" -fpic -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -c group.cpp -o group.o
    In file included from /home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include/Rcpp.h:40,
    from group.cpp:1:
    /home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include/Rcpp/Fast.h: In constructor ‘Rcpp::Fast::Fast(const VECTOR&) [with VECTOR = Rcpp::Vector<14, Rcpp::PreserveStorage>]’:
    group-hex.hpp:23: instantiated from here
    /home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include/Rcpp/Fast.h:31: error: invalid conversion from ‘const double_’ to ‘double_’
    make: *** [group.o] Error 1
    ERROR: compilation failed for package ‘bigvis’
  • removing ‘/home/stephen.moore/R/x86_64-pc-linux-gnu-library/3.2/bigvis’
    Error: Command failed (1)

Error installing bigvis package

Hi,

I'm trying to install bigvis package on OS X with R version 3.0.2.
I get the following error:

> devtools::install_github("bigvis")
Installing github repo bigvis/master from hadley
Downloading bigvis.zip from https://github.com/hadley/bigvis/archive/master.zip
Installing package from /var/folders/3f/_zkl_z552jg83n5qcjw6s59h0000gn/T//Rtmpu6fGpR/bigvis.zip
arguments 'minimized' and 'invisible' are for Windows only
Installing bigvis
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD INSTALL  \
  '/private/var/folders/3f/_zkl_z552jg83n5qcjw6s59h0000gn/T/Rtmpu6fGpR/devtools5bf3f1f792d/bigvis-master'  \
  --library='/Library/Frameworks/R.framework/Versions/3.0/Resources/library'  \
  --install-tests 

* installing *source* package 'bigvis' ...
** libs
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c BigVis.cpp -o BigVis.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c BinnedVector.cpp -o BinnedVector.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c BinnedVectors.cpp -o BinnedVectors.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c RcppExports.cpp -o RcppExports.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c Summary2d.cpp -o Summary2d.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c condense.cpp -o condense.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c double-diff-sum.cpp -o double-diff-sum.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c frange.cpp -o frange.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c group.cpp -o group.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c lowerBound.cpp -o lowerBound.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c smooth-nd.cpp -o smooth-nd.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c stats.cpp -o stats.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I../inst/include -I/usr/local/include -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.0/Resources/library/BH/include"   -fPIC  -mtune=core2 -g -O2  -c summary.cpp -o summary.o
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -L/usr/local/lib -o bigvis.so BigVis.o BinnedVector.o BinnedVectors.o RcppExports.o Summary2d.o condense.o double-diff-sum.o frange.o group.o lowerBound.o smooth-nd.o stats.o summary.o /Library/Frameworks/R.framework/Versions/3.0/Resources/library/Rcpp/lib/libRcpp.a -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Library/Frameworks/R.framework/Versions/3.0/Resources/library/bigvis/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
in method for 'show' with signature '"Rcpp_BinnedVector"': no definition for class "Rcpp_BinnedVector"
in method for 'as.integer' with signature '"Rcpp_BinnedVector"': no definition for class "Rcpp_BinnedVector"
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/bigvis/libs/bigvis.so':
  dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/bigvis/libs/bigvis.so, 6): Symbol not found: __Z8demangleRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE
  Referenced from: /Library/Frameworks/R.framework/Versions/3.0/Resources/library/bigvis/libs/bigvis.so
  Expected in: flat namespace
 in /Library/Frameworks/R.framework/Versions/3.0/Resources/library/bigvis/libs/bigvis.so
Error: loading failed
Execution halted
ERROR: loading failed
* removing '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/bigvis'
Error: Command failed (1)

Error when compiling in R

~/R/x86_64-pc-linux-gnu-library/3.2/Rcpp/include/Rcpp/Fast.h:31:55: error: invalid conversion from ‘Rcpp::Vector<14, Rcpp::PreserveStorage>::const_iterator {aka const double_}’ to ‘Rcpp::Fast<Rcpp::Vector<14, Rcpp::PreserveStorage> >::value_type_ {aka double*}’ [-fpermissive]
Fast( const VECTOR& v_) : v(v_), data( v_.begin() ){}

`weighted.median(NA, na.rm=T)` returns `logical(0)`, expected `NA_real_`

I'd propose that weighted.median function returns NA_real_ instead of logical(0), when all x are NAs:

weighted.median(NA, 1, na.rm=T) # returns `logical(0)`

The problem with logical(0) output is that calculating weighted mean summaries by group causes an error when using dplyr::group_by and dplyr::summarise

  ## Column 2 of result for group 2 is type 'double' but expecting type 'logical'. Column types must be consistent for each group. 

Error installing bigVis package

Hi, I am getting similar error mentioned in #28. I tried suggestions from Hadley but still it is not fixed.

I installed "Rcpp" first then tried to install "bigVis" as follows:
install_github("hadley/bigvis")

The error I got is as follows:

"C:/PROGRA~1/R/R-31~1.0/bin/i386/R" --vanilla CMD INSTALL "C:/Users/Janesh  \
  Devkota/AppData/Local/Temp/Rtmpg3Sw85/devtools247831be22f5/hadley-bigvis-1cdfdc2" --library="C:/Program Files/R/R-3.1.0/library"  \
  --install-tests 
- installing _source_ package 'bigvis' ...
  *\* libs

**\* arch - i386
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.0/include" -DNDEBUG -I../inst/include   -I"C:/Program Files/R/R-3.1.0/library/Rcpp/include" -I"C:/Program Files/R/R-3.1.0/library/BH/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2 -Wall  -mtune=core2 -c BigVis.cpp -o BigVis.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.0/include" -DNDEBUG -I../inst/include   -I"C:/Program Files/R/R-3.1.0/library/Rcpp/include" -I"C:/Program Files/R/R-3.1.0/library/BH/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2 -Wall  -mtune=core2 -c BinnedVector.cpp -o BinnedVector.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.0/include" -DNDEBUG -I../inst/include   -I"C:/Program Files/R/R-3.1.0/library/Rcpp/include" -I"C:/Program Files/R/R-3.1.0/library/BH/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2 -Wall  -mtune=core2 -c BinnedVectors.cpp -o BinnedVectors.o
BinnedVectors.cpp: In member function 'int BinnedVectors::bin(std::vector<double>) const':
BinnedVectors.cpp:17:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.0/include" -DNDEBUG -I../inst/include   -I"C:/Program Files/R/R-3.1.0/library/Rcpp/include" -I"C:/Program Files/R/R-3.1.0/library/BH/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2 -Wall  -mtune=core2 -c RcppExports.cpp -o RcppExports.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.0/include" -DNDEBUG -I../inst/include   -I"C:/Program Files/R/R-3.1.0/library/Rcpp/include" -I"C:/Program Files/R/R-3.1.0/library/BH/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2 -Wall  -mtune=core2 -c Summary2d.cpp -o Summary2d.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.0/include" -DNDEBUG -I../inst/include   -I"C:/Program Files/R/R-3.1.0/library/Rcpp/include" -I"C:/Program Files/R/R-3.1.0/library/BH/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2 -Wall  -mtune=core2 -c condense.cpp -o condense.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.0/include" -DNDEBUG -I../inst/include   -I"C:/Program Files/R/R-3.1.0/library/Rcpp/include" -I"C:/Program Files/R/R-3.1.0/library/BH/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2 -Wall  -mtune=core2 -c double-diff-sum.cpp -o double-diff-sum.o
double-diff-sum.cpp: In function 'std::vector<int> double_diff_sum(Rcpp::IntegerVector, Rcpp::IntegerVector)':
double-diff-sum.cpp:22:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.0/include" -DNDEBUG -I../inst/include   -I"C:/Program Files/R/R-3.1.0/library/Rcpp/include" -I"C:/Program Files/R/R-3.1.0/library/BH/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2 -Wall  -mtune=core2 -c frange.cpp -o frange.o
g++ -m32 -I"C:/PROGRA~1/R/R-31~1.0/include" -DNDEBUG -I../inst/include   -I"C:/Program Files/R/R-3.1.0/library/Rcpp/include" -I"C:/Program Files/R/R-3.1.0/library/BH/include" -I"d:/RCompile/CRANpkg/extralibs64/local/include"     -O2 -Wall  -mtune=core2 -c group.cpp -o group.o
In file included from C:/Program Files/R/R-3.1.0/library/Rcpp/include/Rcpp.h:40:0,
                 from group.cpp:1:
C:/Program Files/R/R-3.1.0/library/Rcpp/include/Rcpp/Fast.h: In constructor 'Rcpp::Fast<VECTOR>::Fast(const VECTOR&) [with VECTOR = Rcpp::Vector<14, Rcpp::PreserveStorage>]':
group-hex.hpp:23:48:   instantiated from here
C:/Program Files/R/R-3.1.0/library/Rcpp/include/Rcpp/Fast.h:31:55: error: invalid conversion from 'Rcpp::Vector<14, Rcpp::PreserveStorage>::const_iterator {aka const double_}' to 'Rcpp::Fast<Rcpp::Vector<14, Rcpp::PreserveStorage> >::value_type_ {aka double_}' [-fpermissive]
make: *_\* [group.o] Error 1
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-31~1.0/etc/i386/Makeconf" -f "C:/PROGRA~1/R/R-31~1.0/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="bigvis.dll" OBJECTS="BigVis.o BinnedVector.o BinnedVectors.o RcppExports.o Summary2d.o condense.o double-diff-sum.o frange.o group.o lowerBound.o smooth-nd.o stats.o summary.o"' had status 2
ERROR: compilation failed for package 'bigvis'
- removing 'C:/Program Files/R/R-3.1.0/library/bigvis'
  Error: Command failed (1)```

switch to BSD/MIT license?

would love to peruse the code (loved the paper) to see if theres any neat tricks i can use in some of my own work, unfortunately a GPL license means its not safe for me to look at the code if I wish to make my own lib BSD/MIT licensed :)

Error during install

devtools::install_github("bigvis")
Installing github repo(s) bigvis/master from hadley
Installing bigvis.zip from https://github.com/hadley/bigvis/archive/master.zip
Installing bigvis
"C:/stats/R/bin/x64/R" --vanilla CMD build
"C:\Users\elecoutre\AppData\Local\Temp\RtmpQH7MtR\bigvis-master"
--no-manual --no-resave-data

  • checking for file 'C:\Users\elecoutre\AppData\Local\Temp\RtmpQH7MtR\bigvis-master/DESCRIPTION' ... OK
  • preparing 'bigvis':
  • checking DESCRIPTION meta-information ... OK
  • cleaning src
    Error in iconv(lines, encoding, "UTF-8", sub = "byte") :
    embedded nul in string: ' transformations." Applied Statistics, pages 190b\0\023197,'
    Execution halted
    Error: Command failed (1)

Installing bigvis failed

Hi

Tried to install this package but failed:

devtools::install_github("hadley/bigvis")
Downloading GitHub repo hadley/bigvis@master
from URL https://api.github.com/repos/hadley/bigvis/zipball/master
Error: running command '"C:/PROGRA1/R/R-341.4/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD config CC' had status 127

Is there an expected date for publishing this package in CRAN? Looking forward to using it to visualize a 0.5 million large data set.

Thanks

Error: length(z) == 0 || length(z) == n is not TRUE

when i have a smaller dataset, condense works great, but when the size of rows (> 50000000), i get the following error which tells nothing:

Error: length(z) == 0 || length(z) == n is not TRUE

any idea how i can resolve this?
The dataframe exist out of 3 variables and >50000000 rows.

error installing

Hello

I've tried to install it on Windows 7, with Revolution R, that includes R 2.14.2.
The package is downloaded but when it tries to install it I get this error:
Error: Command failed (1)
I've Googled it and some people says that it's related with spaces in the path. But my path doesn't contain spaces, it's installed directly on C:

regards

Crashes caused by segfault errors

bigvis functions are consistently crashing my R sessions. Even just running the package tests produces:

Binned vectors : Loading required package: plyr

 *** caught segfault ***
address 0x30, cause 'memory not mapped'

I'm not 100% sure this is a bigvis specific issue but I'm not experiencing it anywhere else so I thought it'd be worth reporting here.

R version 3.0.3 (2014-03-06)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] bigvis_0.1  Rcpp_0.11.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.