-
Any skilled programmers (or people who use R)?
Okay, so I'm working on my Masters. Basically I am using a statistical program called R (well, it's technically a programming language based on S, I think). Anyway, it is perfect for my task because I don't need an UI and I need it to do a lot of iterations of things. But, because of the number of iterations, the code is very slow (there's basically one aspect that is slowing it down). If anybody uses this program or has some coding knowledge, could they maybe help me with the design of the loop (R has some of the worst syntax ever, so if you aren't using it, probably pointless to post the code).
On an unrelated note, I might be doing the back-end of a web application for a company. The front-end will be programmed by someone who knows web design (phew), but he might want it be coded in a language besides VB or R (which are the two I know at the moment). How hard are languages like C# and Java to learn? Would anyone like to teach me (I want to learn them anyway).
-
-
Can I maybe explain what I'm trying to do rather than write up pseudo-code (it's like 155 lines at the moment)? So pseudo English code
-
Old school, like an old fool.
Contributions
- Former Administrator
- Former Cid's Knight
- Former Senior Site Staff
-

Originally Posted by
Flying Mullet
Go for it.
Think I found a way around it. Before I was recalculating an entire correlation table for an entire period, bit by bit (so I'd do it with 120 points, then 121 etc etc), but I realised I only actually need the last set of data for the model to select itself. As that loop was within another loop, that's where it was slowing down, so removing it will speed everything up.
On the other note, do you have experience in Java or C# or one of the more modern languages? Think it wouldn't harm me to learn, but obviously it needs to know what the reward is like compared to the effort.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules