Tutorial getting started page instructions error

45 views
Skip to first unread message

Alex Blake

unread,
Nov 24, 2014, 12:57:39 PM11/24/14
to project...@googlegroups.com

This is what's on the page:

'For now, let’s just pull in that data file letters.csv.bz2 that you downloaded earlier. We’ll place it into the data directory:
    mv ~/Downloads/letters.csv.bz2 data
With the letters.csv.bz2 data set in place, we can start to use ProjectTemplate’s automated data loading features. Open up R again and type the following, where PATH_TO_LETTERS_DIRECTORYis the path of the folder in which you’ve expanded the letters.csv data set:

    setwd("PATH_TO_LETTERS_DIRECTORY")
    library('ProjectTemplate')
    load.project()’


I followed the instructions above and got a few warning/error messages.  I believe the instructions need to be corrected to the following:

'For now, let’s just pull in that data file letters.csv.bz2 that you downloaded earlier. We’ll place it into the data directory:
    mv ~/Downloads/letters.csv.bz2 data
With the letters.csv.bz2 data set in place, we can start to use ProjectTemplate’s automated data loading features. Open up R again and type the following, where PATH_TO_PROJECT_ROOT_DIRECTORY is the path of the root folder for the project:

    setwd("PATH_TO_PROJECT_ROOT_DIRECTORY")
    library('ProjectTemplate')
    load.project()’


When I changed the path to PATH_TO_PROJECT_ROOT_DIRECTORY from PATH_TO_LETTERS_DIRECTORY and ran ‘load.project()’ from that root directory, it all worked as described on the webpage, that is to say, I would now get a message list similar to the one on the getting started page:


Loading project configuration
Autoloading helper functions
 Running helper script: helpers.R
Autoloading cache
Autoloading data
 Loading data set: letters
Munging data
 Running preprocessing script: 01-A.R

Kirill Müller

unread,
Nov 24, 2014, 2:24:44 PM11/24/14
to project...@googlegroups.com
Thanks for your feedback! The original source is in the "website" folder
on GitHub
(https://github.com/johnmyleswhite/ProjectTemplate/tree/master/website),
would you like to submit a pull request by editing the corresponding
".markdown" file(s)? (When viewing the file, click the "pencil" button
right to "History" and left to the "trash can".)
> --
> You received this message because you are subscribed to the Google
> Groups "ProjectTemplate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to projecttempla...@googlegroups.com
> <mailto:projecttempla...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages