Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Completed assignment, Results of plot exported to Rplot.png #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonathanstelman
Copy link

Completed data tidying exercises.
Exported plot, which is added to the repository.

**Could not use knitr without first setting eval=FALSE for each code chunk. **

@charles-lang
Copy link
Contributor

Hi Jonathan, eval = FALSE suppresses the code so it doesn't run. Some part of the code must not be working. I'm not sure which line it is though. Knitr won't produce a document unless all the code is functioning. Did you get an error message at all?

@jonathanstelman
Copy link
Author

So many error messages! Every code block returned an error. I fought with XCode and XQuartz for a very long time today to try to figure out why knitr is getting caught up at each code block, but I'm no closer to a solution. All of the code I that submitted works in the console, though.

@jonathanstelman
Copy link
Author

Really, I only added eval = FALSE in order to make sure that this was the only reason knitr was failing. After adding this line to each code block, I was able to knit to HTML and Word Documents. Seems like I need to install MacTeX to get knitr to make me a PDF, so that's my next step.

@charles-lang
Copy link
Contributor

Oh, ok. That makes sense. Sorry it is being such a hassle!

On Tue, Sep 27, 2016 at 11:29 PM jonathanstelman

<
mailto:jonathanstelman [email protected]

wrote:

a, pre, code, a:link, body { word-wrap: break-word !important; }

Really, I only added eval = FALSE in order to make sure that this was the

only

reason knitr was failing. After adding this line to each code block, I was able to knit to HTML and Word Documents. Seems like I need to install MacTeX to get knitr to make me a PDF, so that's my next step.

You are receiving this because you commented.

Reply to this email directly,
#5 (comment)
, or
https://github.com/notifications/unsubscribe-auth/APpSvNTa-nD062MbuhWPibiWyEbOHY-Tks5qud83gaJpZM4KINEw
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants