Spaces:
Running
Running
Update app.R
Browse files
app.R
CHANGED
@@ -159,23 +159,19 @@ output$table <- renderReactable({
|
|
159 |
# activate download buttons
|
160 |
output$down_nodes <- downloadHandler(
|
161 |
filename = function() {
|
162 |
-
paste("Nodes.csv
|
163 |
},
|
164 |
content = function(file) {
|
165 |
-
|
166 |
-
fwrite(nodes_df(), gzfile_conn)
|
167 |
-
close(gzfile_conn)
|
168 |
}
|
169 |
)
|
170 |
|
171 |
output$down_edges <- downloadHandler(
|
172 |
filename = function() {
|
173 |
-
paste("Edges.csv
|
174 |
},
|
175 |
content = function(file) {
|
176 |
-
|
177 |
-
fwrite(edges_df(), gzfile_conn)
|
178 |
-
close(gzfile_conn)
|
179 |
}
|
180 |
)
|
181 |
|
|
|
159 |
# activate download buttons
|
160 |
output$down_nodes <- downloadHandler(
|
161 |
filename = function() {
|
162 |
+
paste("Nodes.csv", sep = "")
|
163 |
},
|
164 |
content = function(file) {
|
165 |
+
fwrite(nodes_df(),file)
|
|
|
|
|
166 |
}
|
167 |
)
|
168 |
|
169 |
output$down_edges <- downloadHandler(
|
170 |
filename = function() {
|
171 |
+
paste("Edges.csv", sep = "")
|
172 |
},
|
173 |
content = function(file) {
|
174 |
+
fwrite(edges_df(), file)
|
|
|
|
|
175 |
}
|
176 |
)
|
177 |
|