Sunday, 15 September 2013

Error trying to generate notes with reports package on R

Error trying to generate notes with reports package on R

I am trying to generate notes for the reports package
https://github.com/trinker/reports/ , and followed the steps from the
youtube video http://goo.gl/x9ulf0 . I did run the chunk Tyler has there
http://goo.gl/XHouuc but when I try to generate the notes i keep getting
the following error message:
> notes()
Error in value[[3L]](cond) :
Possible causes:
1) The main file directory is not set as the working directory
2) ~/ARTICLES/notes.xlsx or ~/ARTICLES/notes.csv does not exist
I then tried to set my working directory to different places and even to
move the ARTICLES directory to my home ~ directory, but i keep getting the
exact same message no matter where i place the wd. i read the source code
for the notes function but couldn't figure out where the problem might be.
the notes2 function also gives me the same error
here is my sessioninfo:
> sessionInfo()
R version 3.0.1 (2013-05-16)
Platform: x86_64-apple-darwin10.8.0 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] knitcitations_0.4-7 bibtex_0.3-6 knitr_1.4.1
slidifyLibraries_0.3
[5] slidify_0.3.52 reports_0.2.0
loaded via a namespace (and not attached):
[1] digest_0.6.3 evaluate_0.4.7 formatR_0.9 httr_0.2
markdown_0.6.3
[6] RCurl_1.95-4.1 rJava_0.9-4 stringr_0.6.2 tools_3.0.1
whisker_0.3-2
[11] xlsx_0.5.1 xlsxjars_0.5.0 XML_3.95-0.2 xtable_1.7-1 yaml_2.1.8
any thoughts on what the problem might be?

No comments:

Post a Comment