Rによる計量分析:データ解析と可視化 - 第2回 セットアップ

Similar documents
Rによる計量分析:データ解析と可視化 - 第3回 Rの基礎とデータ操作・管理

R Commanderを用いたデータ解析

Word 2000 Standard


SHOBI_Portal_Manual

R Console >R ˆ 2 ˆ 2 ˆ Graphics Device 1 Rcmdr R Console R R Rcmdr Rcmdr Fox, 2007 Fox and Carvalho, 2012 R R 2

背景

Excel2000

R John Fox R R R Console library(rcmdr) Rcmdr R GUI Windows R R SDI *1 R Console R 1 2 Windows XP Windows * 2 R R Console R ˆ R

1

FileMaker Pro 8.5 Tutorial

pressrelease0806

Parallels Desktop 7 クイックスタートガイド

FileMaker Pro Tutorial

FileMaker Pro Tutorial

3 Ubuntu Linux Ubuntu Linux Debian Linux DistroWatch.com 1 Debian Ubuntu Linux 1 Debian CD(4.1 ) Knoppix Debian CentOS Linux CentOS 1 Ubuntu L

インターネットを活用した経済分析 - フリーソフト Rを使おう

たのしいプログラミング Pythonではじめよう!

13koki_koza.indd

untitled

untitled

LabFabChemicals2013Oct_ pdf


学報22号

00学報42号最終色替え


<8E6C969C8F5C8E738D4C95F131308C8E8D862E706466>

単ページ

KLC - AE 2007 インストール・セットアップ・ガイド

Introduction Contents

install_guide.PDF

1 2 Windows 7 *3 Windows * 4 R R Console R R Console ˆ R GUI R R R *5 R 2 R R R 6.1 ˆ 2 ˆ 2 ˆ Graphics Device 1 Rcmdr R Console R Rconsole R --sdi R M

Microsoft Word - PrivateAccess_UM.docx

pp R R Word R R R R Excel SPSS R Microsoft Word 2016 OS Windows7 Word2010 Microsoft Office2010 R Emacs ESS R R R R https:

付加情報をもったファイル共有システム

1. 2. SRT QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM Classification 2

Android Windows 8 AP 9 AP ios & Android 10 ST 11 ST ios 12 ST Android 13 ST Win & Mac 14 ST ios 15 ST Android

Ubuntu Linux PC Ubuntu Linux (14.04 LTS, Trusty Tahr) 32bit CD 64bit CD 2. 32bit CPU 64bit 32bit PC CPU 32bit 64bit Windows 64bit 64bit. 32bit Core 64

IPSJ SIG Technical Report Vol.2014-EIP-63 No /2/21 1,a) Wi-Fi Probe Request MAC MAC Probe Request MAC A dynamic ads control based on tra

HP Server tc2120 Microsoft Windows 2000 Server SP3 HP P

([ ],), : [Name], name1 name2 name10 4, 2 SuperSQL, ([ ]!), name1 name2 : [Name]! name SuperSQL,,,,,,, < < > } =,

, , B 305, ,

Microsoft Word PAX4_Manual_JP.doc

4D Draw

untitled

Rによるデータ解析入門

1 Vol Vol JULY 6 JUNE

untitled

1. 2. SRT QAC/TM 4. QAC/TM 5. QAC/TM 6. QAC/TM ( ) 7. [APPENDIX 1] [APPENDIX 2] QAC/TM

aeronca_537_color.indd

STSNJ NL

untitled

H8.6 P

100 SDAM SDAM Windows2000/XP 4) SDAM TIN ESDA K G G GWR SDAM GUI


1 1 iziggi-hd 2 iziggi-hd 4 iziggi-hd IPEVO 6 iziggi-hd 8 iziggi-hd 9 Whiteboard USB 10 iziggi-hd 11 iziggi-hd Wi-Fi LED 12 iziggi-hd PC 13 Appl

10.00mm 2 A4 0 A4 MS 72pt 25mm MS 25mm MS 2

KLCシリーズ インストール/セットアップ・ガイド


GENESYS2005_Instal_Guide.PDF

_‚Ofl¼

01.pdf


2 1 Mathematica Mathematica Mathematica Mathematica Windows Mac * Mathematica 9-1 Expand[(x + y)^7] (x + y) 7 x y Shift *1 Mathematica 1.12

2 Rails pico planner camel case camel pico planner _ pico_planner snake case snake - chain case chain pico planner pico-planner CSS id class 2.3 Rails

‚æ01Łª“û†œ070203/1‘Í

MathLibre KNOPPIX (next generation) 2012 KNOPPIX/Math MathLibre KNOPPIX , KNOPPIX 6.0, next generation. KNOPPIX/Math KDE,

カスペルスキー アンチウイルス 2011 for Mac

平成20年5月 協会創立50年の歩み 海の安全と環境保全を目指して 友國八郎 海上保安庁 長官 岩崎貞二 日本船主協会 会長 前川弘幸 JF全国漁業協同組合連合会 代表理事会長 服部郁弘 日本船長協会 会長 森本靖之 日本船舶機関士協会 会長 大内博文 航海訓練所 練習船船長 竹本孝弘 第二管区海上保安本部長 梅田宜弘

aphp37-11_プロ1/ky869543540410005590

日本内科学会雑誌第96巻第11号

本文/扉1

プログラム


Program


