Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I mostly program in R and occasionally will write a python script. My current setup is Windows 7 and I use Eclipse as my IDE.

I am very novice, but as I get deeper into programming, I find myself hitting bumps along the way that appear to be due mostly to Windows. In addition, and maybe it is just the people I follow, but it seems that alot of people shy away from Windows.

That said, I am kicking around getting a Macbook and want to know what a good setup should be for someone who is relatively new to programming, but wants to leverage R, Python, LaTeX/Sweave, and easily integrate with services like GitHub.

What tools will I need to install out of the box?

Any insight you can lend will be very much appreciated.

share|improve this question
3  
belongs on programmers.stackexchange.com – aaronasterling Feb 3 '11 at 18:28
1  
Just install linux. Why waste so much money on a mac. Python development on a mac is actually a pain in the ass. – Falmarri Feb 3 '11 at 18:30
1  
@Falmarri: How so? In my experience, it's pleasant (or, at the very least, no better or worse than on Linux). – mipadi Feb 3 '11 at 19:58

migrated from stackoverflow.com Feb 3 '11 at 19:30

4 Answers

I am a long time Mac user since back in the days when Photoshop was my favorite software. That was before a noteworthy amount of converts outside the advertising sector turned to Apple. I used a PC before (and do so occasionally too), but that experience does not really qualify.

HTH, to helps to level my view a bit. Ubuntu is a really good idea. A Virtualbox is nice as Dirk suggests, though the latest KDE can be a little slow (at least on my MacbookPro with 4GB of RAM and sufficient RAM for the box). I do know if its any faster on a PC or with another GUI, but still I can recommend it.If you use it more often you're probably better of with Dual Boot.

For R I use Eclipse with the StatET plugin, which I cherish very much. Especially as a not-so experienced programmer I am able to learn from the source code of other R packages that are always listed in transparent manner in our objects window. For larger dataset I use RMySQL with a MySQL database.

For code repositories, I started out with Mercurial and never experienced any Mac related trouble. There is even an easy to install binary on their website. Plus I recommend this tutorial from Joel Spoelsky (not mac related).

For LaTeX, there is TexShop on a Mac, which an lightweight but stable editor. If you work with references and a lot of quoting I recommend to use BibDesk. It's a GUI to manage your bibtex entries. Just for the sake of pseudo-completeness, I mention WYSIWYG Latex Lyx for Mac.

I even use Texclipse, particularly if I work with R and Sweave.

You haven't asked for it, but i can't help myself, here's some free stuff that might interested you if you really choose to buy a mac:

  • textwrangler (free editor, my standard texteditorm nice highlighting for many languages, starts quicker than Eclipse ;), also able to use plugins)
  • Kod (another (free editor)
  • subethaedit (another texteditor)
  • Gmote (if you use an android mobile you can use it as a remote touchpad)
  • SequelPro (nice MySQL GUI, heads and shoulders above of MySQL workbench)
  • pdfsam (merge and split .pdfs)

That being said. Try Linux if you are into programming and even more so if you are into learning programming. From what you write, I feel you will get in touch with an environment that you like (tech and people wise). The more I think about it, I am still a mac user because of the Adobe products and because it's not a disadvantage for programming (at least for my (low) skill level).

EDIT: I also tried Komodo edit (as an R editor) for a while, which is also nice, but was a bit unstable sometimes.

EDIT2: Thx man, here is TextMate .

share|improve this answer
1  
You forgot TextMate... ;) – Itai Ferber Feb 3 '11 at 20:01
And you "forgot" the link ;) . Edited my post, thx itaiferber. – hans0l0 Feb 3 '11 at 20:06
ah, Textmate is not free.. should've stated that. Everything else on the list should still be free – hans0l0 Feb 3 '11 at 20:19
Okay. I just got the trial and tested textmate with R. And I must admit: well worth the money. I am close to choose it over eclipse after only some hours of testing. – hans0l0 Feb 4 '11 at 9:36

Emacs is what I would recommend. Admittedly there is a steep learning curve and strange hotkeys, but having not only a highly functional editor, but also shell, interpreter (R, python, and others), file manager, and version control within one environment that makes it easy to shuttle bits of text from one application to another without so much mousing around is unparalleled in my opinion. Of course, I'm biased -- other tools may work just as well, but I haven't needed to learn anything else in 20 years! If you go to a Mac look for Aquamacs. For R interaction you will use ESS (Emacs Speaks Statistics).

PS: This text was edited with the "Edit with Emacs" extension for Chrome. :)

share|improve this answer
Are you a Mac user? I tried Emacs (ESS) and Aquamacs. I must say it looked incredibly powerful, but in the end I gave up. I felt like using vim blindly. I must admit that my Swiss keyboard was a huge disadvantage, because I had to customize the shortcuts for the most basics things. – hans0l0 Feb 3 '11 at 19:34
@ran2, I am a Mac user, and I use Aquamacs with ESS. What shortcuts did not work for you? Looking at the Swiss keyboard I can not see that it could pose problems. Do you know that Aquamacs supports all Mac editing shortcuts such as cmd+x, cmd+c, cmd+v? – mpiktas Feb 4 '11 at 9:07

Try the $0 solution first: install Ubuntu (dual-boot mode) on your current computer, or an older computer just sitting around.

share|improve this answer
6  
Or even with virtualbox so that you don't need to dual-boot. – Dirk Eddelbuettel Feb 3 '11 at 18:38
And if you do find yourself needing to dual boot, use wubi. No hard drive partitioning and uninstallation is as easy as running Add/Remove Programs on the Windows side. VirtualBox is awesome though---make sure you snapshot after a clean install and major upgrades so you can rewind if something gets mucked up. – Sharpie Feb 4 '11 at 8:52

You can use all tools you are mentioning (Python/PyDEV, R, Git client for GitHub) with Eclipse for Mac OS X.

For LaTeX, you also have very good Mac OS X support. There are plenty editors you can use (TextWrangler, Emacs, several others) and there are compilers for LaTeX documents.

share|improve this answer
On a Mac, is there anything better than Eclipse for Programming R/Python? – Btibert3 Feb 3 '11 at 18:51
2  
@Btibert3: TextMate is pretty cool (for both R and Python). – mipadi Feb 3 '11 at 18:52
There's ESS and Vim with the r-plugin. Janus is a great MacVim distribution tailored towards newcomers. Good blog post about it here – Sharpie Feb 4 '11 at 9:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.