On 07/02/2015 12:40 PM, Henrik Bengtsson wrote:
Would it be possible to have the value of eval() preserve the
visibility of the value of the expression?
PROBLEM:
# Invisible
x - 1
# Visible
eval(x - 2)
[1] 2
TROUBLESHOOTING:
withVisible(x - 1)
$value
[1] 1
$visible
[1]
Would it be possible to have the value of eval() preserve the
visibility of the value of the expression?
PROBLEM:
# Invisible
x - 1
# Visible
eval(x - 2)
[1] 2
TROUBLESHOOTING:
withVisible(x - 1)
$value
[1] 1
$visible
[1] FALSE
withVisible(eval(x - 2))
$value
[1] 2
$visible
[1] TRUE