[R-gregmisc-commits] r2043 - pkg/gtools/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed May 27 04:26:01 CEST 2015
Author: warnes
Date: 2015-05-27 04:26:00 +0200 (Wed, 27 May 2015)
New Revision: 2043
Modified:
pkg/gtools/R/asc.R
Log:
Looks like we also lost the change of argument name to chr(). Fixed.
Modified: pkg/gtools/R/asc.R
===================================================================
--- pkg/gtools/R/asc.R 2015-05-27 02:23:37 UTC (rev 2042)
+++ pkg/gtools/R/asc.R 2015-05-27 02:26:00 UTC (rev 2043)
@@ -1,4 +1,4 @@
asc <- function(char, simplify=TRUE)
sapply(char, function(x) strtoi(charToRaw(x),16L), simplify=simplify )
-chr <- function(n) sapply(n, function(x) rawToChar(as.raw(x)) )
+chr <- function(ascii) sapply(ascii, function(x) rawToChar(as.raw(x)) )
More information about the R-gregmisc-commits
mailing list