Displaying 2 results from an estimated 2 matches for "makeregexpsaf".
Did you mean:
makeregexpsafe
2008 Apr 09
2
autocompletion problem
...ct just to avoid confusion even if it's not necessary
for reproducing the problem below:
xxx <- 8:3
If I start typing this:
max(xxx[
and now try to autocomplete with <TAB>, then I get the following error (and a warning):
> max(xxx[Error in grep(sprintf("^%s", makeRegexpSafe(text)), allArgs, value = TRUE) :
invalid regular expression '^xxx['
In addition: Warning message:
In grep(sprintf("^%s", makeRegexpSafe(text)), allArgs, value = TRUE) :
regcomp error: 'Invalid regular expression'
Now it seems that this problem in R has m...
2012 Jun 09
3
More simple implementation is slow.
Hi all.
I'm developing a function, which must return a square matrix.
Here is the code:
http://pastebin.com/THzEW9N7
These functions implement an analog of two embedded for cycles.
The first variant creates the resulting matrix by columns, cbind()-ing them
one by one.
The second variant creates the matrix with two columns, which rows contain
all possible
variants of i and j and calls apply