Skip to content

Commit

Permalink
increase allowed expressions in R for LDA #48
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichl committed Apr 11, 2024
1 parent 6c06eb5 commit 2de4ad6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions workflow/scripts/lda.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ library("scales")
# source("workflow/scripts/utils.R")
snakemake@source("./utils.R")

# set expressions option to maximum to avoid "Error: protect(): protection stack overflow"
# from here: https://stackoverflow.com/questions/32826906/how-to-solve-protection-stack-overflow-issue-in-r-studio
options(expressions = 5e5)

# inputs
mixscape_object_path <- snakemake@input[["mixscape_object"]]

Expand Down

0 comments on commit 2de4ad6

Please sign in to comment.