Thanks to you both. Calling recover (an option hitherto unknown to me) helped me identify the problem.
For the record, the error occurred in the geom_path() line, not the list concatenation, as I had previously thought. It was a logic problem: when typeof == NULL the function jumped, but i remained incrementing, forcing geom_path to call data from a list element that didn't exist. Thanks again. -- View this message in context: http://r.789695.n4.nabble.com/Subscript-Error-tp4533219p4535054.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.