Sofia Sofia - 1 year ago 134
R Question

Valgrind warning: unknown option '--track-origins=yes'

I want to run

with the option
gives me the message
'Conditional jump or move depends on uninitialised value(s)'
. But when I run

R -d "valgrind --tool=memcheck --leak-check=full --num-callers=20" --vanilla --track-origins=yes

I get the warning

unknown option '--track-origins=yes'

How can I run
with this option?

Answer Source

I think you want:

R -d "valgrind --tool=memcheck --leak-check=full --num-callers=20 --track-origins=yes" --vanilla

You need to feed options of valgrind inside "", otherwise they will be seen as options to R.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download