3 See How Much You Can Do in a Few Lines of Code

The sole purpose of this chapter is instant gratification. Fundamentals are important, but so is seeing a few of the cool things you can do in R with very little code. I do realize that adding 7 + 52 in a console, as I demonstrated in the last chapter, isn’t all that compelling. I want to get you excited about R’s potential! But if you’re the type of person who gets frustrated doing things without fully understanding them, you may want to skip ahead to Chapter 4 and come back here later. This chapter is designed to show you some eye candy, not to give detailed explanations.