8000 Options for Ch 5 dfm printing · codingbooks/tidy-text-mining@689550d · GitHub
[go: up one dir, main page]

Skip to content

Commit 689550d

Browse files
committed
Options for Ch 5 dfm printing
1 parent 6ab04ef commit 689550d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

05-document-term-matrices.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ data("data_corpus_inaugural", package = "quanteda")
111111
inaug_dfm <- quanteda::dfm(data_corpus_inaugural, verbose = FALSE)
112112
```
113113

114-
```{r dependson = "inaug_dfm"}
114+
```{r dependson = "inaug_dfm", R.options=list(quanteda_print_dfm_max_ndoc = 0, quanteda_print_dfm_max_nfeat = 0)}
115115
inaug_dfm
116116
```
117117

@@ -197,7 +197,7 @@ ap_td %>%
197197

198198
Similarly, we could cast the table into a `dfm` object from quanteda's dfm with `cast_dfm()`.
199199

200-
```{r chunk1}
200+
```{r chunk1, R.options=list(quanteda_print_dfm_max_ndoc = 0, quanteda_print_dfm_max_nfeat = 0)}
201201
ap_td %>%
202202
cast_dfm(document, term, count)
203203
```

0 commit comments

Comments
 (0)
0