Hello,

You must set the directory manually.

old_dir <- getwd()
setwd('path/new/dir')

file.choose()

#other stuff, if necessary end with

setwd(old_dir)


Hope this helps,

Rui Barradas

Às 15:29 de 03/03/20, Dennis Weygand escreveu:
How do I change the default directory that file.choose() (Windows-10) uses?
D.P. Weygand

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to