kobekko94 / Yusuke-Flexdashboard-Practice

0 stars 0 forks source link

Loading "SZIV-Deidentified" Files #5

Closed kobekko94 closed 7 years ago

kobekko94 commented 7 years ago

Here's some code that I extracted from the "Focus across sessions.rmd"

knitr::opts_chunk$set(echo = TRUE)
library(tidyverse)
source('helper_code/load_data.R')
source('helper_code/utility_functions.R')

I get the following error when I run the above code:

cannot open file 'helper_code/load_data.R': No such file or directory
 Show Traceback
Error in file(filename, "r", encoding = encoding) : cannot open the connection

getwd() gives me: [1] "/Users/yusuke/Documents/GitHub/SZIV-deidentified"

Any ideas why?

davclark commented 7 years ago

Those source lines expect local files to be there in the helper_code directory. You can copy that directory over also and you'll be able to at least load them.