Displaying 20 results from an estimated 200 matches similar to: "Please help me in Converting this from C# to R"
2012 Nov 09
3
if between 500-600 give 550
I have a data frame somewhat like this: 
myframe <- data.frame (ID=c(2,3,4,5), Hunger =c(415,452,550,318 ))
myframe
Now I would like to add a column to the right which summarizes the values
for Hunger somewhat to reduce the number of values: If the values for Hunger
are between 
300-400 I would like to insert the number 350, 
between 
400-500 insert 450
between 
500-600 insert 550 
Does
2008 Jun 26
1
Compilation error during package installation
Hi,
I am a Newbie for R. I just installed R-base on my notebook with
openSuSE 11. However, I always got compilation errors in installing
add-on packages. For example, when installing "igraph" I got the
following error:
___________________________________________________________________
* Installing *source* package 'igraph' ...
checking for gcc... gcc
checking for C compiler
2009 Sep 08
1
Point patterns and igraph
Hi,
I have a data set consisting of the x and y coordinate locations of 1600
points. I would like to generate a graph using the functions in igraph.
However the graph making functions in igraph requires the data to be in the
form of an adjacency matrix. I'd like some advice on how to convert my point
pattern to an adjacency matrix or functions out there that would do it
directly. I've
2012 Jul 24
1
igraph build problems
Hello:
I've been trying for days now to get igraph working on a debian sarge
install.  There does not appear to be any pre-built packages, and when
I try and install within R, it blows up on the final linking, claiming
its unable to find libgfortran (which IS installed, and IS working for
all other users of the compiler).
I started up R and ran: install.packages("igraph").  It
2007 Dec 05
2
how to interpolate a plot with a logistic curve
hello,
I have this simple question. This is my dataset
	size
1	57
2	97
3	105
4	123
5	136
6	153
7	173
8	180
9	193
10	202
11	213
12	219
13	224
14	224
15	248
16	367
17	496
18	568
19	618
20	670
21	719
22	774
23	810
24	814
25	823
I plot it with:
plot(generalstats[,1], type="b", xlab="Mesi", ylab="Numero di  
vertici", main="");
and try to interpolate with a
2006 Jan 23
1
How to call C# webservices
hey,
i have created some webservices in C# with vb.net and IIS.
i can go to them with http://localhost/Twodecode.Webservices/webservices.asmx
Like:
[Webservice]
AddCity(string zip, string city)
{
  ...do some stuff
  return "SUCCES";
}
How must i call this from ruby??
I save an object, and then call the services.
city = City.new()
if city.save
   //call webservice
else
   //do
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
2011 Oct 23
1
R Data Frame to C# DataGridView - R.NET
This is more of a C# question, but it has to do with the conversion of a data
frame using R.NET into an appropriate format to display on a C#
DataGridView. 
My code is as follows (focusing on the button_Click)
/private void button_displayDF_Click(object sender, EventArgs e)
        {
            REngine engine = REngine.GetInstanceFromID("RDotNet");
            DataTable table = new
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 31
0
Connecting C# to R via rscproxy.dll does not return all results
Hi there,
I am using  http://www.nabble.com/Using-R.dll-in-.NET-IPC-td13265477.html
this solution  to hook a C# Application to R via rscproxy.dll. 
So far it all works fine, except for the fact that whenever a line in the
result vector contains more than 1 return parameter (e.g. ttest´s confidence
interval from x to y) only the first value is returned (e.g x instead of x,
y)
How can I make it
2008 Aug 19
0
UI Designer needed with (CSS, Visual studio.net, Adobe Photoshop , C#)
SURE SHOT INTERIEW IF THE CANDIDATE MATCHES ALL THE SKILLS*******
Please send the exact match....
Must have all skills mentioned
Skills:  UI Designer (CSS, Visual studio.net, Adobe Photoshop , C#)
*Strong skills needed in: MUST HAVES
CSS
Visual Studio .Net
Adobe Photoshop CS
Microsoft Visual SourceSafe
SQL Server Management tools
SQL
C#
HTML
*
Location: CT
Duration: 6 months+
Rate: Open
2009 Jan 22
0
How to handle NA in C#, RDCOM
I am using RDCOM as a data-transfer between R and C#.net.
I got a question on datasets with missing data.
For instance, if list = c(1,2,3,NA,5), in R, typeof(list) is integer
but, in C#, I did not see a suitable data type for (1,2,3,NA,5).
Of course, one can use is.na to transfer (1,2,3,NA,5) into string[] in C#.
So, how to handle NA in this case?
Please help. Thank,
-james
2013 Sep 26
0
how to execute puppet scripts via c# code ?
i  am developing a  tool using c# ASP .NET  where i need to integrate  
puppet . 
 I am totally new to puppet and want some guidance on followig:
 1. is there any link where i can learn to write scripts for puppet . the 
syntax  and commands to be used. any API available that can be reaily used.
2. i want  the scripts to be sent from puppet master  via my code . is that 
posssible ?
 
 
 
-- 
You
2008 Feb 27
0
Re: Windows C# unable to access Samba directories.
>One 
other 
thing 
. 
. 
. 
typically 
a 
Windows 
"service" 
typically 
does 
not 
run
>under 
the 
user 
account 
logged 
into 
the 
local 
machine.  
More 
commonly, 
a
>service 
is 
run 
with 
either 
an 
account 
created 
for 
the 
service, 
the
>"system" 
account 
or 
the 
local 
administrator 
account.  
In 
that 
case, 
the
>samba 
server 
(or 
a 
2012 Feb 10
0
Ayuda en Integrar R en C# bajo Mono
Hola compañeros,
¿Hay alguna forma de escribir código R en un programa C-sharp que
funcione bajo Mono?
Vamos,si hay algo parecido a R-Inside en C.
Veo que hay esto: R(D) COM
pero creo que sólo funciona bajo .NET en Windows
2008 Dec 16
0
Build files for Win32 now include C# bindings
Hi all,
As per subject line. The new build files for 1.0.9 are available from
http://lemurconsulting.com/Products/Xapian/Overview.shtml
I've not tested these extensively, although they appear to pass the 
smoke test, so any test reports would be welcome.
Cheers
Charlie
2008 Feb 27
1
Re: Windows C# unable to access Samba directories.
Hi,
 
I have written a simple c# program that move file from windows to a Unix path via samba.
The user that do the work is a full privilege user.
Using a win application this works fine but when I activated the prog. as a win service, 
I got a strange activity and the prog wasn't been able to find the folders.
 
So I?m very much interested in troubleshooting the problem.
Can you
2006 Jan 06
1
Xapian binding for C#.
Xapians!
Anyone know when Xapian bindings for C# will be ready?
Thanks,
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tartarus.org/pipermail/xapian-discuss/attachments/20060105/257652e0/attachment.htm
2008 Jun 13
1
C# and R
Hello R-Users,
I came across this link on CodeProject.com and was wondering, if anyone has
implemented this and the benefits of doing so.
This may also be of some help for others. Here is a link to the project:
http://www.codeproject.com/KB/cs/RtoCSharp.aspx
Regards,
Neil Gupta
	[[alternative HTML version deleted]]
2010 Sep 01
0
Xapian, C# and 64-bit Windows
Hi all,
If for some reason you're interested in using Xapian and C# on a 64-bit 
version of Windows, I've written a guide to how to cross-compile the C# 
bindings on a 32-bit platform:
http://trac.xapian.org/wiki/BuildXapianForSixtyFourBitWindows
Thanks to www.It4You.no for sponsoring this.
Best
Charlie