0% found this document useful (0 votes)
3 views

Python

This document serves as a guide for installing and using Python and R, including details on setting up Jupyter Notebook and R Studio. It provides step-by-step instructions for checking installations, downloading necessary packages, and using Integrated Development Environments (IDEs). The document emphasizes the importance of having English-only file paths during installation processes.

Uploaded by

Khoảnh Khắc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Python

This document serves as a guide for installing and using Python and R, including details on setting up Jupyter Notebook and R Studio. It provides step-by-step instructions for checking installations, downloading necessary packages, and using Integrated Development Environments (IDEs). The document emphasizes the importance of having English-only file paths during installation processes.

Uploaded by

Khoảnh Khắc
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Guide for Python &

R
Seung Keun Song
Nov13 2024
Seung Keun Song

Research Assistance of Professor


Contact Hyoung Suk Shim

Info Email :
[email protected].
EDU
Python

Jupyter notebook

Index R

R studio
Installing Python

Check OS that works right on your


computer

When you install make sure that


There’s only English in file path

https://www.python.org/downloads/
How to Check It’s
Installed
• Use CMD(terminal for mac users)
type python(python3)

• Type : print(“hello world”)


Python IDE ( Integrated Development
Environment)

Jupyter
PyChar
Noteboo Others
m
k
How to download
Jupyter Notebook

Advantage of Using Anaconda


- It helps to manage all the
packages
- Make it more easier to link with
other programs(packages) https://www.anaconda.com/download
How to download
Jupyter Notebook
Using CMD or Terminal
- Easy installing
- Go to CMD(terminal) console and type pip
install jupyter
- Type jupyter notebook to start
Downloading Package(Library)
pip install package name
• numpy
• pandas
• sklearn
• ISLP
• torchinfo
• torchvision
• pip install pytorch-lightning==1.8.4 (This version is what the book is
using.)
Import Package
• import package name (as abbreviation of package
name)

• from package name import function name

E.g.
import numpy as np
from matplotlib.pyplot import subplots
Installing
R

Same as Python case, download file https://cloud.r-project.org/


that is suitable for your OS

When you install make sure that there


should be only English in file path
Checking R is
Installed Well
Find R and Run the
program

Type in R console
> print(“Hello World”)
Installing R
studio

Download free version

https://posit.co/downloads/ When you install check your file path (Only


English)

You might also like