Can't Knit Anymore

145 views
Skip to first unread message

Fanny Chow

unread,
Apr 9, 2015, 1:46:29 PM4/9/15
to davi...@googlegroups.com
After closing an R session and returning to R Studio, knit doesn't work anymore. When I press "knit", the R Markdown tab pops up and looks like it's loading (the refresh button keeps circling) but nothing happens. Has anyone encountered this problem before?
Screen Shot 2015-04-09 at 10.44.42 AM.png

Jeffries, Robin

unread,
Apr 9, 2015, 5:20:04 PM4/9/15
to davi...@googlegroups.com

Can you share what it looks like prior to you attempting to knit?

What does it look like when you freshly open up this RMD file in R Studio.

--
Check out our R resources at http://www.noamross.net/davis-r-users-group.html
---
You received this message because you are subscribed to the Google Groups "Davis R Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to davis-rug+...@googlegroups.com.
Visit this group at http://groups.google.com/group/davis-rug.
For more options, visit https://groups.google.com/d/optout.

Fanny Chow

unread,
Apr 9, 2015, 6:23:47 PM4/9/15
to davi...@googlegroups.com
This is what the rmd file looks like when I open it.

Thanks Robin!
Screen Shot 2015-04-09 at 3.22.05 PM.png

Michael Hannon

unread,
Apr 9, 2015, 6:39:49 PM4/9/15
to davi...@googlegroups.com
I think you may have forgotten to include code-chunk delimiters for
some of your code chunks. I.e., it appears that you're missing:

```{r foo}


```

in some places.

It's also possible to do the "knitting" outside of the context of
rstudio, and that might further help to identify the problem if it
still persists. Let me know if you need details.

-- Mike

Jeffries, Robin

unread,
Apr 9, 2015, 7:16:19 PM4/9/15
to davi...@googlegroups.com
That's about all I see immediately as well.
Make sure all R code is inside code chunks then try again. If R won't stop spinning, click the stop icon on the top right corner of your console/R Markdown window

Fanny Chow

unread,
Apr 10, 2015, 3:22:18 AM4/10/15
to davi...@googlegroups.com
Knit works again after uninstalling and reinstalling R Studio. 

Thanks Robin and Michael!


On Thursday, April 9, 2015 at 10:46:29 AM UTC-7, Fanny Chow wrote:
Reply all
Reply to author
Forward
0 new messages