search for: myconnection

Displaying 12 results from an estimated 12 matches for "myconnection".

2001 Jul 14
6
how to type long string
Hi, All: I try to type some long string in R console, whenever I like to change to a new line, I get error message. The following is my simple code -------------------------------------- h3 <- sqlQuery(myConnect, "select * from console where Error: syntax error byday = 'dd1'group by by hour") Error: syntax error --------------------------------------- Any Hints? Thanks.
2001 Feb 13
1
pass a string to a function
Hi, I'd like to pass a string to a function as the value of the argument. Here is my code. However, it doesn't work. Please help me with this. Thanks, Yu-Ling Wu ----------------------------------------------------- library(RODBC) odbcConnect("console") -> myConnect fun1 <- function(dd1) { h3 <- sqlQuery(myConnect, "select * from console where byday =
2001 Feb 13
0
handle date variables
Thanks! This is helpful. Three more questions. 1. How to convert a string into a numeric value. For example, convert '20010122' to 20010122. 2. How to convert a string into a date value. For example, convert 20010122 to 2001 Jan 22, and get its day of the week, i.e. Monday? 3. How to handle date variables in a loop? How to make the following codes work? And how users should pass the
2020 Apr 24
1
[PATCH nbdkit] golang: Pass Plugin and Connection by reference not value.
...gin) Load() { // global callback used for initializing the plugin } - func (p MyPlugin) Open(readonly bool) (nbdkit.ConnectionInterface, error) { + func (p *MyPlugin) Open(readonly bool) (nbdkit.ConnectionInterface, error) { // new client has connected return &MyConnection{}, nil } - func (c MyConnection) GetSize() (uint64, error) { + func (c *MyConnection) GetSize() (uint64, error) { // called per-client return virtual_size, nil } @@ -106,11 +106,11 @@ unless you also implement a C<CanWrite> callback that returns true. The same appl...
2008 May 07
0
RODBC sqlSave with multiple schema in DB2
...oes not work. Searching the archives, the most recent discussion on this issue that I could find was: http://tolstoy.newcastle.edu.au/R/e3/help/07/11/3373.html where it was suggested to set schema prior to sqlSave. This does not work. Below is the error as well as traceback(): > sqlSave(myConnection,merged,tablename="PCCSLANOTMETBYSEVERITY",append=T,rownames=F,colnames=F,verbose=T,oldstyle=F, safer=TRUE,addPK=F,fast=F,test=FALSE,nastring="") Error in dimnames(x) <- dn : length of 'dimnames' [2] not equal to array extent > > traceback() 3: `colnames<...
2007 May 01
9
Trying to fix "Unsupported combination of battery voltage / nr. of batteries" error
Hi, everyone, I've recently bought a UPS from Mecer. This is a South African brand that basically resells Mustek hardware, and this UPS is no exception; it's a Mustek product. It does come with software for Linux, but that is terrible (the background process that monitors the UPS is written in Java and needs a terminal to start properly, so you can't run it from a startup script...
2007 May 01
9
Trying to fix "Unsupported combination of battery voltage / nr. of batteries" error
Hi, everyone, I've recently bought a UPS from Mecer. This is a South African brand that basically resells Mustek hardware, and this UPS is no exception; it's a Mustek product. It does come with software for Linux, but that is terrible (the background process that monitors the UPS is written in Java and needs a terminal to start properly, so you can't run it from a startup script...
2006 Aug 28
0
Write signed short into a binary file (follow up and conclusion)
I've solved my problem using: (purpose: write the signed integer -19 as a two byte integer into a binary file) writeBin(as.integer(-19),myconnection, size=2) There is no need to coerce. Thanks anyway! Luca NanettiUniversity Medical Center Groningen BCN-NeuroImagingCenter A.Deusinglaan 2 9713AW Groningen The Nethterlands l dot nanetti at med dot rug dot nl
2000 Nov 16
1
Documentation gripes
I have been a member of the mailing list for a couple months now. I have not contributed anything because it has been difficult to gain a toehold from which I could really understand the concepts used in Ogg Vorbis. I would like to help out, but it is hard to get an idea of the overall architecture with docs like http://www.xiph.org/ogg/vorbis/doc/vorbis.html , in which every link is dead.
2007 May 03
4
Re: Changes to megatec.c
Hi, Charles, On Wed, 2 May 2007 07:58:08 -0400, you wrote: > > Will that be enough to make it useable as a contribution? I believe > > the more sensible values for 36V UPS'es will be useful to other models > > than the one I have, too. > > Sounds good, but I don't think I saw it hit the list yet... I now have the following in megatec.c: static BatteryVolts
2010 Jun 25
0
WG: Samba PDC and big files
...ce=No ;AccountName=Outlook Tips POP3 ;POP3Server=mail.outlook-tips.net ;SMTPServer=mail.outlook-tips.net ;POP3UserName=outlookt ;EmailAddress=tips at outlook-tips.net ;POP3UseSPA=0 ;DisplayName= ;ReplyEMailAddress= ;SMTPUseAuth=1 ;SMTPAuthMethod=0 ;ConnectionType=0 ;LeaveOnServer=0x0 ;ConnectionOID=MyConnection ;POP3Port=110 ;POP3UseSSL=0 ;ServerTimeOut=60 ;SMTPPort=25 ;SMTPUseSSL=0 [Account1] UniqueService=No AccountName=TPLKIMAP IMAPServer=192.168.135.248 SMTPServer=192.168.135.248 IMAPUserName=testuser EmailAddress=testuser at tropenklinik.de IMAPUseSPA=0 DisplayName=Testuser ReplyEMailAddress=testuse...
2007 May 04
1
Any UPS hardware hackers ?
And now for something completely different... :-) And yes, it's off-topic to this particular forum as it's not about NUT development. <ducking> Is there anyone around here who knows his way inside the hardware of an APC Smart-UPS? The APC support division will not reveal _any_ details or service information, and the only descriptive documentation I've found on the Web is in