✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Scatterpolar missing?

Is it just me or is the scatterpolar plot not working in R?

I’m trying to run the first example from the polar charts page (https://plot.ly/r/polar-chart/) and getting the following error:

> library(plotly)
> packageVersion('plotly')
[1] ‘4.7.1’
> 
> p <- plot_ly(
+     type = 'scatterpolar',
+     r = c(0,1,2,2),
+     theta = c(0,1.5,2.5,0),
+     mode = 'markers'
+ )
> 
> p
Error: Trace type must be one of the following: 
'scatter', 'box', 'bar', 'heatmap', 'histogram', 'histogram2d', 'histogram2dcontour', 'pie', 'contour', 'scatterternary', 'sankey', 'scatter3d', 'surface', 'mesh3d', 'scattergeo', 'choropleth', 'scattergl', 'pointcloud', 'heatmapgl', 'parcoords', 'scattermapbox', 'carpet', 'scattercarpet', 'contourcarpet', 'ohlc', 'candlestick', 'area'

You probably just need to upgrade to the latest version.

Isn’t 4.7.1 the latest version?

I am having the same issue and I am on version 4.7.1 of plotly - any advice?

probably best to post on https://community.plotly.com/c/api/r