Displaying 20 results from an estimated 2000 matches similar to: "DBI + ROracle problem with parser ?? (PR#9424)"
2004 Dec 09
1
ROracle/DBI problem with dbExecStatement on RH Linux
Hi,
first thanks to Sunny Ho (and David James for the pointer) for resolving
the problem of the empty rows returned from ROracle.
However, I have a problem still:
> library(ROracle)
> ora <- dbDriver("Oracle")
> con <- dbConnect(ora, user = USER, password = PWD, dbname = DBNAME)
> rs <- dbExecStatement(con, "select * from USER_TABLES")
Error in
2003 Sep 24
0
Core dump using DBI/ROracle
Hi,
Has anyone seen this problem before, and does anyone have a solution?
When I query a database using DBI and ROracle to retrieve a date in a format
other than the system default, I get a core dump.
System: Redhat Linux 7.3
uname: Linux 2.4.20-20.7smp #1 SMP Mon Aug 18 14:46:14 EDT 2003 i686
Oracle version 8i
R --version: R 1.7.1 (2003-06-16).
DBI_0.1-6, ROracle_0.5-0
Start up R, load
2009 Jun 04
0
ROracle: cannot insert several columns
Hi all,
I've been playing with ROracle (0.5-9) for a few days
and I can't wrap my mind around this one.
Here's a sample of my R (2.4.0) session.
my.df<-data.frame(prd_id=c(123,456),vol_factor=c(.123,.456))
> my.df
prd_id vol_factor
1 123 0.123
2 456 0.456
> library(ROracle)
Loading required package: DBI
>
2020 Oct 08
0
Lahman Baseball Data Using R DBI Package
Hi Philip,
You've probably realized by now that R doesn't like column names that
start with a number. If you try to access an R-dataframe column named
2B or 3B with the familiar "$" notation, you'll get an error:
> library(DBI)
> library(RSQLite)
> con2 <- dbConnect(SQLite(), "~/R_Dir/lahmansbaseballdb.sqlite")
> Hack12Batting <-
2020 Oct 08
1
Lahman Baseball Data Using R DBI Package
This is really a feature of SQL, not R. SQL requires that you double quote
column names that start with numbers, include spaces, etc., or that are SQL
key words. E.g.,
> d <- data.frame(Order=c("sit","stay","heel"),
Where=c("here","there","there"), From=c("me","me","you"))
>
2007 Apr 30
1
ROracle issues
Hi all -
I am trying to install ROracle for linux machines ... I have read the
INSTALL documentation and followed the directions for setting the paths
as follows:
export PATH=/app/oracle/product/10.2.0/db_1/bin:$PATH
[manthony@diamondback ~]$ export
LD_LIBRARY_PATH=/usr/lib:/usr/lib64:/lib:/app/oracle/product/10.1.0/db_1
2020 Oct 02
3
Lahman Baseball Data Using R DBI Package
I?m trying to pull data from one table (batting) in the Lahman Baseball database. Notice X2B for doubles and X3B for triples ? fourth and fifth from the right.
The dbGetQuery function runs fine when I leave there two out but I get error messages (in red) when I include 2B/3B or X2B/X3B.
Can anyone give me some direction?
Thanks,
Philip Heinrich
2002 Sep 12
1
DBI / MySQL problems
Hi.
I frequently use RMySQL package to interface R with MySQL databases. I was
having a try with package DBI and I got the following error:
> library(RMySQL)
> library(DBI)
> drv <- dbDriver("MySQL")
> ch <- dbConnect(drv, dbname="mydb", user="myuser", password="mypasswd")
> ibm <- dbGetQuery(ch,"select * from table where
2004 Feb 10
0
name space conflict using RMySQL and ROracle
Hello everybody,
could anybody give me a hint how to to use RMySQL and ROracle libraries at the same
time without getting conflict with name spaces?
Because it needs to much time, unloading and reloading the libraries is no solution...
Example:
----------- snip -----------------
library(ROracle)
library(RMySQL)
mysql <- MySQL()
con <- dbConnect(mysql, user=MySQL.name, password=MySQL.pwd,
2020 Oct 03
1
Lahman Baseball Data Using R DBI Package
The double quotes are required by SQL if a name is not of the form
letter-followed-by-any-number-of-letters-or-numbers or if the name is a SQL
keyword like 'where' or 'select'. If you are doing this from a function,
you may as well quote all the names.
-Bill
On Fri, Oct 2, 2020 at 6:18 PM Philip <herd_dog at cox.net> wrote:
> The \?2B\? worked. Have no idea why. Can
2004 May 24
1
ROracle on RHEL 3 x86_64
Hello,
I am trying to configure my system with ROracle. I am running RHEL 3 AS x86_64. I have the Oracle client 9.2.0.4 x86_64. I have successfully compiled and run both R-1.8.1 and R-1.9.0 (tried ROracle on both installations). I am using DBI 1.8 and ROracle 0.5-4. I have used both the default Redhat installed gcc 3.2.3 and gcc 3.4. I am able to compile ROracle successfully with the
2008 Sep 11
2
database table merging tips with R
I have not devoted time to setting up ROracle since binaries are not available and it seems to require some effort to compile (see http://cran.r-project.org/web/packages/ROracle/index.html). On the other hand, RODBC worked more or less magically once I set up the data sources.
What is your success using ROracle and why would it be preferable to RODBC ?
-Avram
On Thursday, September 11,
2009 Mar 27
0
consistent segfaults in ROracle with one of the databases
Dear list.
Has anybody had any issues with ROracle, namely consistently leading to
a segmentation fault? One of our oracle databases seems to have certain
issues at the moment (do not know what exactly though) and if that one
is queried ROracle definitely fails with a segmentation fault. Any
ideas? Here is the trace and below is also a type of query that crashes
it:
*** caught segfault ***
2003 Jan 17
1
DBI/ROracle for remote database connection ?
Hello,
I have installed the ROracle and DBI packages, and I want to
access an Oracle database that is not on the same machine
as the one I am running R on.
I can access the database remotely with perl DBI and Java JDBC.
Does anyone know if this is possible using R DBI/ROracle ? I
have looked through the documentation and also tried to guess
at things which might work, but with no success.
I
2003 Feb 11
3
Tcl/Tk support is not available on this system.
I am trying to get R to run on a Red Hat 8 system, I am running R version
1.6.2 with Tcl/Tk version 8.3.5 installed. When I try to test R from the
data_sets directory I get the error message;
Error in firstlib(which.lib.loc, package) :
Tcl/Tk support is not available on this system
Error in fileBrowser(textToShow = "Choose one CDF file" , nSelect = 1, :
tcl/tk library not available
2004 Mar 10
2
Inserting Date Field into Oracle table using ROracle
Hello,
Attached is a mail regarding question how to insert Date field using ROracle
package. I am stuck with this problem and appreciate receiving help from
gurus on this list.
Code used mainly is:
library(ROracle) ### --- Version 0.53
drv <- dbDriver("Oracle")
con <- dbConnect( drv, "user/passwd")
d <- data.frame(CDATE = "2004-03-10 10:12:00")
ps
2011 Dec 14
0
Reading Oracle SQL Developer BLOB/CLOB files into R (Packages: DBI, foreign, RODBC, ROracle)
Hi everyone,
I have been following these forums closely for the last few months but this
is my first time posting. Basically I am trying to get an Oracle SQL
Developer Binary Large Object(BLOB/CLOB) file in as an R object in R. For
those not familiar with a BLOB/CLOB file, it is basically lik a table that
has cells that contain tables or files. By converting the large table into a
BLOB/CLOB file
2012 Mar 24
2
RC / methods package
(I think this is being caused by the new methods package in RC.)
In the RC (March 24) some of my packages are generating a Note
Note: Method with signature "MySQLConnection#integer" chosen for
function "coerce",
target signature "TSMySQLConnection#integer".
"dbObjectId#integer" would also be valid
This is coming from a call to dbGetQuery() in package
2008 Jan 29
1
"ROracle" Packages is not to be installed (PR#10652)
Full_Name: JinNyong Huh
Version: 2.6.1
OS: Linux(SUSE-9.0)
Submission from: (NULL) (220.75.209.235)
ROracle Packages is not to be installed in my Linux.
The enviroments are as follows:
* O/S Profile
[
export ORACLE_BASE=/opt/oracle
export ORACLE_SID=DEMO10G
export ORACLE_HOME=$ORACLE_BASE/product/10g
export ORACLE_DOC=$ORACLE_HOME/doc
export ORACLE_TERM=vt220
export TERM=vt100
export
2008 May 12
1
Insert a recorde into a table using SQL
Dear list,
I want to insert a recorde into a SQLite table by dbGetQuery(), but
there is a problem when the value contains quotation mark.
> dd<-data.frame(txt=c("having both ' and \" in character.","OK"))
> library(RSQLite)
Loading required package: DBI
> con<-dbConnect(dbDriver("SQLite"),":memory:")
>