Rで現在のディレクトリを確認、変更するコマンドRTwitterFacebookはてブPocketLINEコピー2019.04.22ファイルの読み書きをする際にカレントディレクトリを調べたくなった。pwdやcdのようなコマンドをRで使いたい。現在のディレクトリはgetwd()ワーキングディレクトリの変更はsetwd()で出来た。参考getwd function - RDocumentationgetwd returns an absolute filepath representing the current working directory of the R process; setwd(dir) is used to set the working directory to dir.
コメント