search for: az05625

Displaying 2 results from an estimated 2 matches for "az05625".

Did you mean: 3.05625
2011 Nov 02
1
can one modify array in R memory from C++ without copying it?
...ble *mem, int *nr, int *nc){ for(int i=0; i< (*nr)*(*nc); i++) mem[i]=2*mem[i]; } } ---------------------------------------------- I compile it into a shared library using R CMD SHLIB passptr.cpp load and run from R as follows -------------------------------- >dyn.load("/home/az05625/testarma/passptr.so") >m<-matrix(1:10,nr=2) >.C("modify", as.double(m), as.integer(2), as.integer(5), DUP=FALSE) >From reading docs i thought that DUP=FALSE would ensure that R matrix is not copied and is multiplied by 2 in place. However, it's not the case, matrix...
2010 Nov 24
1
RJDBC doesn't load Oracle driver?
...JDBC on RedHat Linux and using it successfully with mySQL JDBC driver i am trying to use it with Oracle database. I use the JDBC driver that works fine elsewhere (use it in DBVizualizer). However, when i try to load the driver, drv<-JDBC("oracle.jdbc.driver.OracleDriver", "/home/az05625/DBdrivers/ojdbc6.jar", identifier.quote="`") it gives me error message Error in .jfindClass(as.character(driverClass)[1]) : java.lang.UnsupportedClassVersionError: Bad version number in .class file One would think that this has to do with JRE older than the JDBC driver, but i...