syncing to Yu Yin's computer

attempt 3, plus some minor changes to R to get ready for the
presentation