ADVERTISEMENT
ADVERTISEMENT

Home » R Language

Install R-Studio in Windows or Linux

Here, we are going to learn how to install R Studios in Windows and Linux?
Submitted by Samiksha Yadav, on October 23, 2018

Follow the steps given below in order to set up your environment for R.

1) Windows

a) Download the Windows installer version of R studio for Windows and save it in a local directory.

You can use the following links to download R Studio:
https://www.rstudio.com/products/rstudio/download/#download
https://cran.r-project.org/bin/windows/base/

b) Double click the downloaded file which will have an extension of .exe and run the installer accepting the default settings.

c) Click the icon that appears on Desktop after installation to run the program.

2) Linux

Instructions to install R in linux vary from flavor to flavor. Use the following commands to install R in Linux.

a) use yum install R: $ yum install R

Above command will automatically install R in your Linux system with all the standard packages.

b) In case, you want to install an additional package, then open R prompt :

How to install R in Linux OS

Now you can install your desired package as follows:

    >install.packages("package_name")

And thus your R studio is ready to use. Thanks for Reading.

ADVERTISEMENT



ADVERTISEMENT



Comments and Discussions


ADVERTISEMENT

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.