[R] file.choose()

Rui Barradas ru|pb@rr@d@@ @end|ng |rom @@po@pt
Tue Mar 3 16:40:36 CET 2020


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 using 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.
>



More information about the R-help mailing list