similar to: Please help Me(R Language)

Displaying 20 results from an estimated 10000 matches similar to: "Please help Me(R Language)"

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
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
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
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!
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
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 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
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
2006 May 16
1
R(DCOM) / StatConnector and PHP
hi does anyone have knowledge on how to connected to StatConnector from PHP I have tried: new COM("STATCONNECTORSRVLib.StatConnector") or die("Unable to instantiate StatConnector"); with no succes regards soren
2001 Aug 12
1
R (D)COM automation server for windows, type mismatch?
Hello! I just started experimenting with the (D)COM automation server for R (server version 0.99, R 1.3.0, Win NT) All the precompiled sample executables work. When I write programms myself, in this case Visual Basic for Applications within Excel, I can attach a graphics device but not a character device. The controls I added to the form by means of the 'toolbox' both originate from
2005 Apr 18
2
UnauthorizedAccessException in R(D)COM
Dear friends, I am trying to create a web application to produce some statistical result using R. In order to avoid high CPU usage of web server caused by R, I have to create an ASP.NET web service in another server to involve R. But I am facing the unauthorizedAccessException when I call the web service, even I have assigned access and launch permission to everyone using
2009 Jan 07
1
problem with initialising R-Project through C#
Hi, i got a problem with initialising R-Project from C# in this i m sending what are all the code line I had been written and the error where i got sc1 = new STATCONNECTORSRVLib.StatConnector(); sc1.Init("R"); and error at SCN_E_INVALIDINTERPRETERVERSION -2147221487 0x80040011 can any one suggest how can i resolve it thanks & regards; kiran [[alternative HTML version
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(" + """" +
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
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 Jan 07
0
problem with working on R-Project from C#
Hi, i got a problem with initialising R-Project from C# in this i m sending what are all the code line I had been written and the error where i got sc1 = new STATCONNECTORSRVLib.StatConnector(); sc1.Init("R"); and error at SCN_E_INVALIDINTERPRETERVERSION -2147221487 0x80040011 can any one suggest how can i resolve it thanks & regards; kiran [[alternative HTML version
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
2003 Jan 09
0
Installing R-Excel Interface - Help requested (long)
Dear All, I have attempted to install the R-Excel Interface with poor results. The version of R is 1.6.1, the version of R-Excel is 1.0, the version of COM is 0.99. All of these were downloaded Monday, 6 January 2003. R (version 1.6.1) is installed on the machine and appears to run correctly on its own. The computer is a Compaq Pentium 4 machine with 128 meg of RAM running Windows 2000 and
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 <-