Created
March 27, 2016 14:49
-
-
Save wush978/0f29cd989f14d40397c5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| StrToBits <- function(x) { | |
| .x <- charToRaw(x) | |
| .x2 <- rawToBits(.x) | |
| paste(substring(as.character(.x2), 2, 2), collapse = "") | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment