You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
values <- list(c('Salaries', 'Office', 'Merchandise', 'Legal', '<b>TOTAL<br>EXPENSES</b>'), c("Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterno adversarium, summo mollis timeam vel ad",
146
+
values <- rbind(c('Salaries', 'Office', 'Merchandise', 'Legal', '<b>TOTAL<br>EXPENSES</b>'), c("Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterno adversarium, summo mollis timeam vel ad",
166
147
"Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterno adversarium, summo mollis timeam vel ad",
167
148
"Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterno adversarium, summo mollis timeam vel ad",
168
149
"Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterno adversarium, summo mollis timeam vel ad",
@@ -173,8 +154,7 @@ p <- plot_ly(
173
154
columnorder = c(1,2),
174
155
columnwidth = c(80,400),
175
156
header = list(
176
-
values = list(list('<b>EXPENSES</b><br>as of July 2017'),
177
-
list('<b>DESCRIPTION</b>')),
157
+
values = c('<b>EXPENSES</b><br>as of July 2017', '<b>DESCRIPTION</b>'),
# Set up API credentials: https://plot.ly/r/getting-started
67
65
chart_link= api_create(p, filename="table-basic")
68
-
```
69
-
70
-
```
71
-
## Error: Client error: (400) Bad Request
72
-
## Figure field is invalid. Reason: Raw data arrays are not allowed at this endpoint. Use grid references instead. Raw data found at the following paths in the figure [('data', 0, u'cells', u'values'), ('data', 0, u'header', u'values')]
73
-
```
74
-
75
-
```r
76
66
chart_link
77
67
```
78
68
79
-
```
80
-
## Error in eval(expr, envir, enclos): object 'chart_link' not found
81
-
```
82
-
83
-
84
-
```
85
-
## Error in eval(expr, envir, enclos): object 'chart_link' not found
## Figure field is invalid. Reason: Raw data arrays are not allowed at this endpoint. Use grid references instead. Raw data found at the following paths in the figure [('data', 0, u'cells', u'values'), ('data', 0, u'header', u'values')]
128
-
```
129
-
130
-
```r
131
102
chart_link
132
103
```
133
104
134
-
```
135
-
## Error in eval(expr, envir, enclos): object 'chart_link' not found
136
-
```
137
-
138
-
139
-
```
140
-
## Error in eval(expr, envir, enclos): object 'chart_link' not found
# Set up API credentials: https://plot.ly/r/getting-started
184
135
chart_link= api_create(p, filename="table-df")
185
-
```
186
-
187
-
```
188
-
## Error: Client error: (400) Bad Request
189
-
## Figure field is invalid. Reason: Raw data arrays are not allowed at this endpoint. Use grid references instead. Raw data found at the following paths in the figure [('data', 0, u'cells', u'values'), ('data', 0, u'header', u'values')]
190
-
```
191
-
192
-
```r
193
136
chart_link
194
137
```
195
138
196
-
```
197
-
## Error in eval(expr, envir, enclos): object 'chart_link' not found
198
-
```
199
-
200
-
201
-
```
202
-
## Error in eval(expr, envir, enclos): object 'chart_link' not found
values<-list(c('Salaries', 'Office', 'Merchandise', 'Legal', '<b>TOTAL<br>EXPENSES</b>'), c("Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterno adversarium, summo mollis timeam vel ad",
145
+
values<-rbind(c('Salaries', 'Office', 'Merchandise', 'Legal', '<b>TOTAL<br>EXPENSES</b>'), c("Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterno adversarium, summo mollis timeam vel ad",
210
146
"Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterno adversarium, summo mollis timeam vel ad",
211
147
"Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterno adversarium, summo mollis timeam vel ad",
212
148
"Lorem ipsum dolor sit amet, tollit discere inermis pri ut. Eos ea iusto timeam, an prima laboramus vim. Id usu aeterno adversarium, summo mollis timeam vel ad",
@@ -217,8 +153,7 @@ p <- plot_ly(
217
153
columnorder= c(1,2),
218
154
columnwidth= c(80,400),
219
155
header=list(
220
-
values=list(list('<b>EXPENSES</b><br>as of July 2017'),
221
-
list('<b>DESCRIPTION</b>')),
156
+
values= c('<b>EXPENSES</b><br>as of July 2017', '<b>DESCRIPTION</b>'),
222
157
line=list(color='#506784'),
223
158
fill=list(color='#119DFF'),
224
159
align= c('left','center'),
@@ -237,25 +172,10 @@ p <- plot_ly(
237
172
# Create a shareable link to your chart
238
173
# Set up API credentials: https://plot.ly/r/getting-started
239
174
chart_link= api_create(p, filename="table-text")
240
-
```
241
-
242
-
```
243
-
## Error: Client error: (400) Bad Request
244
-
## Figure field is invalid. Reason: Raw data arrays are not allowed at this endpoint. Use grid references instead. Raw data found at the following paths in the figure [('data', 0, u'cells', u'values'), ('data', 0, u'header', u'values')]
245
-
```
246
-
247
-
```r
248
175
chart_link
249
176
```
250
177
251
-
```
252
-
## Error in eval(expr, envir, enclos): object 'chart_link' not found
253
-
```
254
-
255
-
256
-
```
257
-
## Error in eval(expr, envir, enclos): object 'chart_link' not found
0 commit comments