Re: [R] get.symbols doesn' work

2024-12-18 Thread Phil Smith via R-help
On Wednesday, December 18th, 2024 at 11:00 AM, Bert Gunter wrote: > > > Please look at what you wrote. > get.symbols vs. getSymbols. > > -- Bert > > On Wed, Dec 18, 2024 at 7:56 AM Phil Smith via R-help > r-help@r-project.org wrote: > > > Hello r-project: > > > > I want to load and u

Re: [R] Query concerning working directory for file.choose()

2024-12-18 Thread Duncan Murdoch
I believe file.choose() remembers the last choice, and repeats that location the next time you call it. This is true when it is called at top level or from within a function. The first time you call it in a session, it will default to the current working directory, but not after that. Front

Re: [R] Query concerning working directory for file.choose()

2024-12-18 Thread Bert Gunter
choose.files is only for MS Windows (the Help file says). -- Bert On Wed, Dec 18, 2024 at 8:06 AM Gabor Grothendieck wrote: > > Try choose.files > > choose.files(default = file.path(mydir, "*.*"), multi = FALSE) > > On Wed, Dec 18, 2024 at 10:33 AM J C Nash wrote: > > > > I've been working

Re: [R] Query concerning working directory for file.choose()

2024-12-18 Thread Gabor Grothendieck
P.S. That assumes Windows. On Wed, Dec 18, 2024 at 11:02 AM Gabor Grothendieck wrote: > > Try choose.files > > choose.files(default = file.path(mydir, "*.*"), multi = FALSE) > > On Wed, Dec 18, 2024 at 10:33 AM J C Nash wrote: > > > > I've been working on a small personal project that needs

Re: [R] Query concerning working directory for file.choose()

2024-12-18 Thread Gabor Grothendieck
Try choose.files choose.files(default = file.path(mydir, "*.*"), multi = FALSE) On Wed, Dec 18, 2024 at 10:33 AM J C Nash wrote: > > I've been working on a small personal project that needs to select files for > manipulation from > various directories and move them around in planned ways. f

Re: [R] get.symbols doesn' work

2024-12-18 Thread Bert Gunter
Please look at what you wrote. get.symbols vs. getSymbols. -- Bert On Wed, Dec 18, 2024 at 7:56 AM Phil Smith via R-help wrote: > > Hello r-project: > > I want to load and use the tiny quant libary. > > Hello R-project: > > get.symbols doesn't work this morning. > > I use this code: > >

[R] get.symbols doesn' work

2024-12-18 Thread Phil Smith via R-help
Hello r-project: I want to load and use the tiny quant libary. Hello R-project: get.symbols doesn't work this morning. I use this code: # # # install.packages(c("quantmod", "TTR", "xts", "zoo" , "tidyquant" )) # Load the tidyquant package library("t

[R] Query concerning working directory for file.choose()

2024-12-18 Thread J C Nash
I've been working on a small personal project that needs to select files for manipulation from various directories and move them around in planned ways. file.choose() is a nice way to select files. However, I've noticed that if file.choose() is called within a function, it is the directory from