Re: [R] Analyzing Baseball Data With R

2020-03-17 Thread John via R-help
On Mon, 16 Mar 2020 15:35:36 -0700 "Phillip Heinrich" wrote: > Can’t get past first step of Chapter 7 page 164. > > Opened a new RStudio window. Loaded tidyverse and keyed in > library(tidyverse) which of course includes dplyr. The working > directory is: C:/Users/Owner/Documents. > > Then ke

Re: [R] Analyzing Baseball Data With R

2020-03-16 Thread William Michels via R-help
Hi Phillip, Generally these problems come down to knowing/setting your working directory. The first question is whether you have a directory named "data" inside your "C:/Users/Owner/Documents" directory? You may need to create this directory first, outside of R and/or RStudio (using your Windows O

Re: [R] Analyzing Baseball Data With R

2020-03-16 Thread Bert Gunter
... and in addition see ?file.choose for an interactive way to choose files that may be easier and/or help you to diagnose your problems. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom C

Re: [R] Analyzing Baseball Data With R

2020-03-16 Thread Jeff Newmiller
This is R-help, not RStudio-help, nor is it "Analyzing Baseball Data"-help, which means you cannot assume we know anything about what you are don't unless you tell us. However, it turns out that neither R nor RStudio are likely to be at fault here... it is up to you to keep track of which direct

[R] Analyzing Baseball Data With R

2020-03-16 Thread Phillip Heinrich
Can’t get past first step of Chapter 7 page 164. Opened a new RStudio window. Loaded tidyverse and keyed in library(tidyverse) which of course includes dplyr. The working directory is: C:/Users/Owner/Documents. Then keyed in: db <- src_sqlite(“data/pitchrx.sqlite”,create=TRUE) And got the fo