GeneralAccessing LaTeX counters within R Code

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
blukomski
Posts: 1
Joined: Tue Jul 20, 2021 7:26 pm

Accessing LaTeX counters within R Code

Post by blukomski »

Hello!

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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Accessing LaTeX counters within R Code

Post by Stefan Kottwitz »

Hi,

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
LaTeX.org admin
Post Reply