Displaying 3 results from an estimated 3 matches for "twise".
Did you mean:
twice
2006 Nov 29
1
Extract some character from a character vector of length 1
...t;- "something2 ....pat1 name1 pat2 something2....pat1 name2
pat2....pat1 name3 pat2 "
I would like to extract the character bewteen pat1 and pat2. That's to
say, I would like to get a vecter of c("name1", "name2","name3").
What I did is use strsplit() twise. But I wonder if there any function
to this specific task?
Thanks.
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
2007 Aug 09
7
Modules in lib not follwing naming convension
Hej! Okey i have a problem, i have earlier written a set of classes in
ruby implementing a msrp chat client and now im trying to use it in my
rails app.
The msrp implementation consists of several files and most of the
functions and classes in those files ar encapsulated in a module lets
call it X. so for instance they look like this
header.rb
module X
class Z
...
end
end
The problem now