Cool, dass es ein R-Forum gibt! Ich habe vor paar Tagen mit R angefangen und bekomme leider eine Fehlermeldung!
Code: Alles auswählen
```{r}
install.packages("plotly", dependencies = TRUE)
library(plotly)
```
```{r}
fig <- plot_ly(type="histogramm", x=~DS4_S$he, color = I("dark green"))
fig <- fig %>% layout(bargap=0.01)
fig
```
Fehler: Trace type must be one of the following: 'scatter', 'bar', 'box', 'heatmap', 'histogram', 'histogram2d', 'histogram2dcontour', 'contour',
'scatterternary', 'violin', 'funnel', 'waterfall', 'image', 'pie', 'sunburst', 'treemap', 'funnelarea', 'scatter3d', 'surface', 'isosurface', 'volume', 'mesh3d', 'cone',
'streamtube', 'scattergeo', 'choropleth', 'scattergl', 'splom', 'pointcloud', 'heatmapgl', 'parcoords', 'parcats', 'scattermapbox', 'choroplethmapbox', 'densitymapbox', 'sankey', 'indicator', 'table', 'carpet', 'scattercarpet', 'contourcarpet', 'ohlc', 'candlestick', 'scatterpolar', 'scatterpolargl', 'barpolar', 'area'