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
I am trying to add annotation to the points in a plot. But the code kept running forever. I'd appreciate if anyone can provide some insight on this. Thanks.
Eventually, I got this error:
Errorin as(file[[1]], "XMLInternalDocument") :nomethodordefaultforcoercing “XMLNodeSet” to “XMLInternalDocument”
subcount<-sample(1:50,100,replace=T)
avgcount<-mean(subcount)
doc= svgPlot({
plot(1:100, subcount, ylab='count', main="Daily analysis in the past 100 days")
}
)
ptz= getPlotPoints(doc)
tips= paste("Count: ", subcount)
addToolTips(ptz, tips, addArea=TRUE)
saveXML(doc, "test.svg")
I am trying to add annotation to the points in a plot. But the code kept running forever. I'd appreciate if anyone can provide some insight on this. Thanks.
Eventually, I got this error:
The following code ran well.
The text was updated successfully, but these errors were encountered: