yihui/knitr — Issue #128: escape commas in chunk options
Author: yihui
Created: 2012-02-09 06:00:48+00:00
State: open
Labels: Feature

currently I use `;` to replace `,` but this is not a general solution, so this is where I need to go:

```r

> strsplit("a,b, c\\,d,e", "(?<=[^\\\\]),", perl = T)
[[1]]
[1] "a" "b" " c\\,d" "e"
```

then replace `\,` with `,`.