title: How to set highchart global options IN R
body: <p>I see a lot of examples in javascript but I cannot find an example to do it in R</p>
  
  <p>Here is the api link: <a href="http://api.highcharts.com/highcharts#global" rel="nofollow noreferrer">http://api.highcharts.com/highcharts#global</a></p>
  
  <p>I am trying to set "timezoneOffset" and I have tried many different ways. 
  When I do this in R: <code>highChart$global(timezoneOffset=-300)</code>
  I do not get any warning or error, but it's not working.</p>
  
  <p>Thanks a lot for the help!</p>
  
  <p>Here is a piece of code:</p>
  
  <pre><code>library(rCharts)
  
  
  highChart &lt;- Highcharts$new()
  highChart$global(timezoneOffset=-300)
  highChart$chart(zoomType = "xy")
  highChart$exporting(enabled = T)
  highChart$xAxis(type="datetime",list( title = list(text = "Time")))
  highChart$yAxis(list
                  (
                    list(title = list(text = "Variance"))
                  ))
  
  
  highChart$series(data=list(c(x=1407795845000,y=1),c(x=1407795846000,y=2),c(x=1407795847000,y=3)))
  
  highChart
  </code></pre>
  
  <p>As you can see, the timezoneOffset is not working when I run this piece of code and the time is still displayed in GMT.</p>