[R] Tidyverse Question

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Mon Mar 23 23:40:08 CET 2020


This is not a reproducible recipe. I am positive this is an operator error... not keeping current working directory in the same place, or failing to close the file when done.

On March 23, 2020 3:33:00 PM PDT, Phillip Heinrich <herd_dog using cox.net> wrote:
>Can someone out there run the following code from the book Analyzing
>Baseball Data with R – Chapter 7 page 164?
>
>    library(tidyverse)
>    db <- src_sqlite(“data/pitchrx.sqlite”,create=TRUE)
>
>Over the past two weeks this code has run correctly twice but I have
>gotten the following error dozens of times:
>
>    Error: Could not connect to database:
>    unable to open database file
>
>I’m trying to figure out if the problem is with my computer or if the
>tidyverse package has been revised since this book was written.  I got
>the same error when I loaded R onto my wife’s Mac.
>
>The file pitchrx.sqlite loaded into my directory
>C:/Users/Owner/Documents.  The data file db contains four xml files
>used later in the analysis.
>
>Thanks.
>	[[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.

-- 
Sent from my phone. Please excuse my brevity.



More information about the R-help mailing list