Displaying 20 results from an estimated 700 matches similar to: "ROracle connection problem"
2001 Oct 10
1
Importing many files
Hello Cracks,
we want to import 10 x 365 files containing each 7 variables with 1211
rows. The filenames end with numbers from 1 to 365. We tried a for loop
to import using read.table but we couldn't create the r objects within
the loop. We want each file in an own r-objekt (matrix).
Does anyone know what can be done?
Thanks, Felix
--
Felix Tiefenbacher
Eidg. Institut f?r Schnee- und
2011 Nov 16
0
calculating variograms (gstat) with large data sets
Dear all,
I am aiming to calculate variograms using variogram() from gstat.
The problem is that some of my data-sets are very large (> 400000 points).
Running the command takes some hours of time and does not give any
error-message.
Nevertheless the result seem not to be appropriate - the first few bins
are ok (up to a distance of about 300) but then it gains lags which are
much larger than
2009 Sep 17
0
geoR, variofit
Hello All!
I calculate a variogram using the function variog (package geoR)
afterwards I use variofit to fit a spherical model (see code below).
Now I just changed the units of the variable (in this case MPa to kPa
just a factor of 1000). If I do so, I get a different fit and
therefore different ranges etc. Why? The semi-variance is of course 6
orders of magnitude higher but the values
2017 Aug 02
3
Remove attribute from netcdf4 object
Dear all
For a model I need to combine several netCDF files into one (which works fine). For better overview I'd like to delete/remove some of the attributes. Is there a simple way doing this?
I'm using the package netcdf4, which creates an object of class(nc) = "ncdf4". It seems that for earlier versions of netcdf objects, there was the function att.delete.nc{RNetCDF}. But
2003 Jul 17
1
Hosmer- Lemeshow test
dear all,
i made some analysis with logistic regression. do you know if there is
already a function available for the hosmer-lemeshow fitness test?
thank you very much for the help
best wishes
andi
2017 Aug 22
1
How to benchmark speed of load/readRDS correctly
Note that if you force a garbage collection each iteration the times are
more stable. However, on the average it is faster to let the garbage
collector decide when to leap into action.
mb_gc <- microbenchmark::microbenchmark(gc(), { x <- as.list(sin(1:5e5)); x
<- unlist(x) / cos(1:5e5) ; sum(x) }, times=1000,
control=list(order="inorder"))
with(mb_gc,
2017 Aug 14
0
ncdf4: Why are NAs converted to _FillValue when saving?
On Mon, Aug 14, 2017 at 5:29 AM, <raphael.felber at agroscope.admin.ch> wrote:
Dear all
>
> I'm a newbie regarding netcdf data. Today I realized that I maybe do not
> understand some basics of the netcdf. I want to create a *.nc file
> containing three variables for Switzerland. All data outside of the country
> are NAs. The third variable is calculated from the first two
2008 Apr 23
2
ROracle error at step 1
Hi
I Can't connect to the Oracle database, any tips? Has anybody actually
got ROracle up and running on windows?
>> unable to find an inherited method for function "dbConnect",
for signature "OraDriver"
I can happily connect to the same database through RODBC. Oracle client,
version 9.2 installed, amongst others.
Sean
> library(DBI)
> library(ROracle)
2017 Aug 14
2
ncdf4: Why are NAs converted to _FillValue when saving?
Dear all
I'm a newbie regarding netcdf data. Today I realized that I maybe do not understand some basics of the netcdf. I want to create a *.nc file containing three variables for Switzerland. All data outside of the country are NAs. The third variable is calculated from the first two variables. Basically there is no problem to do that. I copy the file with the data of the first variable,
2017 Aug 22
0
How to benchmark speed of load/readRDS correctly
The large value for maximum time may be due to garbage collection, which
happens periodically. E.g., try the following, where the
unlist(as.list()) creates a lot of garbage. I get a very large time every
102 or 51 iterations and a moderately large time more often
mb <- microbenchmark::microbenchmark({ x <- as.list(sin(1:5e5)); x <-
unlist(x) / cos(1:5e5) ; sum(x) }, times=1000)
2017 Aug 22
4
How to benchmark speed of load/readRDS correctly
Dear all
I was thinking about efficient reading data into R and tried several ways to test if load(file.Rdata) or readRDS(file.rds) is faster. The files file.Rdata and file.rds contain the same data, the first created with save(d, ' file.Rdata', compress=F) and the second with saveRDS(d, ' file.rds', compress=F).
First I used the function microbenchmark() and was a astonished
2006 Oct 19
1
ROracle error in Windows. Memory could not be read.
I've seen from earlier posts that other people had problems installing
ROracle under Windows. I run R-2.3.1.
I got the Windows binaries for ROracle from
http://stat.bell-labs.com/RS-DBI/download/index.html
Here is my session:
> require(ROracle)
Loading required package: ROracle
Loading required package: DBI
[1] TRUE
> drv <- dbDriver("Oracle")
> drv
2008 May 01
3
Error in building ROracle in Windows with R 2.6.2 and Oracle 10g.
Hi,
I need to use ROracle to communicate with Oracle from R program in windows
environment. I am using Oracle 10g, R 2.6.2. I found a pre-compiled binary
for ROracle for Oracle version 9.2. When I am trying to use it with Oracle
10g I get the following error:
con <- dbConnect(drv, "user/passwd at dbname");
Error in function (classes, fdef, mtable) :
unable to find an inherited
2004 Jul 14
3
ROracle - fetch gives empty dataframe
Dear R-users,
I was able to make ROracle package to connect to the DB (Oracle91,
64bit, on Solaris). But after executing siple SQL query, "fetch"
commaned gives me an empty dataframe.
### RORACLE INSTALATION PROCEDURE ###
R CMD INSTALL --configure-args='--enable-extralibs' --enable-oracle32=no
~/tmp/ROracle_0.5-5.tar.gz #since we have 64bit Oracle9i instalation
PROBLEM:
2017 Sep 07
1
extend limited dimension in netcdf
Dear all
I have to combine 3D netCDF files (lon, lat, time). The files contain data of one month and I need a year file containing all the data. Because the attributes of all files are the same, I copied the first file and appended the data of the other months. This went well until the provider of the data changed the time-dimension from UNLIMITED to LIMITED. Is there a way to change the time
2005 Aug 25
5
ROracle and select query empty
Hi,
I just installed ROracle and RDBI. The connection to the database seems
to work also. My problem is when I am selection rows that really exist
in the database, it is returning nothing. Where should I look to see
what could be my problem?
Thank you very much,
Mathieu
> drv <- dbDriver("Oracle")
> summary(drv, verbose=TRUE)
<OraDriver:(6721)>
Driver name:
2017 Aug 23
1
How to benchmark speed of load/readRDS correctly
Hi there
Thanks for your answers. I didn't expect that this would be so complex. Honestly, I don't understand everything you wrote since I'm not an IT specialist. But I read something that reading *.rds files is faster than loading *.Rdata and I wanted to proof that for my system and R version. But thanks anyway for your time.
Cheers Raphael
> -----Urspr?ngliche Nachricht-----
2004 Jul 14
0
ROracle - fetch gives...(corrected SQL code)
Sorry for posting the second time, I corrected the SQL code:
PROBLEM: after executing simple statement, from within R, "fetch"
function gives me the empty dataframe:
### CONNECTION, and SQL QUERY EXECUTION
> ora <- dbDriver("Oracle")
> con <- dbConnect(ora, "rado/only2admin"
> dbListTables(con)
character(0)
> rs <- dbSendQuery(con,
2012 Dec 13
5
remove NA in df results in NA, NA.1 ... rows
Good morning!
I have the following data frame (df):
X.outer Y.outer X.PAD1 Y.PAD1 X.PAD2 Y.PAD2 X.PAD3 Y.PAD3 X.PAD4 Y.PAD4
73 574690.0 179740.0 574690.2 179740.0 574618.3 179650 574729.2 179674 574747.1 179598
74 574680.6 179737.0 574693.4 179740.0 574719.0 179688 574831.8 179699 574724.9 179673
75 574671.0 179734.0 574696.2 179740.0 574719.0 179688 574807.8 179787 574729.2
2009 Feb 09
0
ROracle - ORA-02005: implicit (-1) length not valid for this bind or define datatype
Hi all!!
I would like to know if anyone has experienced this behaviour with
ROracle package. I'm attaching information to reproduce the issue.
Bug maybe?
Thank you very much for your attention.
Ramon.
##################################################################
##################################################################
oraExecStatement BUG : RS-DBI driver: (ORA-02005: