Installing RStudio & R on Windows 8 Operating System

 

RStudio integrated development environment is used for the user interface for R.

To install “RStudio” first open URL: http://www.rstudio.com/ide/

image

Now click on the Download button.  The latest version of RStudio is v0.98

Once you click on download it will ask you to choose one option out of two i.e. to Download RStudio desktop or RStudio server.

image

Select “Download RStudio desktop

Now you will see the options to choose the platform of your operating system and download,  but here I am going to use the below version:

From the website you will also get an suggestion recommended for your OS as like below:

image

I am selecting the option recommended i.e. “RStudio 0.98.501 – Windows XP/Vista/7/8

image

You can directly click on run button from the popup.

Then you installation process will be started.

image

Click Next.

image

Select any path where you want to install the software , here I am keeping as default selection.

image

Click on Install.

image

image

Finally click on Finish button.

Now you can

image

Now you can see that RStudio is been installed on my Windows 8 operating system.

Click on RStudio .

image

As my OS is 64 bit so I will keep as default and click on ok button.

image

If R is not installed on the OS earlier then we will see the message like above. So as I don’t have R installed prior to this installation so clicking on Yes.

Now for installing R navigate to URL : http://www.r-project.org/

 

image

Now click on CRAN link under download section as shown in above screen shot.

image

Here you can see the links to download. But I am going to choose the mirror from India (optional as you can select any other one too).

image

Click on the link :

image

Choose Download R for Windows option as shown in above screen shot.

image

Now click on the link “install R for the first time.

image

Now click on Download R 3.0.2 for Windows.

image

Now click on run .

 

image

Once downloaded then execute the .exe file to install R.

image

Click ok.

image

Click  : Next

image

Click Next

image

I am keeping as default path but you change it too.

image

Keep default selection and click ok next.

image

For startup option you can choose default and click on next.

image

Click Next :

image

Use default and click on next.

image

image

Finally R is been successfully installed on windows 8 but now lets check if everything works fine or not. Double click on the R icon created after installation. The you will see the screen as below:

image

 

image

You can see that I have given the input to do a addition for “1+1” which prints the value as “2”.

Now let us go back to our RStudio installation:

image

Now click on OK button.

image

image

image

Now finally we can see that R and RStudio are installed successfully on Windows 8 operating system.  Using RStudio is litter user friendly because we can save the codes as you can see from the above screen shot at the top left hand side and below will be the console where it is similar what we have seen earlier while opening R tool.

Advertisements

4 thoughts on “Installing RStudio & R on Windows 8 Operating System

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