roracle

ROracle.dll is not a valid Win32 application

一曲冷凌霜 提交于 2020-01-04 11:00:27
问题 It's a tale as old as ROracle... I just can't seem to find a solution to this problem. I've uninstalled JAVA, R, and RTools and reinstalled all 3 with only 64bit versions. The build for ROracle goes fine, but I get the following error message when trying to load the package. I've looked at some of the other solutions without success and verified a 64 bit install of Oracle Client. Thoughts? Loading required package: DBI Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load

dbGetQuery returns date that differs by an hour

假装没事ソ 提交于 2019-12-25 13:38:10
问题 In R I am running the following query to retrieve data: test <- dbGetQuery(conn = GetConnection("default"), statement = "SELECT PK_FK_RW_BOND_HOLDING_VAL_BOND, PK_CASHFLOW_DAT FROM RW_CASH_FLOWS_ON_BONDS WHERE PK_FK_RW_BOND_HOLDING_VAL_BOND = 'AT0000385745' OR PK_FK_RW_BOND_HOLDING_VAL_BOND = 'RU000A0JV7J9'") This returns PK_FK_RW_BOND_HOLDING_VAL_BOND PK_CASHFLOW_DAT RU000A0JV7J9 2018-01-14 23:00:00 RU000A0JV7J9 2017-01-14 23:00:00 RU000A0JV7J9 2019-08-01 00:00:00 RU000A0JV7J9 2019-01-31 23

Connect to ORACLE via R, using the info in sql developer

烈酒焚心 提交于 2019-12-24 19:54:14
问题 I am working on a machine without admin rights. I use sql developer to connect to an internal database. I would like to connect via R also. Is there any way I can do this, without admin rights? Some solutions require me to set up a systemDNS - which I can not do. Other requires me to install jvm.dll My environment: Windows7, sqldeveloper, connection method is via TNS file. 回答1: Connecting to SQL Developer via R is far more difficult than other databases I've encountered. It's important that

Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘ROracle’ These will not be installed

*爱你&永不变心* 提交于 2019-12-24 00:47:13
问题 I tried to install ROracle package in R. But unable to install the package. It is giving me the following error: Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘ROracle’ These will not be installed Any idea how to fix it? 回答1: When I attempted to install the ROracle package from CRAN, I received the same error message. To fix it, I found that I needed to install the ROracle package located on the Oracle.com website. You'll need to sign up a free

How to install ROracle package?

冷暖自知 提交于 2019-12-20 21:01:50
问题 I am trying to install ROracle package using install.packages("ROracle") but every time i am getting this message "Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘ROracle’" These will not be installed I am not able to find the solution for this, How can i resolve this issue? 回答1: from a past post. How to install ROracle package on Windows 7? Download binary from oracle: http://www.oracle.com/technetwork/database/database-technologies/r/roracle

How to install ROracle package?

前提是你 提交于 2019-12-20 21:01:10
问题 I am trying to install ROracle package using install.packages("ROracle") but every time i am getting this message "Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘ROracle’" These will not be installed I am not able to find the solution for this, How can i resolve this issue? 回答1: from a past post. How to install ROracle package on Windows 7? Download binary from oracle: http://www.oracle.com/technetwork/database/database-technologies/r/roracle

Encoding in ROracle

梦想的初衷 提交于 2019-12-13 04:23:27
问题 I'm having issues importing norwegian characters like æ, ø, and å from an Oracle database using ROracle. I've had similar problems with RODBC before. I don't have the problem when importing from files like csv and xlsx, I'm sure the problem is with setting the encoding when importing with ROracle, but the documentation does't really tell me how to do that. Various answers write a function for converting to UTF-8 after importing, but that is not a solution that works for me. I wish to make

ROracle encoding issues

ぐ巨炮叔叔 提交于 2019-12-11 16:07:23
问题 I am using the ROracle library to access an Oracle database from RStudio. Please see the code below: drv = dbDriver("Oracle") connect.string = paste( "(DESCRIPTION=", "(ADDRESS=(PROTOCOL=tcp)(HOST=", host, ")(PORT=", port, "))", "(CONNECT_DATA=(SID=", sid, ")))", sep = "") con = dbConnect(drv, username = "", password = "",dbname=connect.string, encoding="latin1") ### Pull tables keyword = dbGetQuery(con, "select COLUMN1,COLUMN2 from TABLE1") In my column i got the words: Lørdag, søndag etc

Connect to Oracle database using ROracle with tnsnames.ora on Mac OS 10.10

别等时光非礼了梦想. 提交于 2019-12-11 03:35:16
问题 Followup to Installation of RODBC/ROracle packages on OS X Mavericks... First of all, I have installed ROracle on Mac OS 10.10.3 (Yosemite) using the answer provided by @joran. Additionally, using the start-up plist file to set DYLD_LIBRARY_PATH, I can run library(ROracle) , and it loads just fine. However, I am unable to connect to my database with a tnsnames.ora file. I have added the TNS_ADMIN variable to the .Renviron file, which RStudio seems to pick up: > Sys.getenv("TNS_ADMIN") [1]

how to install r package for oracle on windows 10 64 bit

我的梦境 提交于 2019-12-08 04:56:51
问题 while installing rpackage Roracle on windows 10 i'm getting stuck at this point install.packages("ROracle") Installing package into ‘C:/Users/admin/Documents/R/win-library/3.3’ (as ‘lib’ is unspecified) Package which is only available in source form, and may need compilation of C/C++/Fortran: ‘ROracle’ Do you want to attempt to install these from sources? y/n: y installing the source package ‘ROracle’ trying URL 'https://cran.rstudio.com/src/contrib/ROracle_1.3-1.tar.gz' Content type