Displaying 4 results from an estimated 4 matches for "sub_".
Did you mean:
sub
2012 Jul 16
2
extract number from a mixture of character and number
Hi, all,
I have a column like the following:
ID TIME
sub_001 0
sub_001 24
sub_002 0
sub_002 24
sub_003 0
sub_003 24
sub_004 0
sub_005 24
..
..
is there a way for me to...
2005 Oct 26
1
pb with dyn.load - fortran code now attached
...t; system("R CMD SHLIB ~/tmp/test2.f")
g77 -fPIC -g -O2 -c /home/guillot/tmp/test2.f -o /home/guillot/tmp/test2.o
gcc -shared -L/usr/local/lib
-o /home/guillot/tmp/test2.so /home/guillot/tmp/test2.o -lg2c -lm -lgcc_s
>
> is.loaded("sub")
[1] FALSE
> is.loaded("sub_")
[1] FALSE
>
## OK
> dyn.load("~/tmp/test1.so")
> is.loaded("sub")
[1] FALSE
> is.loaded("sub_")
[1] TRUE
>
## it seems it does not comply with the 'value' section of the help
## of function is.loaded:
## "it needs the
## name you...
2005 Oct 26
0
pb with dyn.load
...t; system("R CMD SHLIB ~/tmp/test2.f")
g77 -fPIC -g -O2 -c /home/guillot/tmp/test2.f -o /home/guillot/tmp/test2.o
gcc -shared -L/usr/local/lib
-o /home/guillot/tmp/test2.so /home/guillot/tmp/test2.o -lg2c -lm -lgcc_s
>
> is.loaded("sub")
[1] FALSE
> is.loaded("sub_")
[1] FALSE
>
## OK
> dyn.load("~/tmp/test1.so")
> is.loaded("sub")
[1] FALSE
> is.loaded("sub_")
[1] TRUE
>
## it seems it does not comply with the 'value' section of the help
## of function is.loaded:
## "it needs the
## name you...
2008 Mar 05
0
Index Searcher Causes GC Memory Error: "irb: double free or corruption"
...80]
/usr/lib/libruby.so.1.8(ruby_stop+0x1d)[0xc2c3ad]
/usr/lib/libruby.so.1.8[0xc372c1]
irb[0x804868d]
/lib/libc.so.6(__libc_start_main+0xe0)[0x5e5390]
irb[0x8048581]
Here is the code of my class. Any sign of what is wrong with the memory handling?
class IndexSearcher
attr_accessor :searcher, :sub_searchers, :object_type
# @param paths [Array of String] full local paths
def initialize( object_type, paths )
# Would''ve used this way since it''s simpler and said by author to be faster; but invalid paths
will break this entirely
# self.searcher = Ferret::Search::Searcher....