similar to: call RODBC function from DCOM

Displaying 20 results from an estimated 400 matches similar to: "call RODBC function from DCOM"

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 May 07
4
Use of R in C#
I have a C# program that requires the run of a logistic regression. I have downloaded the R 2.11 package, and have added the following references to my code: STATCONNECTORCLNTLib; StatConnectorCommonLib; STATCONNECTORSRVLib; In my code I have: StatConnector scs = new STATCONNECTORSRVLib.StatConnectorClass(); scs.Init("R"); The init step returns the below error which seems to indicate
2009 Jan 06
0
hi i have a problem with implementing R-Project in C#
Hi, This is Kiran I tried to work on r-project through C#.Net While calling the r-project I got an error that *System.Runtime.InteropServices.COMException(0x80040013):Exception from HRESULT:0x80040013 at STATCONNECTORSRVLib.StatConnectorClass.Init(String bstrConnectorName) at IAG.RD.RcomWrapper.Rcom..ctor() at demo.DemoForm.RcomExecute()* Can any one suggest how can I salve this
2009 Mar 25
0
R Query
I am using R in C#. I installed R 2.8.1 and R-(D)Com R scilab DCOM3.0-1B5.exe. I got an error when i run the web application at the line where R is initilized as "System.Runtime.InteropServices.COMException was unhandled by user code Message="Exception from HRESULT: 0x80040013" Source="Interop.STATCONNECTORSRVLib" ErrorCode=-2147221485 StackTrace: at
2012 Apr 18
0
Loudlink Explorer 3.0.0
Hi, I try to use Loudlink Explorer (free download: http://loudlink.eu/webshop/index.php?main_page=document_general_info&cPath=2&products_id=70). This program is used to copy mp3's to sd-card for use in Loudlink devices. I tried to copy by hand, but the files are not properly recognized by loudlink device without a special formated index file. So I need this software, sorry.
2011 Aug 17
1
Why does the graph converge?
I have a set of functions: Probability <- function(N, f, w, b, l, n, q) { #N is the number of lymph nodes #f is the fraction of Dendritic cells (in the correct node) that have the antigen #w is time in terms of hours #b is the starting position (somewhere in the node or somewhere in the gap between nodes. It is a number between 1 and (x+t)) #q is the length of the time step #l is the LN
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
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
2008 Sep 25
0
C++ & R: Displaying a lattice graphic using D Com
Dear list members, When I modify the MFC sample (using the statconnector graphics device) to show a lattice graph in the Active X control (actually the wireframe from http://addictedtor.free.fr/graphiques/graphcode.php?graph=40 ) the program runs without generating any errors, but the data-driven part of the plot does not display. The bounding box is displayed, but not the axes or data within
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
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
2006 Jul 11
4
checkboxes with a has_many :through relation
All, I''m populating a view with checkboxes in a list. I want to be able to assign to my has_many relationship using the post values of these checkboxes. Essentially, I want to populate the relationship table which will create the correct join values in my model. Here is my check_box_tag code: <%= check_box_tag("@current_job[target_list_ids][]",
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
2004 May 18
1
list & calculaton in many df subsets
Hi, have anybody a hint /starting point how i can enlarge my code that's posiible for me make any calculaton's with variables in the 64 subset's. Example: I want calculate difference of two variables inside every of the 64 subset data.frames and getting this value in tList! Many thanks, Christian tasign <- paste("tList[[n]] <- try(dtree[dtree$class02 ==
2008 Mar 06
1
can't merge zoo ojects and convert to ts (been trying for 2 days)
I'm stuck, but am sure it can be done I just don't understand how. I have data in an irregular timeseries. I want to be able to use stl to visualise the data (see seasonal parts etc), so I need to change to regular series of class ts (I think). I am using 2 zoo objects one is regular and the other is my irregular data. I am then merging to create the object I want but when I try to change
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 <-
2004 Feb 28
1
Line splitting in system() (PR#6624)
According to the manual, system() splits output lines into 8096-char chunks; under UNIX, actually seems to return 8094 chars, and drop the 8095th. Spot missing digits in: x2 <- system("perl -e 'print \"0123456789\"x10000'", intern=T) Looks like a bug in the code to remove newlines at src/unix/sys-unix.c:218 -- fgets() reads size-1 characters and adds
2008 Apr 29
10
any 64-bit mini-itx successes
Is there anyone who has successfully put together a "high-powered" mini-itx ZFS box that would be willing to post their system specs? I''m eyeballing the KI690-AM2... http://www.albatron.com.tw/english/product/mb/pro_detail.asp?rlink=Overview&no=239 ...but am having a difficult time locating it and a suitable case currently. I was in negotiations with a hardware 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