file(file, "rt") でエラー: コネクションを開くことができません

windows8.1に入れたRでcsvファイルを読み込もうとしたときに出てきたエラー。

エラー全文#----------
 file(file, "rt") でエラー:  コネクションを開くことができません 
 追加情報:  警告メッセージ: 
 file(file, "rt") で: 
   ファイル 'C:/Users/path/pp20180704' を開くことができません
#----------

原因はファイルパスの打ち間違いでした。
存在しないディレクトリを指定していました。
確認大事。

コメント

このブログの人気の投稿

TypeError: ufunc 'bitwise_xor' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

overleafで画像が表示されない!

エラー: ""C:\U" で始まる文字列の中で 8 進文字なしに '\U' が使われています