Step Three: Decide which kind of Package want to build

Step Three is really pretty simple: Decide what kind of package you want to build. There are two kinds of packages you can build: Packages where all the source is R code, and packages where you also have code written in C, or Fortran, or C++.  This choice determines which tools you will need.  If you also want to build R from source  that will also drive the tools you need.

In short, to build packages that include only R source you do not need any of the compiler tools. The tools you need are tools related to documentation. Let me repeat that because it’s not always clear in other documentation. If you want to build R from source, or build packages that have source code in a language OTHER THAN R, you will need the compiler tools. If you want to build packages that only contain R source code, then you do not need the compilers.

For the rest of this how to guide I am going to focus only on building packages that have R source and R source only in them. I will mention some of the other tools but they will not be my focus. Working with other languages will be the focus of a different How-to Guide.

With that decision explained. We can now go on to step FOUR.

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 31 other followers

%d bloggers like this: