Skip to content

Commit

Permalink
R source code documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
renegarcia committed Aug 19, 2023
1 parent 3c8d0da commit 75c3078
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion notes/code.r.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
id: 1fm4dncuybvd5vqj931b01n
title: Coding tips for the R programming language
desc: ''
updated: 1692464690591
updated: 1692472811162
created: 1692464253688
---

# Where to find help

Start here: https://rdrr.io/

# Load R script into session

To load the contents of an R script, you can use the `source()` function¹. This function reads the specified R script file and runs the code contained within it. For example, if you have an R script named `my_script.R` in your working directory, you can load its contents by running the following command in the R console: `source("my_script.R")`¹. This will execute all of the code contained within the `my_script.R` file¹.
Expand Down

0 comments on commit 75c3078

Please sign in to comment.