Site icon R-bloggers

Getting started… first steps into R

[This article was first published on R – Data Science Africa, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

We all started R from somewhere. Some of us progressed quickly and some of us struggled and suffered through every step. But we all started. This post is written for the absolute beginners, and details how to install R, RStudio and how to deal with package installation problems.

 

     install.packages("ggplot2")

However, frequently the installation process fails (most times this is due to an antivirus or firewall issue. When the installation fails, it is typically one of two things: The package will download partially (in that case, just run the install command again), or it will download correctly, but didn’t copy over to your library correctly. This error will look like this:

When this happens, you will have to finish copying links over yourself. To do this:

 

Welcome to R!!

The post Getting started… first steps into R appeared first on Data Science Africa.

To leave a comment for the author, please follow the link and comment on their blog: R – Data Science Africa.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.