Some utils for Rgnuplot