When using Stangle on a Sweave document, the output includes a comment that gives the chunk name.  This is incredibly useful in a teaching setting to orient students in the code as they cut-and-paste.  However, when I use knitr to generate the .R code from a .Rnw, the chunk names are not included (at least that I can see):
knit('example.Rnw',tangle=TRUE)
I could run Stangle on a document written for knitr except that there are incompatibilities in chunk arguments that preclude running Stangle without errors.  
Is there a way to force knitr to produce comments in tangled R code that include chunk names (and/or numbers) like native Stangle?