Answers for "Rnw looping latex command"

0

Rnw looping latex command

The secret is to use paste inside a cat function. Example:

```
<<echo=F, cache=T,cache.rebuild=T, results='asis'>>=

for(i in c(1:100) {

    cat(paste("ok\\\\\\")

}

@

```
Posted by: Guest on August-12-2021

Browse Popular Code Answers by Language