The approach defined there is used almost everywhere now already with the notable exception of redis "String" operations like redisSet, redisMSet, etc.
The original intent of this package is to make R objects always the default, letting users convert them to raw values if they desire to inter-operate with other programs.
However, I don't really see the harm in relaxing that slightly for scalar character values in R. The only real chance for problems I see might be in various character encoding data being messed up.
See the internal
.raw
function: https://github.com/bwlewis/rredis/blob/master/R/redis-internal.R#L110The approach defined there is used almost everywhere now already with the notable exception of redis "String" operations like
redisSet
,redisMSet
, etc.The original intent of this package is to make R objects always the default, letting users convert them to raw values if they desire to inter-operate with other programs.
However, I don't really see the harm in relaxing that slightly for scalar character values in R. The only real chance for problems I see might be in various character encoding data being messed up.
Ideas? Comments?