Gorjanc Gregor <gregor.gorj...@bfro.uni-lj.si> writes:
> In this way there would be no problems for R, but this creates another
> problem with paths for produced figures. Do you see any other solution
> along these lines?

After looking desperately for an equivalent of PATH in R, my idea was to
define a variable, like
  documentpath="path/to/doc/"
and use that in the code if I need it.

A more general solution could be to set an environment variable (for any
converter) LYX_DOCUMENT_PATH before launching the converter. This means
that R code (and other code) would be able to read it.

Does it look good?

JMarc

Reply via email to