similar to: possible agrep bug; R 2.9.1, Mac OS X 10.5 (PR#13789)

Displaying 20 results from an estimated 90 matches similar to: "possible agrep bug; R 2.9.1, Mac OS X 10.5 (PR#13789)"

2010 Nov 16
1
Bug in agrep computing edit distance?
The documentation for agrep says it uses the Levenshtein edit distance, but it seems to get this wrong in certain cases when there is a combination of deletions and substitutions. For example: > agrep("abcd", "abcxyz", max.distance=1) [1] 1 That should've been a no-match. The edit distance between those strings is 3 (1 substitution, 2 deletions), but agrep matches
2006 Jan 05
1
Pb with agrep()
Happy new year everybody, I'm getting the following while trying to use the agrep() function: > pattern <- "XXX" > subject <- c("oooooo", "oooXooo", "oooXXooo", "oooXXXooo") > max <- list(ins=0, del=0, sub=0) # I want exact matches only > agrep(pattern, subject, max=max) [1] 4 OK > max$sub <- 1 # One allowed
2004 Feb 13
1
RES: AGREP
"Marcos Sanches" <marcos.sanches at ipsos-opinion.com.br> wrote: Ls1<-length(s1) Ls2<-length(s2) for ( p in 1:ls1){ for (q in 1:ls2){ t1<-levenshteinFast(s1[p],s2[q]) ... Ls1=42000 Ls2=70000 I think I will wait for months untill this program ends. Do you have any sugestion to increase the speed? The first suggestion has to be "search HARD in the
2012 Dec 11
1
How do you use agrep inside a loop
Hi all. This is my first message at R-help...so I'm hoping I have some beginner's luck and get some good help for my problem! FYI I have just started using R recently so my knowledge of R is pretty preliminary. Okay here is what I need help with - I need to know how to use agrep in a for loop. I need to compare elements of a vector of names with other elements of the same vector.
2010 Nov 09
1
agrep pmatch recursive???
Hello R Helpers, Business - 64 bit windows 7, R 2.11.1 I am trying to match the character contents of one list, called 'exclude', to those of a second list, called 'dataset' dataset is a list of file names with folder locations, and looks like this when called: > dataset [1] "A/10-10-29a-13.cdf" "A/10-10-29a-14.cdf" "A/10-10-29a-15.cdf"
2012 Jan 19
1
bug en funcion 'agrep'
Estimados R-users: Estoy intentando usar la función 'agrep' para hacer búsquedas en cadenas de texto. El parámetro max.distance permite controlar la medida de aproximación de búsqueda de la función de Levenshtein. No obstante, cuando hago búsquedas específicas no obtengo siempre el resultado deseado y no se si es un bug o que no entiendo bien el algoritmo de búsqueda. Por
2010 Nov 17
2
Bug in agrep computing edit distance?
I posted this yesterday to r-help and Ben Bolker suggested reposting it here... Dickison, Daniel <ddickison <at> carnegielearning.com> writes: > > The documentation for agrep says it uses the Levenshtein edit distance, > but it seems to get this wrong in certain cases when there is a > combination of deletions and substitutions. For example: > > >
2004 Feb 11
6
AGREP
Hi all, I have two questions 1 - I have the version 1.4.1 of R, and it doesn't have the 'agrep' function in the base library. Is there a way to make this funcion avaliable in R 1.4.1? I mean, how to 'copy' it from R 1.8.1 and 'paste' it in R 1.4.1? 2 - The AGREP function doesn't give me the Levenshtein distance (edit distance). Is there a function in R that does
2010 Nov 21
3
Can't invert matrix
Hi, I'm trying to use the solve() function in R to invert a matrix. I get the following error, "Lapack routine dgesv: system is exactly singular" However, My matrix doesn't appear to be singular. [,1] [,2] [,3] [,4] [1,] 0.99252358 0.93715047 0.7540535 0.4579895 [2,] 0.01607797 0.09616267 0.2452471 0.3088614 [3,] 0.09772828 0.58451468 1.4907090
2009 Jun 30
1
install.packages with R 2.9.1 under Vista?
What do I need to do to get "install.packages" to work properly for me in R 2.9.1 under Vista? Currently, install.packages in Rgui 2.9.1 by default goes to "C:\\Users\\sgraves\\Documents/R/win-library/2.9". This is a problem for me, because R running under Emacs does not currently look there. I made the mistake last night of first installing R 2.9.1 in the
2009 Jun 15
0
R 2.9.1 Scheduled for June 26, 2009
This is to announce that we plan to release R version 2.9.1 on Friday, June 26, 2009. Release procedures start Tuesday, June 16. Those directly involved should review the generic schedule at http://developer.r-project.org/release-checklist.html The source tarballs will be made available daily (barring build troubles) and the tarballs can be picked up at
2009 Jul 30
1
R 2.9.1: Error building target 'front'
Hi, I am getting the following error # (R-2.9.1/src/library/methods): gmake front /bin/sh: 0403-057 Syntax error at line 1 : `;' is not expected. gmake: *** [front] Error 2 However, I am not sure what script sh is trying to execute at this point. I am building on AIX 5.3. Cheers, Loris -- Dr. Loris Bennett Computer Centre Freie Universit?t Berlin Berlin, Germany
2009 Aug 07
1
cannot upgrade to R 2.9.1 in Ubuntu
R-help, At the moment the R version installed on my machine is 2.8.1. (Ubuntu 9.04) I wish to upgrade to R 2.9.1. I did: $ sudo apt-get upgrade ..but R is not upgraded although the "sources.list" file is updated with: deb http://cran.ii.uib.no/bin/linux/ubuntu jaunty/ When I run from the terminal I still get: $ R R version 2.8.1 (2008-12-22) Copyright (C) 2008 The R Foundation for
2009 Jun 15
0
R 2.9.1 Scheduled for June 26, 2009
This is to announce that we plan to release R version 2.9.1 on Friday, June 26, 2009. Release procedures start Tuesday, June 16. Those directly involved should review the generic schedule at http://developer.r-project.org/release-checklist.html The source tarballs will be made available daily (barring build troubles) and the tarballs can be picked up at
2009 Jul 16
2
Renviron.in error when compiling R 2.9.1 under Debian.
Dear all, I'm trying to compile R 2.9.1 on my home directory under debian, and as I need to play with RPy, I tryed compile R using: ./configure --enable-R-shlib But, during the compilation, I get the error below: ------------------------------------- using as R_SHELL for scripts ... /bin/sh configure: creating ./config.status config.status: creating Makeconf config.status: creating Makefile
2011 Feb 10
2
R 2.12.1 Windows 32bit and 64bit - are numerical differences expected?
Should one expect minor numerical differences between 64bit and 32bit R on Windows? Hunting around the lists I've not been able to find a definitive answer yet. Seems plausible using different precision arithmetic, but waned to confirm from those who might know for sure. BACKGROUND A colleague was trying to replicate some modelling results (from a soon to be published book) using rpart, ada,
2009 Jul 06
0
success(?) with cross-compiling R package with R 2.9.1
Hi, (I am not longer on R-devel - please CC:) Just when Fedora 11 is shipping a gcc 4.4 based cross-compiler - the last major distro to ship a cross-compiler, but the first to ship a gcc 4.4- one.(both Suse & Debian has been so so for a while, and I expect Ubuntu as well), and the mingw people has finally released gcc 4.4 mingw builds, I am a little disappointed to find that cross-compling
2009 Jul 20
1
Rcmd check fails on Windows Samba network path in R 2.9.1
Hi, I have just updated R from version 2.8.1 to version 2.9.1. I am running Windows XP Professional, Service Pack 3. With the update, I decided to update a set of packages that I maintain by compiling them for the new version. Everything worked fine except for one package. This package is unique (among the six I was working on) in that is stored on a UNIX-based file server that is
2009 Aug 23
2
upgraging R from 2.9.0 to 2.9.1
I am still running 2.9.0 and came across a package that was built with 2.9.1. I got a warning upon loading the package. I tried to launch a function from such a package. It seems to hang up. I can't believe it takes forever. I am resolved to upgrade my R version to the newest one. But on a Windows box I do not know how to unistall the current version in advance of installing the new one. On
2009 Aug 10
2
cannot upgrade to R 2.9.1 in Ubuntu
R-SIG-Debian help, At the moment the R version installed on my machine is 2.8.1. (Ubuntu 9.04) I wish to upgrade to R 2.9.1. I did: $ sudo apt-get upgrade but R is not upgraded although the "sources.list" file is updated with: deb http://cran.ii.uib.no/bin/linux/ubuntu jaunty/ When I run from the terminal I still get: $ R R version 2.8.1 (2008-12-22) Copyright (C) 2008 The R