Simple scripts in my quest to learn more about R