{"action":"created","issue":{"url":"https://api.github.com/repos/gforge/Gmisc/issues/9","labels_url":"https://api.github.com/repos/gforge/Gmisc/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/gforge/Gmisc/issues/9/comments","events_url":"https://api.github.com/repos/gforge/Gmisc/issues/9/events","html_url":"https://github.com/gforge/Gmisc/issues/9","id":52570118,"number":9,"title":"rendering tab characters in .Rmd","user":{"login":"raredd","id":6332718,"avatar_url":"https://avatars.githubusercontent.com/u/6332718?v=3","gravatar_id":"","url":"https://api.github.com/users/raredd","html_url":"https://github.com/raredd","followers_url":"https://api.github.com/users/raredd/followers","following_url":"https://api.github.com/users/raredd/following{/other_user}","gists_url":"https://api.github.com/users/raredd/gists{/gist_id}","starred_url":"https://api.github.com/users/raredd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raredd/subscriptions","organizations_url":"https://api.github.com/users/raredd/orgs","repos_url":"https://api.github.com/users/raredd/repos","events_url":"https://api.github.com/users/raredd/events{/privacy}","received_events_url":"https://api.github.com/users/raredd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-12-20T17:15:18Z","updated_at":"2015-01-06T17:23:08Z","closed_at":"2015-01-06T12:49:38Z","body":"I've never had problems rendering tables in markdown documents until recently, and I can't quite figure out if this is happening due to a knitr, rmarkdown, or R3.1.2 update. Do you see anything like this as well?\r\n\r\nIf I have a .Rmd with \r\n\r\n```r\r\n{r, results='asis'}\r\nlibrary(\"Gmisc\")\r\nhtmlTable(head(mtcars))\r\n```\r\nI get the results \r\n\r\ncurrent cran version\r\n<a href=\"http://imgur.com/hcyvYD5\"><img src=\"http://i.imgur.com/hcyvYD5.png\" title=\"source: imgur.com\" /></a>\r\n\r\ngithub\r\n<a href=\"http://imgur.com/YIWxHYl\"><img src=\"http://i.imgur.com/YIWxHYl.png\" title=\"source: imgur.com\" /></a>\r\n\r\ngithub v1.0\r\n<a href=\"http://imgur.com/rBsXInO\"><img src=\"http://i.imgur.com/rBsXInO.png\" title=\"source: imgur.com\" /></a>\r\n\r\nSubbing out all the tab characters in `table_str` renders it properly\r\n\r\n`gsub(\"\\t\", \" \", x)`\r\n\r\n<a href=\"http://imgur.com/DWLyCMi\"><img src=\"http://i.imgur.com/DWLyCMi.png\" title=\"source: imgur.com\" /></a>\r\n\r\nbut it wasn't an issue before. Can you reproduce this?"},"comment":{"url":"https://api.github.com/repos/gforge/Gmisc/issues/comments/68897943","html_url":"https://github.com/gforge/Gmisc/issues/9#issuecomment-68897943","issue_url":"https://api.github.com/repos/gforge/Gmisc/issues/9","id":68897943,"user":{"login":"willkjh","id":3702414,"avatar_url":"https://avatars.githubusercontent.com/u/3702414?v=3","gravatar_id":"","url":"https://api.github.com/users/willkjh","html_url":"https://github.com/willkjh","followers_url":"https://api.github.com/users/willkjh/followers","following_url":"https://api.github.com/users/willkjh/following{/other_user}","gists_url":"https://api.github.com/users/willkjh/gists{/gist_id}","starred_url":"https://api.github.com/users/willkjh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willkjh/subscriptions","organizations_url":"https://api.github.com/users/willkjh/orgs","repos_url":"https://api.github.com/users/willkjh/repos","events_url":"https://api.github.com/users/willkjh/events{/privacy}","received_events_url":"https://api.github.com/users/willkjh/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T17:23:08Z","updated_at":"2015-01-06T17:23:08Z","body":"The bug comes from version 1.13.1. I am using both Windows 8.1 and also 7.1\r\n\r\npandoc 1.13.1\r\nCompiled with texmath 0.8, highlighting-kate 0.5.8.5.\r\nSyntax highlighting is supported for the following languages:\r\n    actionscript, ada, apache, asn1, asp, awk, bash, bibtex, boo, c, changelog,\r\n    clojure, cmake, coffee, coldfusion, commonlisp, cpp, cs, css, curry, d,\r\n    diff, djangotemplate, doxygen, doxygenlua, dtd, eiffel, email, erlang,\r\n    fortran, fsharp, gcc, gnuassembler, go, haskell, haxe, html, ini, isocpp,\r\n    java, javadoc, javascript, json, jsp, julia, latex, lex, literatecurry,\r\n    literatehaskell, lua, makefile, mandoc, markdown, matlab, maxima, metafont,\r\n    mips, modelines, modula2, modula3, monobasic, nasm, noweb, objectivec,\r\n    objectivecpp, ocaml, octave, pascal, perl, php, pike, postscript, prolog,\r\n    pure, python, r, relaxngcompact, restructuredtext, rhtml, roff, ruby, rust,\r\n    scala, scheme, sci, sed, sgml, sql, sqlmysql, sqlpostgresql, tcl, texinfo,\r\n    verilog, vhdl, xml, xorg, xslt, xul, yacc, yaml\r\n\r\nMy ``quick'' fix on my side was to rename Pandoc folder to OldPandoc and everything revert back to normal as long as knitr was calling pandoc from within Rstudio/bin/pandoc/pandoc. "}}