Displaying 12 results from an estimated 12 matches similar to: "C++ & R: Displaying a lattice graphic using D Com"
2008 Oct 23
0
RODBC and RDCOM
I got a table on SQL Server, which has columns EquationId (int) and
Formula (varch(900)).
I need to select Formula with certain EquationId, for example,
Select Formula from OGA_DEV.dbo.Equation where EquationId = 3
I tried to work within RGui using RODBC:
> library(RODBC)
> conn = odbcConnect("SQL Server")
> odbcQuery(conn, "Select Formula from OGA_DEV.dbo.Equation where
2009 Apr 30
1
odbcConnectAccess function
HI:
Is it possible to use the RODBC package within MS Access. I have been using from R but was just wondering if it could be used along with R(D)COM. Something like this:
Dim dbs As DAO.Database
Dim rst As DAO.Recordset
Dim myApp As StatConnector
Set myApp = New StatConnector
myApp.GetErrorText
myApp.Init "R"
myApp.EvaluateNoReturn "library(RODBC)"
myApp.EvaluateNoReturn
2003 Sep 02
0
File in use error (PR#4047)
Full_Name: Edward J. Oakeley
Version: 1.7.1
OS: Windows XP
Submission from: (NULL) (212.47.183.3)
This bug occurs when using the (D)COM server to connect to the "expresso"
command of the Bioconductor Affy package. It may be a bug of R, (D)COM or Affy
ut I will report it here anyway as it feels like an R bug.
The Affy package when invoked will read a series of large (10Mb) text files
2003 Sep 12
1
help - "Object is static, operation not allowed" Error
Hello,
I am a newbie in R project and trying to call prcomp(x) of R function
using (D)COM server communicate with R in ASP, and encountering the error
"Runtime error -2147221493(8004000b). Automation Error, Object is static,
operation not allowed." at line Result=StatConn.Evaluate("y<-prcomp(x)"). E
ven I have added the line StatConn.EvaluateNoReturn("library
2005 Feb 03
0
call RODBC function from DCOM
Hi.
My VB program run a R - script located in the server
with R DCOM server. The R - script is designed to send
a query to DB through ODBC. There is NOT any problem
when I run each code from R-window interface.
However, when I call the R-script from my VB program
it stucked after calling "sqlQuery" statement. I can
check that odbcConnect(dsn, uid, pwd) returns -1.
2003 Jul 19
1
Method 'EvaluateNoReturn' of object 'IStatConnector' failed
Hi All,
I am using the R ActiveX component (v1.2). I have written a custom function
in R which returns a dataframe. I want to be able to retrieve the contents
of the returned dataframe in my application.
Here is a snippet of the code (line that throws exception). X has been
correctly declared and init'ed earlier on in the code.
x.EvaluateNoReturn("results_frame <-
2005 Feb 02
0
How to run R-script from remote VB program
I have installed D COM server1.35 and can send a line
of R code and get a result from my VB (.net) program.
So I located all the R commands in a file ("a.R") in
the dir path ("c:\") then call VB using source as
below.
Dim RLink As StatConnector
RLink = New StatConnector
RLink.Init("R")
dim str
str = "source(" + """" +
2010 Mar 26
0
Please help Me(R Language)
Hi
thank you very much for advanced help.
I am new to R language..
I am using r language with asp.net. while i am run below code. the
graphics window open out side of my *.aspx *page(it is opened as a
*pop up*window) .i need to open that window with in my .
*aspx *page(without using( png,jpg etc...) & any of image formats.)
code:
StatConnector objStatConn = new
2007 Oct 17
0
Using R.dll in .NET IPC
Hi - I wrapped R.dll up using somebody code online (see below). I am comparing R on .NET IPC with R(D)COM.
I got it all working. Except, I realize that in my client code of the IPC remoting, if I call 'plot' function in R via EvaluateNoReturn, I don't seem to see any results on the R plot window (although the window pops up). Is there anything to do with the code of R.dll wrapper
2002 Mar 07
2
Statconnector and Excel
Hi,
I'm trying to combine a VBA macro and a R package. I've installed the R-(D)COM and the R-excel interface by Neuwirth. They seem to work both. However I would like to display the r-generated data in an Excel sheet as an array but I don't manage.
Here is an example of my source:
Sub doR()
Call RInterface.StartRServer
Call RInterface.RRun("library(mdnn)")
Call
2006 Nov 27
1
R.DLL mapping by P/Invoke
After a long processing, I was able to create a version of a small C# class
that was able to emulate the rproxy by P/Invoke. This is mostly to find a
workaround a performance problem of the StatConnector.
It's almost work but ... I have strange memory exception when I call the
print function. The variable seems to not survive from one call to the
other.
As there is no debug symbol for
2010 Mar 18
1
r-help
hi
I am doing a project in R language.I need help with creating a front end in R language.
i created a dialog box with file menu n file consists of load ,save and quit options. But these options are not working.I try to load my data into r using these options but its not working.pls help.
Your Mail works best with the New Yahoo Optimized IE8. Get it NOW!