2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

R > 作業フォルダの確認・移動 > getwd() / setwd("D:/TestData/160911_R")

Last updated at Posted at 2016-09-11
動作環境
RStudio 0.99.903 on Windows 7 pro
R version 3.3.1 

csvファイルを読込もうとしたところ、作業フォルダの移動が必要と気づいた。

getwd()
setwd()
というのを使うようだ。

参考 http://rfunction.com/archives/1001

> setwd("D:/TestData/160911_R")
> getwd()
[1] "D:/TestData/160911_R"

エクスプローラのアドレス欄の文字列をコピーすると「バックスラッシュ」が含まれるが、RStudioではそれらを「スラッシュ」に変更しないといけないようだ。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?