Displaying 1 result from an estimated 1 matches for "fnct1".
Did you mean:
fnctl
2014 Jul 21
0
Displaying database records returned from postgresql to R through Java
Hi All,
I have a R script which returns a set of records from the postgresql to the
Java program and I want to print those records in Java.My script is like
this:
library(RPostgreSQL)
fnct1 <- function()
{
drv <- dbDriver("PostgreSQL")
r <- dbConnect(drv, host='local', port='1234',dbname='db',
user='user', password='pwd')
rs <- dbSendQuery(r,"select * from table1 where colm1 = 'val1...