Dear R Help list, I'm facing a problem with "tk_choose.dir", I try to find an explanation and a solution.
I use :rm(list=ls(all=TRUE)) datawd<-"/mnt/3-Biot/data_input/" setwd(datawd) files<-tk_choose.files(filters = matrix(c("/*.csv",".csv"),1, 2, byrow = TRUE),caption ="Select file with csv format") If I change the name of the folder like this ("data_input" becomes "data") and delete the folder "data_input" and then run : rm(list=ls(all=TRUE)) datawd<-"/mnt/3-Biot/data/" setwd(datawd) files<-tk_choose.files(filters = matrix(c("/*.csv",".csv"),1, 2, byrow = TRUE),caption ="Select file with csv format") I received this error :"Impossible to acess to the directory "/mnt/3-BioT/data_input" permission denied" The old path and folder is kept in memory in tk_choose.file. What can I do ? Thanks for your help, Céline I use R version 3.2.3 on linux-gnu Céline Jouanin [[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.