knitr::opts_chunk$set(message=FALSE, warning=FALSE)
library(GEOquery)
library(Biobase)
OMPATH <- Sys.getenv("OMPATH") # this could be defined in .Renviron or .Rprofile. See Introduction

Section 1

Subsection 1.1

## cache=TRUE can be used with chunks where heavy computation is
## performed, so that if you need to 'recompile' the cached results of
## that chunk will be reused. However, not sure how 'smart' Rstudio is
## at detecting whether "upstream changes" have occurred.

## Setting a variable to show its reference outside a chunk
N <- 20

If you want to reference a variable outside a code chunk, you can use the inline construct. E.g., the variabel N has value r N.



montilab/BS831 documentation built on April 17, 2024, 4:51 p.m.