write.csv(dfNiftyFIIDIIEq ,file=file.path(outputDir, filename),row.names = FALSE) Next steps, add more indices in this list and try to figure out any co-relation. and many other topics.. Want to share your content on R-bloggers?click hereif you have a blog, orhereif you don't....