Displaying 20 results from an estimated 200 matches similar to: "Request to open up getConnection to embedded interface"
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"
2009 Nov 07
1
getConnection, R_outpstream_st
Hello,
I'm trying to use the limited connections api defined in Rinternals.h. I
have code that looks like this (inspired from do_serializeToConn) :
SEXP serialize_to_connection( SEXP xp, SEXP connection ){
Rconnection con ;
struct R_outpstream_st out;
R_pstream_format_t type = R_pstream_binary_format ;
SEXP (*hook)(SEXP, SEXP) = NULL ;
con = getConnection(Rf_asInteger(connection));
2007 Nov 12
0
3 commits - libswfdec/swfdec_player.c test/trace
libswfdec/swfdec_player.c | 18 +--
test/trace/loadvars-decode-5.swf |binary
test/trace/loadvars-decode-5.swf.trace | 182 +++++++++++++++++++++++++++++++++
test/trace/loadvars-decode-6.swf |binary
test/trace/loadvars-decode-6.swf.trace | 182 +++++++++++++++++++++++++++++++++
test/trace/loadvars-decode-7.swf |binary
test/trace/loadvars-decode-7.swf.trace |
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
2006 Feb 28
0
Dallas Ruby Brigade meets March 7th
The Dallas Ruby Brigade begins!
Following in the proud tradition of Seattle.rb, NYC.rb and many
others, Dallas has joined the crowd with its own local Ruby Brigade.
We''ll be meeting Tuesday, March 7th in Addison. The plan is as follows:
* Meet between 6:45 and 7:00 in the lobby downstairs. Because of the
way security works, you''ll want to be timely in your arrival. At
2007 Aug 22
1
ANN: Iowa Ruby Brigade
Iowa Ruby Brigade
First Meeting
Thursday, September 20, 2007
6:00 PM - 7:30 PM
DMACC West Campus
5959 Grand Avenue
West Des Moines, IA
Topics:
Organizational Meeting
Getting Started With Ruby
For more information, visit
http://www.iowaruby.org
We''re just getting started, so please let us know how we can best
serve the needs of the Iowa Ruby community.
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
2006 May 09
1
Email -Content type is not set to html
Hi to ROR!
I could not change the email content type to text/html
What is the problem!
order1= Order.find_get_details(params[:ses_value])
#render_text order1.size
order=order1[0]
email = OrderMailer.create_confirm(order)
email.set_content_type("text/html")
email = OrderMailer.deliver_confirm(order)
email.set_content_type("text/html")
Alwas it shows only plain format
2006 May 09
1
Emailcontewnt problem
I ma facing problems regarding the email-set-contentent
I am writing the total code for
order1= Order.find_get_details(params[:ses_value])
#render_text order1.size
order=order1[0]
email.set_content_type("text/html")
email = OrderMailer.create_confirm(order)
email.set_content_type("text/html")
email = OrderMailer.deliver_confirm(order)
#email =
2006 Mar 10
3
WML sites
Hi all
how to make a WML view for rails pages?
I''ve tried to create like:
<wml>
<card>
CONTENT
</card>
</wml>
but my phone says unsupported content type...
thanks
--
Posted via http://www.ruby-forum.com/.
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 =
2005 Nov 08
2
Scriptaculous insertion fails when XHTML Strict used in FireFox
Hi !
I'm getting an uncaught exception requiring the Scriptaculous
libraries when everything says XHTML 1.0 Strict:
class ApplicationController < ActionController::Base
before_filter :set_content_type
protected
def set_content_type
response.headers['Content-Type'] = 'application/xhtml+xml;
charset=ISO-8859-1'
end
end
<?xml version="1.0"
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:///
2006 Nov 09
2
Hi everybody! Greetings from sunny Columbus, OH!
Hey everyone, I just wanted to drop onto the list and say hi. My
name is Chad Humphries and I am a partner at a ruby and rails shop in
Columbus, OH called EdgeCase.
Up until two months ago we were doing all of our dev work in
test:unit. I had read about RSpec before and after hearing Jim
Weirich speak at the Columbus Ruby Brigade about similar ideas I
decided to give it a go for a
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