timelyportfolio/parcoords

parcoords has stopped working

Opened this issue · 1 comments

Always worked perfectly, but now there is no more interactivity.
I have tried to go back to an earlier version of rmarkdown/knitr, as that is the only thing that I can think of that has changed - I could not render (requires update of rmarkdown).

library(parcoords)  
data( mtcars )
parcoords( mtcars )

> sessionInfo()
R version 3.2.3 (2015-12-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 15.04

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=nl_NL.UTF-8        LC_COLLATE=en_US.UTF-8     LC_MONETARY=nl_NL.UTF-8    LC_MESSAGES=en_US.UTF-8    LC_PAPER=nl_NL.UTF-8      
 [8] LC_NAME=C                  LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=nl_NL.UTF-8 LC_IDENTIFICATION=C       

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

loaded via a namespace (and not attached):
[1] rsconnect_0.4.1.11 htmltools_0.3.5    tools_3.2.3        yaml_2.1.13        Rcpp_0.12.4        rmarkdown_0.9.5    knitr_1.12.3       digest_0.6.9    

Solved, my bad. There were 2 parcoords in my script. The 2nd had an error. When running this in the script, it causes R to hang. When run in markdown/knitr it shows an empty plot. The (for me) unexpected behaviour is that the error in the second plot causes the first plot to malfunction - part of the lines are shown but brushing doesn't work.