search for: opendatagroup

Displaying 6 results from an estimated 6 matches for "opendatagroup".

2010 Apr 24
3
S4 Inheritance of environments
...gt; slotNames(inEnv) # ".xData" [1] ".xData" > inherits(inEnv, 'environment' ) # TRUE [1] TRUE My questions is whether this behavior is a bug? By design? A work around? Etc.? Thanks kindly for your reply, Chris the Open Data Group ?http://www.opendatagroup.com ?http://blog.opendatagroup.com
2010 May 07
0
hash-2.0.0
...ilar to hashes in Perl and dictionaries in Python but with a purposefully R flavor. For objects of appreciable size, access using hashes outperforms native named lists and vectors. This version accounts for changes in R-2.11.0 and is optimized for both speed and usabiity. Some references: http://opendatagroup.com/2010/04/26/hash-2-0-0/ http://opendatagroup.com/2009/07/26/hash-package-for-r/ Basic Examples: h <- hash( keys=letters, values=1:26 ) h <- hash( letters, 1:26 ) h$a # 1 h$foo <- "bar" h[ "foo" ] h[[ "foo" ]] clear(h) rm(h) Warmest R...
2010 May 07
0
hash-2.0.0
...ilar to hashes in Perl and dictionaries in Python but with a purposefully R flavor. For objects of appreciable size, access using hashes outperforms native named lists and vectors. This version accounts for changes in R-2.11.0 and is optimized for both speed and usabiity. Some references: http://opendatagroup.com/2010/04/26/hash-2-0-0/ http://opendatagroup.com/2009/07/26/hash-package-for-r/ Basic Examples: h <- hash( keys=letters, values=1:26 ) h <- hash( letters, 1:26 ) h$a # 1 h$foo <- "bar" h[ "foo" ] h[[ "foo" ]] clear(h) rm(h) Warmest R...
2011 Feb 22
1
error with 'hash' library
...I get: > library(hash)                             _       _          ___  _ __   ___ _ __   __| | __ _| |_ __ _  / _ \| '_ \ / _ \ '_ \ / _` |/ _' | __/ _' | | (_) | |_) |  __/ | | | (_| | (_| | || (_| |  \___/| .__/ \___|_| |_|\__,_|\__,_|\__\__,_|       |_|       http://www.opendatagroup.com Error in cat("\n  ", pkgname, "-", utils::installed.packages()[pkgname,  :   subscript out of bounds Error : .onLoad failed in 'loadNamespace' for 'hash' Error: package/namespace load failed for 'hash' Can anybody tell how to solve this? Thanks in a...
2010 Oct 13
2
list comprehension to create an arbitrary-sized list with arbitrary names/values
In python, one can do this mydict = dict([(keyfun(x), valfun(x)) for x in mylist]) to create a dictionary with whatever keys and values we want from an input list of arbitrary size. In R, I want to similarly create a list with names/values that are generated by some keyfun and valfun (assuming that keyfun is guaranteed to return something suitable as a name). How can I do this?
2005 Apr 07
2
hex format
Hello world: Has anyone used hex notation within R to represents integers? Cheers, Steve Vejcik