일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 철학
- 영화 리뷰
- 토양학
- 더 웨일
- 영화 후기
- 영화
- R
- 외생균근균
- 둠칫새
- 코딩
- mushroom #mushrooms #mushroomhunting #mushroomphotos #mushroomphotography #mycology #mycologist #fungi #fungalecology #fungaldiversity #fantasticfungi #버섯 #탐균 #버섯탐사
- 영화 해석
- 바운새
- 생명과학 균학 미생물학 Biology Mycology Microbiology
- 청도요
- 곤줄박이
- 탐조
- 갓생
- 에리히 프롬
- 심리학
- RStudio
- 대학원생
- 젖비단그물버섯
- 영화 일기
- 계묘년
- 파이썬
- 생물정보학
- Rstuido
- 토양미생물학
- Cannon PowerShot G7 X Mark III
Archives
- Today
- Total
워라밸 중독자
[R] 스크립트 시작 일반 구조 본문
# ----------------------
# 제목
# ----------------------
# Setting up environment ===================================================
# Clean environment
rm(list = ls(all.names = TRUE)) # will clear all objects including hidden objects
gc() # free up memory and report the memory usage
options(max.print = .Machine$integer.max, scipen = 999, stringsAsFactors = F, dplyr.summarise.inform = F) # avoid truncated output in R console and scientific notation
# Set seed
set.seed(123456)
# Set project library
.libPaths('C:/Users/laura/Documents/Biostatsquid/Scripts/R4.2.3')
# Loading relevant libraries
library(tidyverse)
library(RColorBrewer) # for a colourful plot
# Set relevant paths
list.files()
in_path <- "Datasets/"
out_path <- "Results/"