Getting a table display but no graph. It might be from the subset
?
Pasting part of the log below (sorry I'm at User, can't track the error further for now):
67: output$netplot
1: runApp
Warning: Error in <-: 'names' attribute [1] must be the same length as the vector [0]
Stack trace (innermost first):
72: exprFunc [/home/thibaut/dev/hackout3/epicontacts/inst/contacts_server/server.R#81]
71: widgetFunc
70: func
69: renderFunc
68: output$linelisttab
1: runApp
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning: Error in apply: dim(X) must have a positive length
Stack trace (innermost first):
73: apply
72: paste
71: vis_epi_contacts
70: plot.epi_contacts
69: plot
68: func [/home/thibaut/dev/hackout3/epicontacts/inst/contacts_server/server.R#70]
67: output$netplot
1: runApp
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning: Error in apply: dim(X) must have a positive length
Stack trace (innermost first):
73: apply
72: paste
71: vis_epi_contacts
70: plot.epi_contacts
69: plot
68: func [/home/thibaut/dev/hackout3/epicontacts/inst/contacts_server/server.R#70]
67: output$netplot
1: runApp
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning: Error in apply: dim(X) must have a positive length
Stack trace (innermost first):
73: apply
72: paste
71: vis_epi_contacts
70: plot.epi_contacts
69: plot
68: func [/home/thibaut/dev/hackout3/epicontacts/inst/contacts_server/server.R#70]
67: output$netplot
1: runApp
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning: Error in apply: dim(X) must have a positive length
Stack trace (innermost first):
73: apply
72: paste
71: vis_epi_contacts
70: plot.epi_contacts
69: plot
68: func [/home/thibaut/dev/hackout3/epicontacts/inst/contacts_server/server.R#70]
67: output$netplot
1: runApp
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning: Error in $<-.data.frame: replacement has 1 row, data has 0
Stack trace (innermost first):
73: $<-.data.frame
72: $<-
71: vis_epi_contacts
70: plot.epi_contacts
69: plot
68: func [/home/thibaut/dev/hackout3/epicontacts/inst/contacts_server/server.R#70]
67: output$netplot
1: runApp
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning: Error in apply: dim(X) must have a positive length
Stack trace (innermost first):
73: apply
72: paste
71: vis_epi_contacts
70: plot.epi_contacts
69: plot
68: func [/home/thibaut/dev/hackout3/epicontacts/inst/contacts_server/server.R#70]
67: output$netplot
1: runApp
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning: Error in $<-.data.frame: replacement has 1 row, data has 0
Stack trace (innermost first):
73: $<-.data.frame
72: $<-
71: vis_epi_contacts
70: plot.epi_contacts
69: plot
68: func [/home/thibaut/dev/hackout3/epicontacts/inst/contacts_server/server.R#70]
67: output$netplot
1: runApp
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning: Error in $<-.data.frame: replacement has 1 row, data has 0
Stack trace (innermost first):
73: $<-.data.frame
72: $<-
71: vis_epi_contacts
70: plot.epi_contacts
69: plot
68: func [/home/thibaut/dev/hackout3/epicontacts/inst/contacts_server/server.R#70]
67: output$netplot
1: runApp
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)
Warning: Error in $<-.data.frame: replacement has 1 row, data has 0
Stack trace (innermost first):
73: $<-.data.frame
72: $<-
71: vis_epi_contacts
70: plot.epi_contacts
69: plot
68: func [/home/thibaut/dev/hackout3/epicontacts/inst/contacts_server/server.R#70]
67: output$netplot
1: runApp
Warning in `[.epi_contacts`(x, i = node.id, j = edge.from, contacts = "from") :
'j' is not a character; enforcing conversion
(logicals and integers cannot be used to subset epi_contacts objects)