NSE pre market open data. Pre market is from 09.00 hrs to 09.08 hrs (IST). The function returns a dataframe of pre open market and message with number of advances and declines.
# For Nifty 50 stocks
library(nser)
nseopen()
# For F&O stocks
library(nser)
nseopen("fo")