Created
June 12, 2013 04:32
-
-
Save emhart/5762856 to your computer and use it in GitHub Desktop.
For Scott so he can make html tables.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require(xtable) | |
insane <- data.frame(Name=c("Ampersand","Greater than","Less than","Underscore","Per cent","Dollar","Backslash","Hash", "Caret", "Tilde","Left brace","Right brace"), Character = I(c("&",">", "<", "_", "%", "$", "\\", "#", "^", "~","{","}"))) | |
colnames(insane)[2] <- paste(insane[,2],collapse="") | |
print( xtable(insane),type='html',sanitize.text.function = function(x){x}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment