Displaying 20 results from an estimated 100 matches similar to: "RJDBC and multiple classpaths"
2013 Feb 08
1
ClassNotFoundException when running distributed job using rJava package
Hi,
I have a MapReduce Java code, which I am calling from R using rJava. I have
prepared the R package and tested that successfully. But when I deployed
the package in a cluster and executed it, I am getting
ClassNotFoundException. If I run the same job directly without integrating
with R, it runs perfectly.
Here is my R code:
library(rJava)
muMstSpark <- function(mesosMaster = NULL, input =
2013 Sep 23
0
Unable to execute Java MapReduce (Hadoop) code from R using rJava
Hi All,
I have written a Java MapReduce code that runs on Hadoop. My intention is
to create an R package which will call the Java code and execute the job.
Hence, I have written a similar R function. But when I call this function
from R terminal, the Hadoop job is not running. Its just printing few lines
of warning messages and does nothing further. Here is the execution
scenario:
*>
2011 Apr 30
3
Copying to R a rectangular array from a Java class
Bare test code: My simple Java test class source and R test code follow:
public class RJavTest {
public static void main(String[]args) { RJavTest rJavTest=new RJavTest();
}
public final static String conStg="testString";
public final static double con0dbl=10000001;
public final static double[]con1Arr=new double[] {
10001,10002,10003,10004,10005,10006 };
public final static
2006 Jan 05
3
MS SQL server connection problems
I am trying to connect to a remote sql server and I am getting the
following error:
c:/ruby/lib/ruby/site_ruby/1.8/DBD/ADO/ADO.rb:57:in `connect'': Open
(DBI::Databa
seError)
OLE error code:80004005 in Microsoft OLE DB Provider for SQL Server
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist
or access
denied.
HRESULT error code:0x80020009
Exception
2010 Nov 24
1
RJDBC doesn't load Oracle driver?
After installing RJDBC 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
2008 Jun 02
1
RJDBC cant find driver class in JDBC jar file
I would like to set up a Windows XP environment with R and MySQL.
This set-up was recommended by a friend who uses this set up, but I
have been unable to get RJDBC to work. I have installed all of the
software today (June 2 2008), first deleting and then replacing old
versions of software.
The error is as follows:
Error in .jfindClass(as.character(driverClass)[1]) : class not found
This error
2012 Feb 27
0
Help with rJava
I am trying to invoke an in house developed java program from R and am
running into some confusing issues.
I've written this function:
DoNormalSkew <- function() {
.jaddClassPath("U:/development/software/untilities/ELVeSkew/dist/ELVeSkew.jar")
.jpackage("U:/development/software/utilities/ELVeS/dist/ELVeSkew.jar")
.jcall("java/lang/System", "V",
2012 Mar 22
3
calling java from R and using java time series double precision array
I haven't had time to try using R for over a year, but have a colleage who
wants to.
We work with time series and our current version of our calendar-time
subroutines in
java converts both directions between linear time and calendar.
We have used calendar time since year 1965 starting out then with Fortran.
Calendar time can be CnYrMoDa | CnYrMoDaHr | CnYrMoDaHrMn | CnYrMoDaHrMnSc
|
2006 Aug 24
0
Re: Visual DB Modelling on Mac
On 23/08/06, Molotoff <amatveich-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> Guess, I will stick with DBVisualizer - it seems pretty adequate.
You might want to consider OmniGraffle, from the Omni Group. Although it is
a general diagramming tool -- sort of like Visio, it includes a template for
E-R diagrams and there''s a MySQL one available.
--
Cheers,
Hasan Diwan
2006 Jan 13
4
SQL -> Diagram script
Did I see some code posted here that would create a graphical
representation of a database relationships using the graphviz utilities?
--
Posted via http://www.ruby-forum.com/.
2014 Sep 26
1
[rJava] RJavaClassLoader and system classloader
Hi everyone,
I want to call a Java application from R and have encountered some problems with the way rJava deals with the system class loader.
To run my application, I use the following R script:
> library(rJava)
> .jinit()
> .jaddClassPath("myApp.jar")
> rWrapper <- .jnew("org/test/RWrapper")
> .jcall(rWrapper,"V","start")
My Java
2005 Nov 27
5
OT: good admin gui postgresql on OSX?
Hi,
I recently bought by first Mac and I''m looking for some alternatives for
my windows applications.
Does anybody know a decent gui admin app for postgresql? On windows I
use postgresql manager:
http://www.sqlmanager.net/en/products/postgresql/manager
I find this a very good piece of software and it''s free, even though I
paid a little for some extra features. I''d
2012 Feb 09
0
Java heap space Error while reading table from postgres database using RJDBC
Hi List,
I am reading table from postgres database into R session using RJDBC, table
contains 150 columns and 200000 rows.
Sample code is as below, which works fine with smaller tables.
########################################################################
db_driver <- mydir$db_driver
db_jar_file <- mydir$db_jar_file
db_server <- mydir$db_server
db_server_lgn <- mydir$db_server_lgn
2010 Feb 05
0
RJDBC with MS Access
Has anybody used RJDBC to read tables from an MS Access mdb file? I know how
to do it with RODBC, and I have used RJDBC with SQL Server. I am, however
interested now in this particular combination. Is it possible?
--
View this message in context: http://n4.nabble.com/RJDBC-with-MS-Access-tp1470599p1470599.html
Sent from the R help mailing list archive at Nabble.com.
2014 Oct 20
0
dbHasCompleted() always returns TRUE for POSTGRES Database with RJDBC?
Hello Simon, Hello everyone,
I have a problem with retrieving database-queries chunkwise. In my query
(Postgresql-Database, Postgres-Version 9.1) dbHasCompleted seems to
always return TRUE.
dbGetQuery works for smaller tables, but not for the whole query, since
then a Heap-Overflow-Error will occur (and a Error:
"java.lang.OutOfMemoryError: GC overhead limit exceeded" when trying to
2007 Jun 14
0
connecting to db2 via RJDBC
Hello,
I seem to have issues with setting the driver:
My code:
library(RJDBC)
getStatic <- function()
{
# set driver
driverClass <-
JDBC("com.ibm.db2.jcc.DB2Driver","someClassPath.jar","'")
conn <- dbConnect(driverClass,"serverName")
etc etc
}
I get this error
> data <-getData()
2007 Mar 05
1
RJDBC
I need help.
I'm trying to connect with an Oracle DBMS and MySQL DBMS, I'm using
RJDBC package.
My code is the next:
library('rJava')
library('DBI')
library('RJDBC')
//Mysql
drv <-
JDBC("com.mysql.jdbc.Driver","C:\\Temporal\\mysql-connector-java-3.0.9-stable-bin.jar","'")
conn <- dbConnect(drv,
2007 Mar 05
0
RJDBC
I need help.
I'm trying to connect with an Oracle DBMS and MySQL DBMS, I'm using
RJDBC package.
My code is the next:
library('rJava')
library('DBI')
library('RJDBC')
//Mysql
drv <-
JDBC("com.mysql.jdbc.Driver","C:\\Temporal\\mysql-connector-java-3.0.9-stable-bin.jar","'")
conn <- dbConnect(drv,
2010 Oct 12
1
append rows to Sybase datatable using RJDBC
Hi,
Does anyone have experience using RJDBC library to write to Sybase
datatable? The jdbc driver I am using is jConnect 6.0. I can
successfully write into a new datatable, but have problem appending rows
to existing one. It either complains "Table *** already exists" or
simply overwrite the existing one. Here is the example.
I am trying to append 'data' to the existing
2011 Feb 16
1
Rjdbc dbGetquery execution error
Rjdbc consistently gives me an execution error with postgresql 9.0s JDBC4
driver. It's probably something trivial so am including my code below:
library("RJDBC")
param <- 249
param2 <- 188129
postgres <- JDBC("org.postgresql.Driver",
".m2/repository/postgresql/postgresql/9.0-801.jdbc4/postgresql-9.0-801.jdbc4.jar")
con <- dbConnect(postgres,