R Under development (unstable) (2026-01-20 r89309 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > > # TEST FILE FOR hash METHODS set > > library(hash) hash-2.2.6.4 provided by Decision Patterns > h <- hash() > > # SET: key-value pairs > .set( h, "a", 1:2 ) > .set( h, letters, 1:26 ) > .set( h, 1:5, 1:5 ) > .set( h, letters, 12 ) > > # SET: key-hash pair added in version 1.0.4 > .set( h, "ha", hash( a=1, b=2 ) ) > class( h[["ha"]] ) == "hash" [1] TRUE > > > # SET: data.frame > .set( h, "df", data.frame( a=1:10, b=11:20) ) > class( h[["df"]] ) == "data.frame" [1] TRUE > > # SET: list > .set( h, "li", list( a=1, b=1:5, c=letters[1:3] ) ) > class( h[["li"]] ) == "list" [1] TRUE > > # SET: environment > > proc.time() user system elapsed 0.28 0.12 0.32