Questions tagged [rcharts]

A package designed to draw interactive graphics using R and JavaScript libraries.

rCharts is a new package designed to draw interactive graphics using R and javascript libraries.

494 questions
0
votes
1 answer

how can I plot a density with rCharts?

I just discovered rCharts. Is it possible to do a density plot? For example with ggplot2 i do: library(ggplot2) m <- ggplot(movies, aes(x = rating)) m + geom_density(aes(fill=factor(Drama)), size=2) Thanks!
Ignacio
  • 7,646
  • 16
  • 60
  • 113
0
votes
0 answers

rCharts:rPlot() Fewer colors than levels

I try this: testd <- data.frame(ID=1:10,cl=sample(1:10,100,replace=TRUE),x=runif(100),y=2*runif(100)) testd$ID <- factor(testd$ID) testd$cl <- factor(testd$cl) levels(testd$cl) rPlot(y~x, data = testd, color = 'cl', tooltip =…
user2955884
  • 405
  • 2
  • 11
0
votes
1 answer

rCharts Unable to run examples (HighChart)

The example code provided in the git repo is leading to an error when I try to run it. Here is the code: h1 <- Highcharts$new() h1$chart(type = "spline") h1$series(data = c(1, 3, 2, 4, 5, 4, 6, 2, 3, 5, NA), dashStyle = "longdash") …
skmathur
  • 1,587
  • 5
  • 14
  • 21
0
votes
1 answer

add multiple polygons to rCharts leaflet map

When I try to add more than one polygon to a leaflet map with rCharts using the map$geoJson() function, only the last polygon appears on the map. The other ones are not displayed. Any idea on what I can do to add more than one polygon to my map?…
maRtin
  • 6,336
  • 11
  • 43
  • 66
0
votes
1 answer

rChart lineChart with Multiple Series

I'm sure this is an easy question but I cannot seem to find the answer. Just starting out with R and rCharts and I'm trying to create a line chart with week on the horizontal axis and two price variables as the series. The data is just a standard…
0
votes
1 answer

Specify external resource in config.yml

I have the following config.yml file: dygraphs: jshead: [js/dygraph-combined.js, js/lodash.js] cdn: jshead: - "http://cdnjs.cloudflare.com/ajax/libs/dygraph/1.0.1/dygraph-combined.js" -…
Daniel Krizian
  • 4,586
  • 4
  • 38
  • 75
0
votes
1 answer

Scatter/Bubble plot not correctly plotting using rCharts and dimple.js

I am trying to create the simplest of scatter charts using dimple and rCharts. I am curious if there is something I mis-understand about the 'scatter' type. When I run this code, the y-axis values are off by factors of ten or larger--almost as if…
intra
  • 366
  • 1
  • 2
  • 10
0
votes
1 answer

What does `#!foobar!#` notation mean in this `rCharts` adaptation?

I am trying to recreate an rCharts-based, interactive dygraphs chart by running the code.R from this timelyportfolio/rCharts_dygraphs GitHub repository. Compared to what it should look like, my chart however doesn't render completely: By comparing…
Daniel Krizian
  • 4,586
  • 4
  • 38
  • 75
0
votes
0 answers

rCharts not displaying and no errors. Just a blank screen

I have a graph that I can create with this ggplot2 code: ggplot(total.new, aes(x=day, y=new.total)) + geom_line() + facet_wrap("practice", scales="free_y", ncol=2) Now I wanted to try out rCharts, so I tried the following: rPlot(new.total ~…
Dave Kincaid
  • 3,970
  • 3
  • 24
  • 32
0
votes
0 answers

NVD3 in R does not seem to work

I am trying to integrate NVD3 in a Rmd file. When I run the sample code from the webpage, in the R terminal nothing happens: hair_eye_male <- subset(as.data.frame(HairEyeColor), Sex == "Male") n1 <- nPlot(Freq ~ Hair, group = "Eye", data =…
Henk
  • 3,634
  • 5
  • 28
  • 54
0
votes
0 answers

rMaps/Leaflet : same coordinate plot different location

I was trying out rMaps package, which uses leaflet js api. While plotting a coordinate c(3.09407,101.504961), rmaps/leaflet point is off from the actual point. require(rMaps) map <- Leaflet$new() map$setView( c(3.09407,101.504961)) …
0
votes
0 answers

rCharts in Shiny AWS

Tried renderchart2 to overcome an issue with shiny and rcharts but getting the follwoing error: Loading required package: RCurl Loading required package: bitops Error in loadNamespace(name) : there is no package called ‘reshape2’ Calls: runApp ...…
digdeep
  • 624
  • 2
  • 10
  • 21
0
votes
0 answers

How to customize rPlot title ( font size , font,..)?

How can I change the font size of an rPlot title? library(rCharts) p1 <- rPlot(mpg ~ cyl, data = mtcars, type = 'point') p1$set(title = "title",fontSize = '50px') p1
agstudy
  • 119,832
  • 17
  • 199
  • 261
0
votes
1 answer

Share rCharts via IPython Notebook

I have been able to embed this map in an IPython Notebook (which is sweet), but I am not clear on how I can share this with folks not using the Notebook. I am familiar with the bl.ocks.org viewer. It's great for standalone examples, but I am looking…
Marvin Ward Jr
  • 1,019
  • 1
  • 11
  • 30
0
votes
1 answer

rCharts Parallel Coordinates Plot with shiny

I need parallel coordinates plot with interactivity in shiny. This is the plot that I want and this is a solution of producing rCharts in shiny.
danas.zuokas
  • 4,551
  • 4
  • 29
  • 39
1 2 3
32
33