Displaying 4 results from an estimated 4 matches for "eeeee".
Did you mean:
eeeer
2008 Apr 11
3
strsplit and sapply
Colleagues,
I have some text:
TEXT <- c("a", "bb;ccc", "dddd;eeeee;ffffff")
I want to retrieve the portion of each element before the first
semicolon. I can split each element using strsplit:
SPLIT <- strsplit(TEXT, ";")
This yields:
> SPLIT
[[1]]
[1] "a"
[[2]]
[1] "bb" "ccc"
[[3]]
[1] "dddd"...
2007 Aug 14
1
{grid} plain units with non NULL data arguments
...Non-NULL value supplied for plain unit
I have some labels. Between them I wanted to set a distance of 1.5 lines.
(I wanted to use that for a grid.layout for a legend:
The space is for the symbols.)
labels <- c( 'xxxx:', 'a', 'bb', 'ccc', 'dddd', 'eeeee' )
n <- length( labels )
s <- as.list( c( labels[1], rep( labels[-1], each=2 ) ) )
u <- unit( data=s, x=c( 1, rep( c( 1.5, 1 ), n-1 ) ),
units=c( 'strwidth', rep( c( 'lines', 'strwidth' ), n-1 ) ) )
How can I insert the NULL values into the...
2009 May 04
1
Syncronization in rails
...ective I have a link_to_remote, "Accept" link that
calls an action which calls the User Model''s "accept" method. Basically
UI looks like
FRIEND NAME | Action
---------------------------
AAAAA | Accept
BBBBB | Accept
CCCCC | Accept
DDDDD | Accept
EEEEE | Accept
FFFFF | Accept
Now from UI I try to accept multiple friends requests by clicking on
"Accept" link (which makes an ajax request) quickly.
When I run this in under normal development environment (running single
mongrel), everything works fine i.e. the validation put...
2007 Jul 25
1
strange rake behavior
I''m getting some really really really odd testing behavior.
1. Running rake test:units passes with flying colors. (Well, that''s
not what I mean by weird, but I suppose it is ;) )
2. Running rake test:functionals yields something like
..........................E..............EEEEE.......EEEE...rake
aborted!
But doesn''t print any stack traces or error message output for the Es
(even if I call it with -t for tracing).
3. Running ruby test/functional/_____.rb for each of my functional
tests passes with flying colors.
So my questions are
a) why no error messages? wh...