0

I have an org-babel code block like so:

#+BEGIN_SRC R :var a=~/path/to/project

Do something here

#+END_SRC

How can I reference variable a without having to evaluate the block?

2
  • 2
    Variable a is defined only within the block, so you cannot reference it outside the block or without evaluating it. I'm not really sure what you want to do though: maybe expand the question a bit?
    – NickD
    Apr 24 '20 at 13:39
  • This might help to give you some ideas, although it is almost certainly not what you are asking.
    – NickD
    Apr 25 '20 at 19:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.