Displaying 20 results from an estimated 1000 matches similar to: "problem with working on R-Project from C#"
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
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
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
2009 Jan 16
6
reading data from Excel Spread sheet
Hi all,
I tried to read data from Excel spread sheet with using
read.csv(file.choose())
and
read.delim(file.choose())
but its showing " *ÐÏ.à.*."
and also i tried with
read.table(file.choose())
then its showing " * V1
1 ÐÏ\021ࡱ* "
can any one suggest how to read data from Excel Spread sheet
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
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
2010 Jun 22
3
Problem with writing a CSV file in UTF-8 formate
Hi all,
I have a problem with writing a *.CSV file in UTF-8 formate
I tried to write a dataframe named "dfPREINDX" to the new file named
"preindx.csv" in below formate
write.table(dfPREINDX,PreIndex,fileEncoding="UTF-8",sep="|",row.names=FALSE)
but its throed an error like
Error in write.table(dfPREINDX, "preindx.csv", fileEncoding =
2009 Dec 17
2
Problem with spliting a dataframe values
Hi all,
Hi this is kiran
I am facing a problem to split a dataframe
that is..
i have a string like: "a,b,c|1,2,3|4,5,6|7,8,8"
first I have to split with respect to "|"
I did it with command
unlist(strsplit("a,b,c|1,2,3|4,5,6|7,8,8", "\\,"))
after getting that set i made it as a dataframe and it comes like
a,b,c
1,2,3
4,5,6
7,8,8
now i have to
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 Feb 02
2
parsing problem
Hi all,
I am trying to parse a vector for caliculating minimum in that vector the
vector having values like
1 Kontrolle
2 Placebo
3 125mg/kg
4 250mg/kg
5 500mg/kg
6 1000mg/kg
hear i tries for comverting it into numeric with using "as.numaric()"
function
but i got values like
5
6
2
3
4
1
it gives 1000mg/kg is the least one
but i have
2010 Mar 09
2
Problem with mean
Hi all,
I got one intresting problem with caliculating mean that is
while i am taking mean of values
*0.6, -0.8, 4, -3.8*
using
*val<-c(0.6, -0.8, 4, -3.8)*
*mean(val)*
it given result as
*2.775558e-17*
but the actual result is *"0"*
can any one suggest how can I get correct mean result in this case
can any one suggest how I can farward
thanks in regards
kiran
[[alternative
2009 Jun 08
2
problem with bulk insert into a *.csv file
Hi all,
I am trying to create a "index.csv" with caliculating different
types of caliculations .
In that i have to caliculate on 10,000 studies and have to insert many no of
rows more than 500,000
for that right now I am inserting every row after caliculating and doing
data.frame
but its taking much time to create that index.csv
is there any thing like bulk insert in to file
2010 Apr 20
2
problem with retreaving column from a data.frame
Hi all,
I have a problem with retreaving column from a data.frame that is
I have a data.frame named "temp"
in that dataframe some column are there whose names are
"IDENTIFIER" "UNIQUEID" "TRIALGROUPSID" "GRPNUMBER"
"GRPDESC" "SEXDID" "STDID" "STUDYTYPE"
"SDID"
2009 Nov 11
2
creating custom package and functions
Hi all,
I am new to R-project
I have to create custom package and some required functions in that package
can any one help me how to create a custompackage and how to write my
function in to that package
These things I have to use in many places as per requirements in my solution
please help me to create these custom packages
thanks in advance
kiran.
[[alternative HTML version deleted]]
2009 Nov 10
1
problem with executing r-function from windows command prompt
Hi all,
I am trying to execute one function from windows command prompt
and I am trying to execute queries like source(myRfile.R) but itis
throughing runtime errors can any one help me how can i run my
*.R file and how can i call a function in that *.R file
thanks in advance
kiran.
[[alternative HTML version deleted]]
2010 Feb 01
1
problem withrbind function
Hi all,
I am trying to to merge two data.frames(kk and ff)
like
> kk
a b d
1 1 4 7
2 2 5 8
3 3 6 9
> ff
a b d
1 2 5 8
2 3 6 9
3 4 7 1
and
g<-rbind(kk,ff)
is working perfectly and giving results
but if any of the column name changed then its giving
"Error in match.names(clabs, names(xi)) :
names do not match previous names"
like
> kk
a b d
1 1 4 7
2 2 5 8
3 3
2010 May 26
1
problem with not in in subseting dataframe
Hi all,
I have a problem while subsetting a dataframe that is
while I am using *%in%* condition like
*stemp<-subset(temp, obj1 %in% obj2,select=c(temp))*
this is working and giving results that what ever is there is both *obj1*and
*obj2*
**
**
but I want to get values which is there in *obj1* but not in *obj2 *
can anyone help me how to get those values.
i tried with *%o%* but i am not
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 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
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