Displaying 3 results from an estimated 3 matches for "fcdir".
Did you mean:
fchdir
2024 Dec 18
2
Query concerning working directory for file.choose()
...ty of file.choose(). sessionInfo() gives my system as
R version 4.4.2 (2024-10-31)
Platform: x86_64-pc-linux-gnu
Running under: Linux Mint 22
I've a small example script. It actually helps to create nd1 and nd2 and give them some dummy
files before testing.
Suggestions welcome.
John Nash
# fcdir.R -- show directory being used by function that calls file choose
cpath<-getwd()
nd1<-paste0(cpath,"/nd1")
nd2<-paste0(cpath,"/nd2")
dir.create(nd1)
dir.create(nd2)
myfc<-function(){
cat("myfc working in ",getwd(),"\n")
val<-file.choose(...
2024 Dec 18
2
Query concerning working directory for file.choose()
...version 4.4.2 (2024-10-31)
> Platform: x86_64-pc-linux-gnu
> Running under: Linux Mint 22
>
> I've a small example script. It actually helps to create nd1 and nd2 and give them some dummy
> files before testing.
>
> Suggestions welcome.
>
> John Nash
>
>
> # fcdir.R -- show directory being used by function that calls file choose
> cpath<-getwd()
> nd1<-paste0(cpath,"/nd1")
> nd2<-paste0(cpath,"/nd2")
> dir.create(nd1)
> dir.create(nd2)
>
> myfc<-function(){
> cat("myfc working in ",getwd(),...
2024 Dec 18
2
Query concerning working directory for file.choose()
...ion 4.4.2 (2024-10-31)
> Platform: x86_64-pc-linux-gnu
> Running under: Linux Mint 22
>
> I've a small example script. It actually helps to create nd1 and nd2 and give them some dummy
> files before testing.
>
> Suggestions welcome.
>
> John Nash
>
>
> # fcdir.R -- show directory being used by function that calls file choose
> cpath<-getwd()
> nd1<-paste0(cpath,"/nd1")
> nd2<-paste0(cpath,"/nd2")
> dir.create(nd1)
> dir.create(nd2)
>
> myfc<-function(){
> cat("myfc working in ",getwd(...