Œ{Ł¶/1ŒÊ −ªfiª„¾ [ 1…y†[…W ]

LMC-CA144U2


untitled

Microsoft PowerPoint _2.プログラミングの基礎_final

Asterix_Users_Manual.book

HG M-PRO 110pt 38mm HG M-PRO 110pt 38mm HG M-PRO 2

Q 23 A Q Q15 76 Q23 77

What’s New in Sibelius 7

Quickstart Guide 3rd Edition

01_06.indd

QW-3414


1P.PDF

2

01.PDF

<8EAD8CA48B B95B62E706466>

A B C

- 2 -

コンバートスター15シリーズ 製品パンフレット

Sophos Anti-Virus UNIX or Linux startup guide

Copyright 2009 Sun Microsystems, Inc Network Circle, Santa Clara, CA U.S.A. All rights reserved. Sun Microsystems, Inc. ( Sun Microsystems


Transcription:

R 2 2017 Email: gito@eco.u-toyama.ac.jp October 16, 2017

Outline 1 ( ) 2 R RStudio 3 4 R (Toyama/NIHU) R October 16, 2017 1 / 34

R RStudio, R PC ( ) ( ) (Toyama/NIHU) R October 16, 2017 2 / 34

R ( ) R ( ) (Toyama/NIHU) R October 16, 2017 3 / 34

PC ( ) PC LAN ( 2 ) (1) R ( ) (2) ( ) (3) 3 ( ) (Toyama/NIHU) R October 16, 2017 4 / 34

10/30 (Mon.) 1/9 (Tue.) (Toyama/NIHU) R October 16, 2017 5 / 34

Gelman, A & J Hill. 2007. Data analysis using regression and multilevel/hierarchical models. Cambridge: Cambridge University Press 2016 R Imai, K. 2017. Quantitative social science: An introduction. Princeton, NJ: Princeton University Press ( 12 ) ( ) (Toyama/NIHU) R October 16, 2017 6 / 34

R URL: http://cfes-project.eco.u-toyama.ac.jp/education/education_ 2017/r_2017/ 19:00 (Toyama/NIHU) R October 16, 2017 7 / 34

(10/16) 10/9 (Mon.) ( ) 10/16 (Mon.) ( PC) R, RStudio OS Linux, macos, Windows Command + S, Command + Shift + K (macos), Control + C, Control + Shift + N (Windows) OS ( ) (Toyama/NIHU) R October 16, 2017 8 / 34

R 2 1 source 2 1 (Homebrew, macpors ) 2 https://www.r-project.org 3 Download R CRAN (Comprehensive R Archive Network) 4 0-Cloud ( ) ( ) (Toyama/NIHU) R October 16, 2017 9 / 34

https://www.r-project.org (Toyama/NIHU) R October 16, 2017 10 / 34

Download R (Toyama/NIHU) R October 16, 2017 11 / 34

(Toyama/NIHU) R October 16, 2017 12 / 34

R CRAN 1 OS 2 R (Toyama/NIHU) R October 16, 2017 13 / 34

RStudio R Studio R IDE ( ) R + α (e.g., ) R RStudio Emacs, Sublime Text ( R ) (Toyama/NIHU) R October 16, 2017 14 / 34

RStudio 1 https://www.rstudio.com 2 Download RStudio 3 RStudio Desktop Open Source License Download 4 Installers for Supported Platforms OS 5 (Toyama/NIHU) R October 16, 2017 15 / 34

https://www.rstudio.com (Toyama/NIHU) R October 16, 2017 16 / 34

RStudio Desktop Open Source License (Toyama/NIHU) R October 16, 2017 17 / 34

Installers for Supported Platforms (Toyama/NIHU) R October 16, 2017 18 / 34

R R RStudio +α CRAN 10,000 1 GUI ( ) ( ) 2 (Toyama/NIHU) R October 16, 2017 19 / 34

CRAN 250 200 N new packages released 150 100 50 0 2008 2010 2012 2014 2016 2018 Year Data scraped from CRANberries (http://dirk.eddelbuettel.com/cranberries/, as of October 15, 2017) (Toyama/NIHU) R October 16, 2017 20 / 34

GUI GUI RStudio 1 RStudio Tools (, ) 2 Install Packages 3 (1) Install from Repository (CRAN) (2) Install dependencies 4 Packages devt 5 devtools Install (Toyama/NIHU) R October 16, 2017 21 / 34

(Toyama/NIHU) R October 16, 2017 22 / 34

(Toyama/NIHU) R October 16, 2017 23 / 34

(Toyama/NIHU) R October 16, 2017 24 / 34

RStudio library() R 1 RStudio Console ( ) 2 lib library(d) 3 library(devtools) enter 4 ok 1 > library(devtools) (Toyama/NIHU) R October 16, 2017 25 / 34

(Toyama/NIHU) R October 16, 2017 26 / 34

(Toyama/NIHU) R October 16, 2017 27 / 34

(Toyama/NIHU) R October 16, 2017 28 / 34

( ) GUI 100 ( ) R(Studio) ( ) 1 (http://cfes-project.eco.u-toyama.ac.jp/ education/education_2017/r_2017/) 2 R R MARKDOWN 3 install_packages_fall_1016_2017.r.r (.r) R (Toyama/NIHU) R October 16, 2017 29 / 34

( ) 1 install_packages_fall_1016_2017.r RStudio R RStudio.R RStudio 2 RStudio (preferences) RStudio (Toyama/NIHU) R October 16, 2017 30 / 34

RStudio (Toyama/NIHU) R October 16, 2017 31 / 34

( ) 1 install.packages("devtools", dependencies = TRUE) 1 (11 ) 2 3 command + enter (Mac) or control + enter (Windows) 1 devtools command + enter RStudio RStudio (2 3 ) (Toyama/NIHU) R October 16, 2017 32 / 34

( ) 1 12 2 command + enter (M) or control + enter (W) (Toyama/NIHU) R October 16, 2017 33 / 34

R 1 2 R R R (Toyama/NIHU) R October 16, 2017 34 / 34