General ⇒ Accessing LaTeX counters within R Code
Accessing LaTeX counters within R Code
I'm looking to access a LaTeX counter within an R chunk. This chunk is within a forloop, with the counter increasing by one after each iteration. Is there any way to do this, or does anyone know of a workaround?
Thanks!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Accessing LaTeX counters within R Code
welcome to the forum!
I don't know how R should be able to do it. But perhaps it could be done within LaTeX itself? Perhaps show (with code) what you would like to achieve.
Stefan