diff --git a/Notes.Rmd b/Notes.md similarity index 98% rename from Notes.Rmd rename to Notes.md index 867791b..80fcc97 100644 --- a/Notes.Rmd +++ b/Notes.md @@ -1,8 +1,3 @@ ---- -output: html_document -editor_options: - chunk_output_type: console ---- # Show Notes ## Setup Repository in Gitea diff --git a/prep/RStudio.Rmd b/prep/RStudio.Rmd deleted file mode 100644 index 5af2eaa..0000000 --- a/prep/RStudio.Rmd +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: "Instructor Notes" -output: html_document -editor_options: - chunk_output_type: console ---- - -# Setup - -Update Tools with "Tools -> Update" (do not pin) - takes a long time - don't do in class. - -Use a "R Markdown" document (`output: html_document` in prolog). - -To have the output display in the console (not inline) set in the config for the Rmd file set "chunk output in console". - -To view Rmd rendered (click Knit to html) in separate windows select settings for the Rmd file (wheel) and select "Preview in Window" - -Prolog should look like this: -``` ---- -title: "Setup" -output: html_document -editor_options: - chunk_output_type: console ---- -``` - -Project should use a "R Project". Load by clicking on the `.RProj` file. - - -## Git - -Setup Git - -```{bash eval=FALSE} -git config color.ui auto -git config pull.ff only -git config push.default simple - -#git config user.name "First Last" -#git config user.email "first_last@example.edu" -``` - -## Notes - - * R Notebooks seem fragile and Caching output seems dangerous. Use "Chunk Output Inline" for a more Notebook experence or use Juypter! - * R Markdown is a bit different (lists for example) than other markdown. - * With Rmd files I am a fan of using the console (chunk output in console) and use cmd-enter to run each line (opt-enter for not advancing cursor) for development. - * You can auto-install packages in a Rmd file. Need to figure out proper pedegody for this. - -# Test - -Top/bottom -```{r} -1+2 -3+4 -print('Hello World') -```