Displaying 20 results from an estimated 120 matches similar to: "getConnection, R_outpstream_st"
2010 Dec 13
1
errors in getconnection or scan
I was wondering if there was a function like "does connection exists" ?
I am currently using loops to build up a database, and I have either
> B = getConnection(localization)
Error in getConnection(localization) : there is no connection -2147483648
In addition: Warning message:
In getConnection(localization) : NAs introduced by coercion
or
> B = scan(localization)
Error in
2007 May 24
2
object getConnection
Hi,
I use the functions socketConnections() and getConnection()
which are working fine. Thanks to the authors.
After opening nicely some socketConnection,
getConnection(3) returns something like :
description class mode text opened can read can write
"->127.0.0.1:7496" "socket" "wb" "binary" "opened" "yes"
2006 Oct 07
1
Request to open up getConnection to embedded interface
Hello all,
I would like to request that getConnection() and the struct Rconn
declarations be added to the R embedded interface. Here's why.
It's common in CGI scripts for web applications to direct stdin, stdout,
and stderr map to reading from the browser, writing to the browser, and
writing to a web log file respectively; very nice and neat. However,
things get a little hairy once
2007 Apr 06
1
getConnection is not found in R depending on the Linux flavour (RedHat or Debian) - dyn.load problems
Hello R developers,
I am working on the "seqinr" package and I encounter a tricky problem
using a C
function.
We defined a C fonction called "getzlibsock" which is dedicated to
compressed
socket connections. This function is using the R internal C function
called "getConnection(int)" in order to get information about the socket
previously opened with the
2007 May 30
5
Possible changes to connections
When I originally implemented connections in R 1.2.0, I followed the model
in the 'Green Book' closely. There were a number of features that forced
a particular implementation, and one was getConnection() that allows one
to recreate a connection object from a number.
I am wondering if anyone makes use of this, and if so for what?
It would seem closer to the R philosophy to have
2006 Oct 09
1
Discussion starter for package level Connection API
Thought I'd try and start a discussion. Feel free to jump in.
I guess R needs to strike the right balance between opening up the
internals to package writers and not allowing them to do bad things. My
first attempt at cracking this nut is to just memcpy() the Rconnection
and not allow access to the private stuff:
/* Alternative to allowing C code access to connection API. */
Rconnection
2007 Nov 14
1
isOpen on closed connections
As far as I can tell, 'isOpen' cannot return FALSE in the case when 'rw = ""'.
If the connection has already been closed by 'close' or some other function,
then isOpen will produce an error. The problem is that when isOpen calls
'getConnection', the connection cannot be found and 'getConnection' produces an
error. The check to see if it is
2012 Oct 04
1
Intermittent connectivity issues for JDBC / Oracle
I have been experiencing issues with an R script hanging when connecting to
an Oracle database. To help debug, I found a function here in the nabble
forum and made a small test script:
#!/usr/bin/Rscript --no-restore --no-save --no-init-file
library("RJDBC")
drv<-JDBC("oracle.jdbc.OracleDriver","/home/oracle/lib/ojdbc6.jar", "'")
dbCheck =
2003 Jul 15
1
dbApply (R newbee)
I am trying to use R interfaced with MySQL. Present goal is that R should
calculate the 85% quantile of AvgSpeed for each LinieID. Looking through
documentation of the RMySQL Package, I guessed that dbApply would do the
trick due to this example
## compute quanitiles for each network agent
con <- dbConnect(MySQL(), group="vitalAnalysis")
res <- dbSendQuery(con,
2012 Mar 15
5
no connection driver available for No connection for URI xen:///
Hello Community,
I am installing a domU image via virt-install. However, it seems that a
driver needs to be installed for the connection as I saw an error while
running the command. Can anyone give any hints about this error?
Here is the running script:
# virt-install --connect=xen:/// -p -d
Thu, 15 Mar 2012 10:17:55 DEBUG Launched with command line:
/usr/bin/virt-install --connect=xen:///
2012 Mar 15
5
no connection driver available for No connection for URI xen:///
Hello Community,
I am installing a domU image via virt-install. However, it seems that a
driver needs to be installed for the connection as I saw an error while
running the command. Can anyone give any hints about this error?
Here is the running script:
# virt-install --connect=xen:/// -p -d
Thu, 15 Mar 2012 10:17:55 DEBUG Launched with command line:
/usr/bin/virt-install --connect=xen:///
2017 Dec 14
4
cannot destroy connection (?) created by readLines in a tryCatch
On Thu, Dec 14, 2017 at 7:56 PM, Gabriel Becker <gmbecker at ucdavis.edu> wrote:
> Gabor,
>
> You can grab the connection and destroy it via getConnection and then a
> standard close call.
Yeah, that's often a possible workaround, but since this connection
was opened by
readLines() internally, I don't necessarily know which one it is. E.g.
I might open multiple
2018 Oct 31
1
PATCH: Asserting that 'connection' used has not changed + R_GetConnection2()
SUMMARY:
I'm proposing that R assert that 'connection' options have not changed
since first created such that R will produce the following error:
> fh <- file("a.txt", open = "w+")
> cat("hello\n", file = fh)
> close(fh)
> fh2 <- file("b.txt", open = "w+")
> cat("world\n", file = fh2)
>
2017 Dec 14
2
cannot destroy connection (?) created by readLines in a tryCatch
Consider this code. This is R 3.4.2, but based on a quick look at the
NEWS, this has not been fixed.
tryCatch(
readLines(tempfile(), warn = FALSE)[1],
error = function(e) NA,
warning = function(w) NA
)
rm(list=ls(all.names = TRUE))
gc()
showConnections(all = TRUE)
If you run it, you'll get a connection you cannot close(), i.e. the
last showConnections() call prints:
?
2009 Sep 23
1
virt-install error - failed to connect
Hi all,
I installed Xen 3.4.0 on RH5.3 from the source, It is working fine (Dom0),
but when i tried to create new guest (hvm) by the virt-install i got the
next message:
Wed, 23 Sep 2009 12:02:15 ERROR virConnectOpen() failed
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 560, in ?
main()
File "/usr/sbin/virt-install", line 348, in main
2008 Jul 15
1
Error while staring "xend"
Hello,
i installed a Xen 3.3 on Fedora 7 successfully
I booted system with xen 3.3.
checked using the command uname -r
but while starting xend i will get an error please help me out
this...
error is as:
ImportError: /usr/lib/python/xen/lowlevel/xs.so
thanks in advance
_______________________________________________
Xen-users mailing list
2009 Feb 09
0
classpath Issue
I am new to Ruby/RoR and would appreciate any help on the issue I am
trying to resolve far past 2 days.
I have a java application as a jar and I have included in the controller
as below.
require ''java''
require ''C:/Documents and Settings/user/Desktop/application.jar''
include_package ''whatever.something''
After that I am calling a method
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()
2009 Aug 28
0
Cannot create PV guests
I have 3.4.2 Dom0(kenel 2.6.31-rc6) on top of fedora11
xend has started
[root@HPCNL-SR-2 xen]# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 7607 8 r----- 232.6
But i am unable to create PV guest in anyway. my virt-manager not working if i clicked its launcher in system tools. Even while using
2011 Mar 06
0
guest creation problem on pv dom0 kernel
I am having problem in guest creation for a pv-ops Dom0 kernel
I compiled every thing from scratch.(Xen and 2.6.32.27 pv-ops dom0 kernel)
on a Ubuntu Desktop 10.04 64 bit.
Following is my config file for 2.6.32.27
http://pastebin.com/AvSVgVQE
and the error I am getting trying to create a guest with virt-install is
ERROR unable to connect to 'localhost:8000': Connection refused