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

rendering #1

Open
JongyoonBaik opened this issue Dec 7, 2016 · 5 comments
Open

rendering #1

JongyoonBaik opened this issue Dec 7, 2016 · 5 comments

Comments

@JongyoonBaik
Copy link
Collaborator

Until when there were only two .Rmd files, rmarkdown::render_site() worked well. But then after two more .Rmds, were added, I was unable to commit the html files nor the site_libs, and R studio stoped running! I had no choice but to shut down the computer, in order to re-start R studio. Already re-started R studio for three times but nothing solved!

@bensoltoff
Copy link
Contributor

I'm not quite sure what's wrong. I just cloned your repo and after installing all the necessary packages I was able to run rmarkdown::render_site() fine. I didn't push the commit in case it interfered with any changes you've made locally. Do you get any error messages when you try to commit the files?

@bensoltoff
Copy link
Contributor

And more specifically, does the error occur when you try to render_site(), when you try to commit those files, or when you try to push that commit to GitHub?

@JongyoonBaik
Copy link
Collaborator Author

When I try to commit. I don't get any error message but when I try to click the little boxes next to sit_libs/, and htmls (in the upper right 'Git' window) in order to commit, then the Rstudio stops. Actually, I cannot even (Rstudio does not allow me to) check the box next to sit_libs.

@bensoltoff
Copy link
Contributor

It might be because those files are too large to preview in RStudio. You can stage and commit those files from the terminal. Navigate to your repo using cd then run the commands

git stage -A
git commit -m "Rendered the full site"
git push

This will stage all the files, commit them to the local repo, then push them up to Github. If you have a Git client installed on your computer that uses a GUI interface, you can also use that instead of the terminal.

@JongyoonBaik
Copy link
Collaborator Author

JongyoonBaik commented Dec 8, 2016 via email

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

No branches or pull requests

2 participants