fix bug in dimple examples.R