Hi All,
Can any one help he how to handle a large csv file processing for calculation
I took a CSV file with 10 Lakh records
Loaded in to a R using the following syntax
fw<-read.csv("filename",header=T,sep=';')
when I ran it in Console
worked fine
i wrote a Summary(fw)
gave me a good output
created a Function in R and saved it
Function:
function(x)
{
f<-read.csv(x,header=T,sep=';')
return summary(f(1))
}
but now when i called my function from C#
it resulted me a StackOverFlowException
MY Code for calling Function
engine.Initialize();
engine.Evaluate("load('MyFuntion.R')");
var tt = engine.Evaluate("TestRdotnet.AcceptCSVandSummarize('C:\\Users\\chaturvedibkdp\\Documents\\Test.csv')");
error in attachment
Please Help me out
Can any one help he how to handle a large csv file processing for calculation
I took a CSV file with 10 Lakh records
Loaded in to a R using the following syntax
fw<-read.csv("filename",header=T,sep=';')
when I ran it in Console
worked fine
i wrote a Summary(fw)
gave me a good output
created a Function in R and saved it
Function:
function(x)
{
f<-read.csv(x,header=T,sep=';')
return summary(f(1))
}
but now when i called my function from C#
it resulted me a StackOverFlowException
MY Code for calling Function
engine.Initialize();
engine.Evaluate("load('MyFuntion.R')");
var tt = engine.Evaluate("TestRdotnet.AcceptCSVandSummarize('C:\\Users\\chaturvedibkdp\\Documents\\Test.csv')");
error in attachment
Please Help me out