はじめてでもわかるデータ入出力
Upcoming SlideShare
Loading in...5
×
 

はじめてでもわかるデータ入出力

on

  • 5,387 views

Osaka.R #4(2010/12/02)の発表資料

Osaka.R #4(2010/12/02)の発表資料

Statistics

Views

Total Views
5,387
Views on SlideShare
2,329
Embed Views
3,058

Actions

Likes
2
Downloads
29
Comments
0

6 Embeds 3,058

http://m884.hateblo.jp 3048
http://webcache.googleusercontent.com 5
http://www.linkedin.com 2
http://reader.aol.com 1
http://cache.yahoofs.jp 1
http://www.feedspot.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

はじめてでもわかるデータ入出力 はじめてでもわかるデータ入出力 Presentation Transcript

  • Osaka.R #4 @phosphor m 2010 12 2@phosphor m Osaka.R #4
  • 12345@phosphor m Osaka.R #4
  • twitter: @phosphor m Osaka.R@phosphor m Osaka.R #4
  • R R R@phosphor m Osaka.R #4
  • R R R R OS@phosphor m Osaka.R #4
  • @phosphor m Osaka.R #4
  • “ ”“C” “Users” “masahiro“@phosphor m Osaka.R #4
  • C: .csv “C” “ ” “ .csv” Windows ¥ mac / Windows@phosphor m Osaka.R #4
  • R C:/ / .csv C: .csv 2 2 “C: .csv” @phosphor m Osaka.R #4
  • 01 11 34 01@phosphor m Osaka.R #4
  • 11 “ ”@phosphor m Osaka.R #4
  • csv Windows Shift JIS Mac UTF-8 Shift JIS UTF-8 2 UTF-8 Shift JIS Windows TeraPad Mac CotEditor@phosphor m Osaka.R #4
  • d1 <- read.csv("C: .csv")R@phosphor m Osaka.R #4
  • d1 <- read.csv("C: .csv")@phosphor m Osaka.R #4
  • d1 <- read.csv("C:/ / .csv")@phosphor m Osaka.R #4
  • d1 <- read.csv("C:/ / .csv")@phosphor m Osaka.R #4
  • setwd("C:/ ")d1 <- read.csv(" .csv")@phosphor m Osaka.R #4
  • Windows Shift@phosphor m Osaka.R #4
  • csv d1 <- read.csv("C:/ / .csv") d1 <- read.csv("C:/ / .csv", header = FALSE) d1 <- read.csv("C:/ / .csv", na.strings = "NA") csv 1 header=FALSE header=TRUE na.strings NA @phosphor m Osaka.R #4
  • d1 <- read.delim("C:/ / .txt") read.delim read.csv@phosphor m Osaka.R #4
  • d1 <- read.delim("C:/ / .txt") read.delim read.csv@phosphor m Osaka.R #4
  • R csv Excel csv foreign@phosphor m Osaka.R #4
  • library(foreign)d1 <- read.spss("C:/ / .sav", to.data.frame = TRUE, use.missings = TRUE)# SPSS# to.data.frame data.frame# use.missingsd1 <- read.dta("C:/ / .dta")# statad1 <- read.xport("C:/ / .stx")# SAS@phosphor m Osaka.R #4
  • csVwrite.csv(d1, file = "C:/ / .csv", na = "NA", row.names=FALSE) data.frame na NA row.names=FALSE@phosphor m Osaka.R #4
  • library(foreign)write.dta(d1, "C:/ / .dta")write.foreign(d1, datafile = "C:/ / .csv", codefile = "C:/ / .sps", package = "SPSS") stata write.dta write.foreign csv + datafile csv codefile package ”SPSS” ”Stata” ”SAS” write.csv@phosphor m Osaka.R #4
  • Windows Shift JIS UTF-8 csv@phosphor m Osaka.R #4