The best way to learn R programming is by practicing examples. The page
contains examples on various concepts of R. You are advised to look into these examples and try them on your own.
All the programs on this page are tested and should work on all platforms.