diff options
author | Joseph C Wang <joequant@gmail.com> | 2015-07-04 13:21:35 +0800 |
---|---|---|
committer | Joseph C Wang <joequant@gmail.com> | 2015-07-04 13:22:55 +0800 |
commit | fe39ef5faee7c66a87053096c41ab1bbace9c26a (patch) | |
tree | 98c885377d89a1446e922a117c32cc7d4a524fe7 | |
parent | 335572170b7185d24b8515f5909d091ae117d458 (diff) | |
download | swig-fe39ef5faee7c66a87053096c41ab1bbace9c26a.tar.gz |
suppress warning for ExternalReference print
-rw-r--r-- | Lib/r/r.swg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/r/r.swg b/Lib/r/r.swg index 126611d61..a6014965e 100644 --- a/Lib/r/r.swg +++ b/Lib/r/r.swg @@ -264,8 +264,8 @@ x setAs('ExternalReference', 'character', function(from) {if (!is.null(from$"__str__")) from$"__str__"()}) -setMethod('print', 'ExternalReference', -function(x) {print(as(x, "character"))}) +suppressWarnings(setMethod('print', 'ExternalReference', +function(x) {print(as(x, "character"))})) %} |