search for: obja

Displaying 4 results from an estimated 4 matches for "obja".

Did you mean: obj
2008 Nov 05
1
Methods dispatch and inheritance R.oo
...wrong and there is nothing in the help. library(R.oo) setConstructorS3("ClassA", function(A=15) { extend(Object(), "ClassA", .size = A ); }) setMethodS3("print", "ClassA", function(this,...) { print(paste('Class A:',this$.size)); }) objA<-ClassA(); objA [1] "Class A: 15" setConstructorS3("ClassB", function(B=15) { extend("ClassA", "ClassB", .size2 = B ); }) setMethodS3("print", "ClassB", function(this,...) { print(paste('Class B:',this$.size2)); }...
2006 Oct 03
2
Rails transactions issue with rollback.
...I have a transaction in which a duplicate key exception is being thrown by MySQL. I assume this happens when I try to do a save. The problem is that before the save, I do a destroy on another object as part of the transaction. Catching the exception by doing this, User.transaction do begin objA.destroy objB.save <-- causing exception rescue Exception => exc flash[:notice] = .... end end does not rollback the destroy. Any help would be appreciated. Thanks, Sam -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received...
2010 Nov 19
1
JRI and error message from R_isMethodsDispatchOn
...method which wraps R: Error in .Call("R_isMethodsDispatchOn", onOff, PACKAGE = "base") : Incorrect number of arguments (2), expecting 1 for R_isMethodsDispatchOn The Java pseudo code would be like: public class Test{ public static void main(String[] args){ ... objA.do; objB.do; ... } } Each do method actually calls R to do the job. I already know R is single-treaded so I implemented end method in Rengine class to shutdown R in each method. I thought this won't cause multi-thread problems in this case because I terminate/destroy each R thr...
2002 Jan 30
1
Patch: update zlib/* to 1.1.3
...IB=libz.so @@ -34,21 +35,27 @@ prefix = /usr/local exec_prefix = ${prefix} +libdir = ${exec_prefix}/lib +includedir = ${prefix}/include OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \ zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o +OBJA = +# to use the asm code: make OBJA=match.o + TEST_OBJS = example.o minigzip.o -DISTFILES = README INDEX ChangeLog configure Make*[a-z0-9] *.[ch] descrip.mms \ +DISTFILES = README FAQ INDEX ChangeLog configure Make*[a-z0-9] *.[ch] *.mms \ algorithm.txt zlib.3 msdos/Make*[a-z0-9] msdos/zlib.de...