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
5
votes
2 answers

Automatically resize rChart in shiny

How can I automatically resize an rChart plot in shiny? I would like to fit the plot to the screen of the user, like it is done for regular plots with renderPlot. Here's a minimal example: #Server.R require(rCharts) shinyServer(function(input,…
Erich Studerus
  • 557
  • 2
  • 10
5
votes
1 answer

Creating Leaflet heatmaps in r and shiny using rCharts

I am using the great demo by Ramnath Vaidyanathan at http://rmaps.github.io/blog/posts/leaflet-heat-maps/index.html and I would like to reproduce his heat map for my shiny application. When I try to use Ramnath's code in shiny though I only manage…
Enzo
  • 2,543
  • 1
  • 25
  • 38
5
votes
1 answer

Shiny rcharts size of the graph?

I'm getting closer to produce what I want, but Now i'm having troubles resizing and aligning the rChart output. Right now my output is in the lower left corner of my second column. I would like the output to be centered in the second column and if…
Ignacio
  • 7,646
  • 16
  • 60
  • 113
5
votes
0 answers

Stack space overflow error message during `pandoc` conversion (large data?)

I am trying to replicate this excellent page. When I knit markdown file retail.Rmd from GitHub, using RStudio (v0.98.729), I get the error message: output file: retail.knit.md G:/R/RStudio/bin/pandoc/pandoc retail.utf8.md --to html --from…
Daniel Krizian
  • 4,586
  • 4
  • 38
  • 75
5
votes
1 answer

rChart nPlot - update yAxis label

I am currently using nPlot from rCharts package and how do I add $ signs to the y Axis? I am thinking I need something like n1$yAxis(labels = ...) but I don't think nPlot supports this? test <- data.frame(object = c("A", "B"), price = c(111333,…
MKa
  • 2,248
  • 16
  • 22
5
votes
1 answer

rCharts - Adding second y axis to time series

Does any of the packaged charting frameworks in rCharts support making a time series plot of two series with different y axis? In the case has anyone an example to share? I have looked at the documentation there is as well as on the charting…
tfrojd
  • 51
  • 1
  • 5
5
votes
2 answers

R: rCharts and Shiny: Rickshaw plot won't show

After having a lot of fun getting the basic of shiny down using ggplot2, I'm trying out rCharts. However, I can't get the Rickshaw graph to display. Any help much appreciated; take it easy - I'm just getting use to this ;) ###…
user32259
  • 1,113
  • 3
  • 13
  • 21
5
votes
2 answers

Install rCharts package on R 2.15.2

I am currently trying to install the Ramnath Vaidyanathan's rCharts package. On his github repository it recommends that we install the package using: require(devtools) install_github('rCharts', 'ramnathv') However, I cannot install the devtools…
Josh W.
  • 1,123
  • 1
  • 10
  • 17
4
votes
3 answers

Error in file(con, "w") : cannot open the connection [Using R-Studio to plot interactive bar graphs using rCharts, knitr]

I am getting an error when I am trying to run the code below in R-Studio 3.3.2 on a Mac (OS Sierra) devtools::install_github('ramnathv/rCharts') install.packages("knitr") require(rCharts) require(knitr) haireye <- as.data.frame(HairEyeColor) n1 <-…
Sachin D
  • 73
  • 1
  • 2
  • 8
4
votes
3 answers

R interactive plot: show vertical line on hover

I have been looking around for a way to draw a vertical line along the x-axis when hovering over points in a plot using R. It does not really matter which package it is, whether it is plotly, ggvis, rCharts, googleVis or any other for that matter,…
Jam
  • 75
  • 3
  • 9
4
votes
0 answers

renderPlot with plotOutput in Shiny having speed issues

Is renderPlot in server.R paired with plotOuput in ui.R slow? It seems like it is because I have tried two plotting methods. The first involved using rCharts high charts library. My plotting function using high charts rendered each plot in about…
johnny838
  • 922
  • 7
  • 15
4
votes
1 answer

Create dynamic ggvis chart from uploaded file in shiny

I am trying to use Shiny and ggvis to: 1) upload a data set 2) have the user select 2 columns (x, y) 3) return a ggvis plot displaying (x, y) from the uploaded data set I've tried editing the examples from the Shiny Interactivity page as well as…
maloneypatr
  • 3,562
  • 4
  • 23
  • 33
4
votes
3 answers

rChart in R Markdown doesn't render

I am having issues rendering an rChart made with 'nPlot' when I knit an R Markdown document to html. I followed the solution discussed in this question, but it was unsuccessful. Here is my .Rmd code ```{r, echo=FALSE} library(knitr) ``` --- title:…
user3334472
  • 128
  • 2
  • 6
4
votes
1 answer

rCharts in shiny : width with 2 charts

I have an app with two Highcharts plot, when I start the app the width of the two plots are correct, but everytime I change the mean input, the width of the first plot is set to the width of the second, like this : When I start the app : When I…
Victorp
  • 13,636
  • 2
  • 51
  • 55
4
votes
0 answers

R: rCharts nPlot is not showing up

I am trying to use nPlot because I wanted to add some controls to the plot. I am just copying a basic example from here http://ramnathv.github.io/posts/rcharts-nvd3/index.html and it doesn't show any plot when I run it. I use hPlot and it shows up…
user3646105
  • 2,459
  • 4
  • 14
  • 18
1 2
3
32 33