We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802a4c2 commit 3334bd8Copy full SHA for 3334bd8
R.md
@@ -11,6 +11,7 @@
11
- [Simple neural networks](#simple-neural-networks)
12
- [Measure time](#measure-time)
13
- [Install TeX](#install-tex)
14
+ - [Clean the R environment, console and history](#clean-the-r-environment-console-and-history)
15
16
## General
17
@@ -84,3 +85,14 @@ proc.time() - ptm
84
85
```R
86
tinytex::install_tinytex(force = T)
87
```
88
+
89
+## Clean the R environment, console and history
90
91
+```R
92
+# Cleanup the backend in RStudio:
93
+cat("\014") # Clears the console (imitates CTR + L)
94
+rm(list = ls()) # Clears the Global Environment/variables/data
95
+invisible(gc()) # Garbage collector/Clear unused RAM
96
+# Start coding now:
97
+print("Hello world! =)")
98
+```
workspace.code-workspace renamed to Snippets.code-workspace
0 commit comments