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).