Professional Documents
Culture Documents
ก
R ก
. ก
กก
กก
!ก" !"
ก
• #
#$%ก &#! "& '(ก R ()1 ก & (
ก
) )
– ( CD '(ก R "&
• #
#$%ก &#! "& '(ก R () 2 ก & -)
(
)
.. ##. -&#.
/ &#. #
#
#.-
-(ก 0.
!1 ก
- &#
2 ก#- ##3
#34 - !2 ก
% 5-$!1 6
ก
R
• '7 '(ก2 !5'(8"') (Free software) 8."2 ก
2 &
#
# (" ก 9 '(ก3:"#%; 8'< ..
2538 Robert Gentleman ( Ross Lhaka ()/ &#.
#
# &# (- '#&@(-
• 'A!! '(ก R 5)/ 8
"ก 5(5##%:)(& ก2 :.$% R
Foundation % http://www.r-project.org/index.html
• '(ก R '7@9-(&-'/ Open Source %'B ก 8"C5"
& 5"" ก '(ก ; #%
#:"ก
&#ก download Program R ! ก Internet
:'%
http://www.r-project.org/index.html
The R Project for Statistical Computing
About R
What is R?
Contributors
Screenshots
What's new?
Download, Packages
CRAN
R Project
Foundation
Members & Donors
Mailing Lists
Bug Tracking
Developer Page
Conferences
Getting Started:
Search
•R is a free software environment for statistical computing and graphics. It compiles and runs on a wide variety of UNIX
platforms, Windows and MacOS. To download R, please choose your preferred CRAN mirror.
Documentation •If you have questions about R like how to download and install the software, or what the license terms are, please read
Manuals our answers to frequently asked questions before you send an email.
FAQs
The R Journal
Wiki
Books News:
Certification •R version 2.10.0 has been released on 2009-10-26 and will spread through CRAN in the next days.
Other •The first issue of The R Journal is now available
•useR! 2010, the R user conference, will be held at NIST, Gaithersburg, Maryland, USA, July 21-23, 2010.
Misc •We have started to collect information about local UseR Groups in the R Wiki.
Bioconductor
Related Projects
User Groups •This server is hosted by the Department of Statistics and Mathematics of the WU Wien .
Links
CRAN Mirrors
Thailand
This directory contains binaries for a base distribution and packages to run on i386/x64
Windows.
Note: CRAN does not have Windows systems and cannot check these binaries for
viruses. Use the normal precautions with downloaded executables.
Subdirectories:
Please do not submit binaries to CRAN. Package developers might want to contact
Duncan Murdoch or Uwe Ligges directly in case of questions / suggestions related to
Windows binaries.
You may also want to read the R FAQ and R for Windows FAQ.
R-2.10.0 for Windows
Download R 2.10.0 for Windows (31 megabytes)
Installation and other instructions
New features in this version: Windows specific, all platforms.
If you want to double-check that the package you have downloaded exactly
matches the package distributed by R, you can compare the md5sum of the .exe to
the true fingerprint. You will need a version of md5sum for windows: both graphical
and command line versions are available.
Frequently asked questions
How do I install R when using Windows Vista?
How do I update packages in my previous version of R?
Please see the R FAQ for general information about R and the R Windows FAQ for
Windows-specific information.
R-2.10.0-win32.exe
R-2.10.0-win32.exe
2. Rterm '7&# &-2 2 % (@F%'ก # R console 2 %ก:")
:'% R-cosole #3ก& :'% clear window $ ก Ctrl+L ก:"$ก
ก
R &'
(
R Gui
• File 8."'B 'B&# &- '/
) D 8."ก$Fก:9-8."
$กก #-"5
• Edit 8."" ก:9- $" "5/ 8&# &-
) D .)
Gui preference '
&$" !:"
• View 8."ก 2 8"($ก#กก ( ( $%$ $
( /
• Misc 8."ก2 $ก#กก 2 &
8."(#%% '(ก5)
.)
&(' :9- 8."ก#ก$" #%% '(กก:&"5)
ก
R &'
(
R Gui
• Packages 8."ก package #%
# 8."
#
3 Package
– 2 % load package, install package , update
package 8%% ! -8"8."2 % Install package(s) from
local zip file ("&:' load package ! ก Drive D %
folder Package
• Windows 8."!&# &-85'(
) D ก $ก(
) D Windows
• Help 8."2 # ก 8." '(ก R
ก()*' ก
R ++
(R Comanander)
• '7ก 8." '(ก R (5 $:)
"2 % 2 :"
'G8"ก$ก2 %$ก SPSS (
)!2 '7
"
#
3 '(ก
R commander ก) 3
– :'% "
) Rgui
– $ก 5 Package(s) $ก Install package(s) !' กH2
&) CRAN mirror $ก Thailand 5)8ก"! Load :"&
ก&) $ก'$% ! ก3ก'G Ok
– $ก 5%.$%&) Rcmdr ก'G OK
– '(กก!2 ก
#
3 R commander 8" ("&" ! &) !
#
3 Package
&$%#%
#$:) 8"ก Yes
ก()*' ก
R ++
(R Comanander)
• $ก()%!ก Package $ก! ก CRAN
• '(ก!8."& 20-30 8ก load package 3
! -!8" Load ! ก Folder % ! -
:&"8"("&8
Drive D &38"$ก Install packages from load
zip ( ("&$ก% folder Rcmdr ก Open ("& 2 :4:-
ก :9- ก open ! ก3 !ก&) !
#
3!....
(
R commander +,ก-
.,. 3
(&)
• Scrip window '7&# &-%8."(2 %%C"8."$ก! ก5
($ Syntex 8 Spss)
• Output Window '7&# &-!% (C-%:"! กก 8."
52 %
• Massage Window '7&# &-!% ("5
) D .)$%
ก# Error ! กก 8."5
ก&.ก ก
R Commander
(0
, Install R commander
,&ก
)
• ก '(ก R ('ก
#F3 8." ก)
• 8":'%&# &- Rgui
• $ก 5 Package $ก load packages !&# &-
' กHF3.$% Select one
• $ก Package .$% Rcmdr
• ก'G ok !' กH&# &- R commander 8"3
Window R commander
• File 8."ก $Fก :9-'/
) D
• Edit 8."ก " " 2 %
• Data 8."!ก ก%&ก"5(
&('
• Statistics 8."&# -"5 #
# 53$'75ก R
commander
• Graph 8."ก 2 %ก%&ก ก 9
• Models 8."!ก ก
&("5%:"! ก Statistics
• Distributions 8."&# -ก%&กก (!ก(!"585'(
) D
• Tools 8."!ก ก%&ก Package ก ก '(ก# !ก
" !
• Help 8."2 # ก 8." '(ก R
Tool Bars R commander
8."2 (
&( (Model) %C5"8."" F3 ("&! ก5 Statistics .)
&(%
:"! ก ก &# -(
&(%:"! กก &# -& (''& (ANOVA)
ก ก
R -'2
3+)(2 R console)
8"2 &
) 5 5
7
C-%:" enter
8"2 &
) e กก2 5
C-%:" enter 8")"5
&F3 10
&%ก (!ก(!('ก
#
ก"5:&"%
&(' X
%8"() X C-%:" enter
Xกก2 -8