The error/warning "It looks like Source/Target is not zero-indexed. This is required in JavaScript and so your plot may not render." seems to catch and confuse many people. This seems like something the R functions should be able to check for and fix on their own if necessary. The current version of simpleNetwork() already handles this automatically. It seems odd to me that, in the code below, the 1st one fails while the 2nd one works, the only change being that 1 was subtracted from the node ids in the Links data frame...
The error/warning "It looks like Source/Target is not zero-indexed. This is required in JavaScript and so your plot may not render." seems to catch and confuse many people. This seems like something the R functions should be able to check for and fix on their own if necessary. The current version of simpleNetwork() already handles this automatically. It seems odd to me that, in the code below, the 1st one fails while the 2nd one works, the only change being that 1 was subtracted from the node ids in the Links data frame...
Is there any reason we can't automatically re-index as below (or maybe a bit more cautiously)...