Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in Sanitize() where string length was not calculated correctl…
…y causing R to intermittently crash. Fixes Issue 16.
- Loading branch information
8b354e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm... I dunno R internals, tikzDevice details, and I don't like old plain C, but isn't strdup() does the same? I'm just curious.
8b354e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell, yeah it does. Figures there would be an easy way to do it. Shows how much I know about C. ;)
8b354e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Who cares as long as it works now :-)
8b354e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
amen
8b354e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed! Thanks for taking the time to file bug reports Mikhail!
8b354e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are welcome! We all are interested in a quality end product:-) I'm really excited about pgfSweave & tikzDevice! Thank you for making these great packages!
Offtopic Q: I remember I saw highlight package, but it works as a driver for plain Sweave. Any plans to have syntax highlighting with pgfSweave?
8b354e0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah really, thanks for the interest and the comments, it keeps us motivated.
Yeah actually the most recent development of pgfSweave includes highlighted code from the highlight package. It is in testing and development and there seems to be a few issues but I have used it myself for some time without any major problems.
http://github.com/cameronbracken/pgfSweave/tree/highlight