I am running R code in ipynb of the Google Colab notebook. However, there is RParsingError for the code. But, if I replace 0200.KL with AAPL, it works well.
%load_ext rpy2.ipython
%%R
library(quantmod)
library(xts)
library(PerformanceAnalytics)
library(rugarch)
getSymbols(Symbols="0200.KL",src="yahoo",from="2020-1-1",to="2021-1-1")
0200.KL
However, the error shows as below:
RParsingError: Parsing status not OK - PARSING_STATUS.PARSE_ERROR
Any ways to solve it?
SOLVED, below is the code.