I'm working on a data analysis project in R, where I'm doing some logistic and multilevel modeling with sensitive, private data in R. I have fallen for the bookdown package in R, and I have created a fairly extensive book about our workflow and analysis pipeline. The thing is - I'm hosting this book locally on my computer, which means I have no real way to share this book with my team. In the past, I have created .html files with R Markdown or Jupyter, which then I could email or store in the cloud for others to open. Is there a way I can create a bookdown book that is shareable some other way than public URL access? Thanks--
Asked
Active
Viewed 967 times
7
-
1Have you see the [bookdown output formats](https://bookdown.org/yihui/bookdown/output-formats.html)? You can make, HTML, PDF, ebook, etc. – MrFlick Mar 07 '18 at 16:35
-
1That documentation has been super helpful. I was outputting to an HTML file, but saw that bookdown knits an HTML file for every chapter/section of the book. I was hoping for a single file for the whole book, but it appears I need to share the whole directory of HTML files in order for someone to see all the contents of the book. Unlike a PDF or Ebook, which **is** just one file. – Ben Croft Mar 07 '18 at 17:34
1 Answers
1
I am also writing internal books for my organization. I think what I would do is to place the html file in the share drive so that only people with the share drive access can access your book.

tigerloveslobsters
- 626
- 5
- 9
-
Great to hear someone else is doing the same. Do you share the entire folder of HTML files generated by bookdown? Or do you have a single file you place in the share drive? – Ben Croft Mar 07 '18 at 17:36
-
I would share all of them in a folder and ask people to start with the index file and the whole book will be rendered in the browser – tigerloveslobsters Mar 07 '18 at 17:46
-
What about sharing with people that don't have direct access to a shared folder directory? With Google Drive, for example, you need to download all of the files locally before opening because it just renders a preview when you try to open index.html. Surely there is a better way. – dmanuge Oct 11 '18 at 17:08