![]() Great post! I’ve been thinking of typing something like this up, even for my own benefit, as the little bits of install notes I leave lying around never seem to make a complete picture when I try and help someone else get their machine to be able to build packages as mine can. I may even stick this on github to make it easier to contribute in the future. If you have any changes/additions/etc drop a note in the comments. The defaults should all be good enough for now. Double-click the pkg installer and follow the prompts.This direct link should always work (until they change up the way their site works) Go to and download the latest MacTeX.pkg file.If you delve into package creation or do more detailed output work in R, you’ll want to install MacTex sooner than later. Installing latex for OS X is not hard, just time (and bandwidth) consuming (it’s about the same size as a new OS X installer). R has an academic history and there are many semi-advanced functions that are tied to something called latex. Drop a note in the comments if you’d like this discussed more in a future blog post. You can now do brew install xyz in the future when a library is needed to support a package. Read and accept the various prompts until it’s installed.Paste the following into the Termainal window and hit enter/return (accept any dialog/prompt):. ![]() Find and open the Terminal program in the Utilities folder under the Applications folder.When the intallation is done, open Xcode then close it just to verify it installed correctly.Get Xcode and install it like any “normal” Mac application.You can wait to do the following until it’s needed, but since you’re already installing things… That requires utilities not installed on OS X by default. Double click the downloaded disk image then double click on the XQuartz.pkg and follow the installation steps.As of this post, that’s version 2.7.8 and this is the direct link Go to and download the top-most “quick download” disk image file.Apple does not provide this software with OS X anymore so you have to do it on your own via a third-party application called XQuartz. Some functions in R require an “X11 Server” and/or libraries associated with an X11 server. Double-click it and you should see an RStudio window with four panes.įrom now on, just start RStudio when you want to work in R.Look in the Applications folder for the RStudio application. ![]() Drag the RStudio icon to the Applications folder. ![]() The direct URL for that verison (which was current at the time of this post) is It’ll say something like RStudio 0.99.486 - Mac OS X 10.6+ (64-bit).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |