Member-only story
Visualising Stock Prices with R Studio
R is a programming language and a free software environment for statistical computing and graphics supported by the R Foundation for Statistical Computing. Statisticians and Data Miners mostly use it for Data Analysis purposes.
For my learning with R, I would be using R studio’s open-source software.
R studio open-source download. (Free)
Once installed, libraries and packages can be further installed based on the types of analysis you are planning to do. In this example, I would be sourcing and displaying financial data using the Quantmod package.
The first step before we begin includes installing the packages required. We can do so by typing in the following command:
install.packages(‘quantmod’)
Single and double quotation marks do not matter, but ‘q’ has to be lowercase.
install.packages(“quantmod”) works just as well.
Control + Enter to execute the installation on Windows, as I’ve previously installed the package, I’m being prompted by the updating loaded package. Click ok and continue, If you’re installing it for the first time…