Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Using macval with r-objects

From   Niklas Kaunitz <>
Subject   st: Using macval with r-objects
Date   Thu, 13 Dec 2012 12:30:51 +0100

Hi everybody,
I have a question about how to apply macval() on saved results in r(...) locals.

I have a program that returns r(string) that can contains characters like ` and $. How can I copy this to another macro without internal macro substitution? The obvious guess `macval(r(string))' does not work...

Niklas Kaunitz

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index