Thursday, January 25, 2007

R and C++

I took a C++ programming course in high school and although I don't remember too many details from it, I think it will help me when learning how to use the program R. I've already noticed a number of similarities in the way you communicate with the computer and how it interprets commands: i.e. the logical operators (<=, !=) are the same, along with the comparison symbols (|, &). More of what I knew how to do four years ago is also coming back to me, like defining and working with variables. I also think that just the experience of having to convert my own thinking into a type of logic that the computer will understand will help me in working with R.

2 comments:

Mike said...

this is cool. i never leared C++, but it's interesting to know that there are parallels.

when i first took stats, my teacher had us use an analysis package called "BMDP", which you interacted with using what was a modified form of the FORTRAN programming language. that was hard!

Guillaume said...

Last year I had a computer class too based on IDL, that is more like a geological software but only one year to learn to use it is not enough.
But as for you there are a lot of commands that are the same or similar on R and IDL. And actually, this is really useful!