This repository was archived by the owner on Dec 12, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup process and add Project file
- Loading branch information
1 parent
c9a3419
commit 8c7505f
Showing
6 changed files
with
512 additions
and
43 deletions.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,4 @@ | ||
| .ipynb_checkpoints/ | ||
| .Rproj.user | ||
| .Rhistory | ||
| .RData |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| --- | ||
| title: "Setup" | ||
| 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 | ||
| --- | ||
| ``` | ||
|
|
||
| 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. | ||
|
|
||
| # Test | ||
|
|
||
| Top/bottom | ||
| ```{r} | ||
| 1+2 | ||
| 3+4 | ||
| print('Hello World') | ||
| ``` |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| Version: 1.0 | ||
|
|
||
| RestoreWorkspace: Default | ||
| SaveWorkspace: Default | ||
| AlwaysSaveHistory: Default | ||
|
|
||
| EnableCodeIndexing: Yes | ||
| UseSpacesForTab: Yes | ||
| NumSpacesForTab: 2 | ||
| Encoding: UTF-8 | ||
|
|
||
| RnwWeave: Sweave | ||
| LaTeX: pdfLaTeX |