Displaying 20 results from an estimated 500 matches similar to: "Error while connecting to Oracle using RODBC package"
2010 Feb 09
1
Help on R functions
Dear R Experts,
I have written a following function :-
myfunction<- function(servername,dbname,dbtablename){
library(RODBC)
channel <- odbcDriverConnect("driver=SQL Server;server=servername")
initdata<- sqlQuery(channel,paste("select * from dbname .. dbtablename"))
return(dim(initdata))
}
I have written this function which has input parameters like servername
2013 May 31
1
Re: Fwd: Does Set Block IO tune take effect in the same session.
On 31.05.2013 07:05, vikrant verma wrote:
> Hello Michal,
>
> Throttling is working now after setting inbound.average = 10 (i have
> set other values to 0 )
> But i am observing an inconsistent behavior in the observed throttling
> bandwidth
>
> when i set inbound.average = 10 , i observed bandwidth of 24 kbps
> when i set inbound.average = 100 , i observed
2009 Sep 25
1
Java to R interface.
I want to call R functions from Java. I read a couple of forums that said to
install package rJava in R.
However I am not able to install rJava package in linux Ubuntu.I tried with
two commands.
One is
install.packages("rJava")
and another I downloaded the rJava_0.7-0.tar.gz file from R site.
and gave the command R CMD INSTALL rJava_0.7-0.tar.gz.
I got the followin Errors :-
Warning
2013 May 16
2
Does Set Block IO tune take effect in the same session.
Hello All,
I am using virDomainSetBlockIoTune() API to set the IO tune parameter for a
running guest VM.
I observed that after setting the value succesfully i ned to Shutdown and
start the VM inorder to take the set value in effect.
Is there any way with which these values come in effect in the same session
of the VM without Shutting down and starting the VM.
Please help
regards,
Vikrant
2013 May 28
2
Re: Fwd: Does Set Block IO tune take effect in the same session.
On 27.05.2013 12:36, vikrant verma wrote:
> Hello Michal,
>
> I am using the following code -
>
> virDomainSetInterfaceParameters(dom, "vnet0", networkParainfoPtr,
> nparams,0);
>
> before calling this i am assigning the following Inbound values
>
> inbound.average = 10 (10 kbps)
> inbound .peak = 10
> inbound.burst = 10
I suspect this way too
2006 Jan 13
4
Single Table Inheritance (this is my 3rd post :( )
Hi Everyone,
I hope I get some feedback on my question. Here it goes.
I have a situation here, I have a company table and then using Single
Table inheritance it is of 3 types:
class Company < ActiveRecord::Base
end
class Vendor < Company
end
class Customer < Company
end
class Agent < Company
end
Now I have a active record Association
class QuoteSheet < ActiveRecord::Base
2003 Oct 13
1
Ignore purge and delete command
Hi,
Does anyone know how to ignore the purge or delete command
from the imap clients.
Actually I created a mail archive and using dovecot and so far I am
happy with the performance. But the problem I am facing right now
is I do not want the users to delete the mail by themselves and want
to disable the purge or delete command.
Thanks
Vikrant
2010 Jan 19
4
how to open excel 2007 (.xlsx) file in R
i am unable to open a file which is saved as .xlsx format in R . The file
contains approximately 1,50,000
rows. So I m not able to save it as csv file.Please suggest ways to open
this file
--
View this message in context: http://n4.nabble.com/how-to-open-excel-2007-xlsx-file-in-R-tp1017273p1017273.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jan 15
5
Can I save R graphs as a R objects
Can I save R graphs as a R objects ? IF yes then if I click this R object
can I edit my chart as in Excel.
Please suggest your views
--
View this message in context: http://n4.nabble.com/Can-I-save-R-graphs-as-a-R-objects-tp1014621p1014621.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jan 19
5
How to detect and exclude outliers in R?
Suppose I am reading data from a file and the data contains some outliers. I
want to know if it is possible in R to automatically detect outliers in a
dataset and remove them
--
View this message in context: http://n4.nabble.com/How-to-detect-and-exclude-outliers-in-R-tp1017285p1017285.html
Sent from the R help mailing list archive at Nabble.com.
2006 May 08
4
How to disable textbox in Ruby?
Hi,
I want to disable textbox in my page so that user can not modify its
contents. How can we do that in ruby?
Thanx,
Prash
--
Posted via http://www.ruby-forum.com/.
2010 Jan 28
4
Problems with fitdistr
Hi,
I want to estimate parameters of weibull distribution. For this, I am using
fitdistr() function in MASS package.But when I give fitdistr(c,"weibull") I
get a Error as follows:-
Error in optim(x = c(4L, 41L, 20L, 6L, 12L, 6L, 7L, 13L, 2L, 8L, 22L,
:
non-finite value supplied by optim
Any help or suggestions are most welcomed
--
View this message in context:
2013 May 09
1
Getting libvirt Error when setting IO tune read_bytes_sec value using libvirt API virDomainSetBlockIotune
Hi All,
I am setting the value for "read_bytes_sec" using the following API code
virDomainSetBlockIoTune(dom, "/mnt/tmpsdb/FileVM1", parainfoPtr, nparams,
2);
I am succesfully able to set this value and i can read it back using the API
virDomainGetBlockIoTune(dom,"/mnt/tmpsdb/FileVM1",parainfoPtr,&nparams,2);
But after setting this value when i shutdown
2008 Jul 21
1
RODBC - problems using odbcDriverConnect without DSN
Hi,
I'm trying to use RODBC without having to set up a DSN, using hte
direct connection string in odbcDriverConnect. My connection attempt
looks something like:
> odbcDriverConnect(connection = "SERVER=localhost;DRIVER={/usr/lib/odbc/libmyodbc.so};DATABASE=myDB;UID=reader;PASSWORD=insecure;")
And this returns the message:
Warning messages:
1: In odbcDriverConnect(connection =
2009 Jul 27
3
render syntax has me stumped
Hi,From within an action called manager within a controller called
storedorders, I want to render to the view for the manger action of
controller orders.
It really seems like the following syntax should work:
(within the StoredordersController manager method...)
respond_to do |format|
format.html {render :controller => ''orders'', :action =>
2010 Mar 25
3
Reading SQL Server Tables using RODBC
Hello Everyone,
I'm still quite new to R and am having trouble reading SQL Server Tables using RODBC. I've looked though the RODBC documentation as well as material I found online and in the book "Data Manipulation with R," but I just can't quite seem to get things to work.
Right now, I have code that looks something like:
channel <- odbcDriverConnect
2010 Jan 12
1
FW: Problems connecting with MySQL using odbcDriverConnect (RODBC package) on Linux
I think I figured this out. I should not have put the Driver name in
braces. Changing it from {MySQL} to MySQL seems to work.
-----Original Message-----
From: Marcus, Jeffrey
Sent: Tuesday, January 12, 2010 6:09 PM
To: 'r-help at r-project.org'
Subject: Problems connecting with MySQL using odbcDriverConnect (RODBC
package) on Linux
I am sure I'm doing something wrong here but not
2009 Nov 18
3
Re ading multiple Excel 2007 files with a loop
I have several hundred Excel 2007 data files in a folder. I would like to
read every file in a single given folder using a loop.
I have searched the FAQ, the forum archives here, other or older R boards
and the R Import / Export documentation, and have asked some very
knowledgeable R users without learning of a solution. I hope someone here
can help.
I understand that the most common
2011 Dec 04
3
RODBC connect to Excel (64-bit Windows 7)
Hi to all.
I have a problem to connect to an Excel database using RODBC.
Namely, I am using 64-bit R 2.14.0, under Windows 7 and I tried following:
library(RODBC)
> channel <- odbcConnectExcel("results.xlsx")
Error in odbcConnectExcel("results.xlsx") :
odbcConnectExcel is only usable with 32-bit Windows # ok this is
clear why it doesn't work
> channel
2013 Apr 15
1
create an access file
Hi there,
I have seen this post.
https://stat.ethz.ch/pipermail/r-help/2007-June/133606.html
have odbc installed in my machine. Now I have the following message:
channel2 <- odbcDriverConnect("test.mdb")Warning messages:1: In
odbcDriverConnect("test.mdb") :
[RODBC] ERROR: state IM002, code 0, message [Microsoft][ODBC Driver
Manager] Data source name not found and no