On 28 July 2006 at 08:52, Henrik Bengtsson wrote:
| Found the reason for the bug. Patch available online;
|
| source("http://www.braju.com/R/patches/digest.R";)
Splendid -- thank you for both the bug report, and the patch. The new
revision digest_0.2.2 includes this patch. I also added unit
Found the reason for the bug. Patch available online;
source("http://www.braju.com/R/patches/digest.R";)
In digest() the .Call() statement takes the serialized objected
converted to a string as its second argument;
val <- .Call("digest", as.character(object), as.integer(algoint),
[cc:ing to the maintainer of digest]
FYI, package 'digest' (v0.2.1 2005/11/04 04:45:53) generates the same
output regardless of input with R v2.4.0 devel (2006-07-25 r38698).
Starting a vanilla R session you get:
> library(digest)
> digest(1)
[1] "3416a75f4cea9109507cacd8e2f2aefc"
> digest(2)
[1]