Do you understand the logic of R code, meaning what the R app is doing?
posted 11 months ago
Actually its an R implementation of an algorithm. I have the algorithm, its R code and input data with me. But I don't know the R. Actually, I want the code in Java and so that, I can do my own modification in that code. Can you help me to convert the R code into Java.. or Suggest me somebody who knows both R and Java..
If you were know the logic behind the algorithm, you could rewrite the algorithm in Java yourself (I assumed in R's code there is nothing R specifics what couldn't be achieved with Java and I imply you know Java).
But since you don't know what this algorithm is doing at all, hm... I know for sure we have some people here who know R fairly well. You can try to post this algorithm here and might somebody will be interested to research it.
I hope it isn't 15.000 lines of code. Don't post if that's the case or very similar to it.
posted 11 months ago
Its really a big code. Could you please give me any email id so that I can send the entire code and algorithm to you. Its really urgent...
geethu th wrote:Its really a big code. Could you please give me any email id so that I can send the entire code and algorithm to you. Its really urgent...
Dude, I don't need that code. That's your task.
My suggestion is, find the person who knows the algorithm, ask him/her nicely to explain what it does, more better would be to get specification of it - and then based on your needs you can try to implement it in Java. Not sure why is that needed in the first place, but I'll leave that knowledge to you.
You can be almost certain, that no one is going sit down and do the task for you to convert some mystical algorithm from R to Java (if that's even possible).
Maybe post a really small portion of it, so somebody could get a taste of the R code and see if that sounds doable to convert to Java at all.
R is a language mainly for statisticians, so the problems this language helps to solve are different. It may be well possible that it uses some special libraries in your mentioned algorithm which don't exist in Java - that means you couldn't just simply by literal take and convert R code to Java.
Might there is a reason why algorithm was written in R and not in Java. Basically I don't know what else to suggest to you - might somebody else will do.