similar to: dict package: dictionary data structure for R

Displaying 20 results from an estimated 2000 matches similar to: "dict package: dictionary data structure for R"

2010 Dec 23
2
python-like dictionary for R
Hi, I was wondering if anyone has played around this this package called "rdict"? It attempts to implement a hash table in R using skip lists. Just came across it while trying to look for simpler text manipulation methods: http://userprimary.net/posts/2010/05/29/rdict-skip-list-hash-table-for-R/ Cheers, Paul [[alternative HTML version deleted]]
2008 Sep 15
2
S4 coercion responsibility
Should functions or the user be responsible for coercing an S4 object argument containing the proper object (and thus should below be considered a bug in the packages or not)? The example is with RSQLite but the same thing happens with RMySQL, and other DBI packages. > library("RSQLite") Loading required package: DBI > m <- dbDriver("SQLite") > con <-
2012 Jan 04
0
Error formal argument "softmax" matched by multiple actual arguments
I am running the nnet package as > neural.soft<-nnet(custcat~region+ed+marital+tenure+age+address+income,size=3,softmax=TRUE) This returns the error message : formal argument "softmax" matched by multiple actual arguments Here the dependent variable "custcat" is a factor with 4-levels. This error does not crop up for any other arguments of nnet(), including
2008 Jan 26
0
RSQLite 0.6-7 -- changes to dbGetQuery semantics
RSQLite 0.6-7 has been uploaded to CRAN and should hit a mirror near you in the next few days. This version changes the behavior of the dbGetQuery method to make it more consistent with dbSendQuery. Specifically: 1. dbGetQuery now closes a complete result set as dbSendQuery does. 2. If there is an incomplete result set open, dbGetQuery still opens a new temporary connection, but now issues
2008 Jan 26
0
RSQLite 0.6-7 -- changes to dbGetQuery semantics
RSQLite 0.6-7 has been uploaded to CRAN and should hit a mirror near you in the next few days. This version changes the behavior of the dbGetQuery method to make it more consistent with dbSendQuery. Specifically: 1. dbGetQuery now closes a complete result set as dbSendQuery does. 2. If there is an incomplete result set open, dbGetQuery still opens a new temporary connection, but now issues
2008 Dec 19
4
Error: dict: Failed to initialize dictionary 'expire'
Hi! Using dovecot-1.1.17, and BDB-4.6.21. I'm having this error in every two weeks or so. I've running this in a crontab: /usr/local/sbin/dovecot --exec-mail \ ext /usr/local/libexec/dovecot/expire-tool The expire plugin and tool is working fine, the configuration is ok, and I'm using the BDB backend. What happens in every ~two weeks is dovecot starts to give me this error
2008 Jan 31
1
segfault in gregexpr()
Hi, Tried with R 2.6 and R 2.7: > gregexpr("", "abc", fixed=TRUE) *** caught segfault *** address 0x1c09000, cause 'memory not mapped' Traceback: 1: gregexpr("", "abc", fixed = TRUE) Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace
2008 Feb 21
1
Suggestion: isLoaded() to test if a package is loaded (without loading it)
Hi, for 'affxparser' (Bioconductor), we needed a function to test if a certain package was loaded or not, but we did not want to load it if it wasn't, which is why we couldn't use require(). We came up with the following solution: isPackageLoaded <- function(package, version=NULL, ...) { s <- search(); if (is.null(version)) { s <-
2008 Jun 04
2
RSQLite bug fix for install with icc
Seth, I encountered problems installing RSQLite, R-2.7.0, on RHEL4 using Intel 10.1 icc, My sysadmin helped me track down the problem and kindly forwarded me the fix, which corrected the problem. What follows is from the sysadmin. Mark I looked at the error, looks like there is a bug in the source code. I've attached a new tarball, hopefully fixed. I added #include <sys/types.h>
2007 Nov 14
1
isOpen on closed connections
As far as I can tell, 'isOpen' cannot return FALSE in the case when 'rw = ""'. If the connection has already been closed by 'close' or some other function, then isOpen will produce an error. The problem is that when isOpen calls 'getConnection', the connection cannot be found and 'getConnection' produces an error. The check to see if it is
2010 Aug 13
2
64 bit RSQLite
Hi folks, Ubuntu 10.04 64 bit Where can I find 64 bit RSQLite? It seems not there; RSQLite: SQLite interface for R http://cran.r-project.org/web/packages/RSQLite/index.html TIA B.R. Stephen L
2009 Jan 29
4
Side-effects of require() vs library() on x86_64 aka amd64
RDieHarder fails its regression tests on x86_64 (aka "amd64") at CRAN (using Debian), and I see the same on Ubuntu 8.10 in 64 bit. No issues on 32bit. One odd thing is that the program behaves well if run via R --no-save < tests/RDieHarder.R but NOT when started using R --slave < tests/RDieHarder.R as R CMD check does. So I tried different things related to startup
2010 Mar 10
0
RSQLite 0.8-4 now on CRAN
A new version of RSQLite (0.8-4) is now available on CRAN. Highlights of this release: Version 0.8-4 - Fix a memory leak in bound parameter management and resolve a missing PROTECT bug that caused spurious crashes when performing many prepared queries. - There is now a fairly comprehensive example of using prepared queries in the man page for dbSendQuery-methods. - Upgrade to SQLite
2010 Mar 10
0
RSQLite 0.8-4 now on CRAN
A new version of RSQLite (0.8-4) is now available on CRAN. Highlights of this release: Version 0.8-4 - Fix a memory leak in bound parameter management and resolve a missing PROTECT bug that caused spurious crashes when performing many prepared queries. - There is now a fairly comprehensive example of using prepared queries in the man page for dbSendQuery-methods. - Upgrade to SQLite
2010 May 07
0
Release announcement: RSQLite 0.9-0 now with more BLOBs
RSQLite is an R package conforming to the R DBI interface that allows for interaction with SQLite. Version 0.9-0 highlights: * Support for SQLite BLOBs using raw vectors in R * New memory model for db connections allows for more familiar R semantics and no predefined limit to the number of connections you can have in an R session. * Upgrade to SQLite 3.6.23.1 * Removed an unnecessary
2010 May 07
0
Release announcement: RSQLite 0.9-0 now with more BLOBs
RSQLite is an R package conforming to the R DBI interface that allows for interaction with SQLite. Version 0.9-0 highlights: * Support for SQLite BLOBs using raw vectors in R * New memory model for db connections allows for more familiar R semantics and no predefined limit to the number of connections you can have in an R session. * Upgrade to SQLite 3.6.23.1 * Removed an unnecessary
2008 Nov 14
0
R crashes on sprintf with bad format specification (PR#13285)
* On 2008-11-13 at 18:51 -0500 Duncan Murdoch wrote: > On 12/11/2008 8:30 PM, ocheyett at bonddesk.com wrote: >> Full_Name: Oren Cheyette >> Version: 2.7.2 >> OS: Win XP >> Submission from: (NULL) (64.161.123.194) >> >> >> Enter the following at the R command prompt: >>> sprintf("A %S %S %S XYZ", 1, 1, 1); >> >> Note the
2010 May 30
0
New package RSQLite.extfuns and minor upgrade for RSQLite
RSQLite.extfuns provides SQLite extension functions for use with RSQLite. The package is a wrapper of extension functions written by Liam Healy and made available through the SQLite website (http://www.sqlite.org/contrib). You can make the extension functions available on a per db connection basis like this: library("RSQLite.extfuns") db <- dbConnect(SQLite(), dbname =
2010 May 30
0
New package RSQLite.extfuns and minor upgrade for RSQLite
RSQLite.extfuns provides SQLite extension functions for use with RSQLite. The package is a wrapper of extension functions written by Liam Healy and made available through the SQLite website (http://www.sqlite.org/contrib). You can make the extension functions available on a per db connection basis like this: library("RSQLite.extfuns") db <- dbConnect(SQLite(), dbname =
2011 Dec 01
0
RSQLite 0.11.0
A new version of RSQLite has been uploaded to CRAN. Details on the enhancements and fixes are below. Please direct questions to the R-sig-db mailing list. Version 0.11.0 - Enhance type detection in sqliteDataType (dbDataType). The storage mode of a data.frame column is now used as part of the type detection. Prior to this patch, all vectors with class other than numeric or logical were