To download historical bhavcopy just mention the date in numeric format(Date, Month, Year). Note that date should be mentioned in quotation mark “” (inverted comma).
# Example: Lets download the bhavcopy of 1 July 2021 for Derivatives (F&O).
library(nser)
= fobhav("01072021")
report #> Downloading Bhavcopy
#> Timeout was reached: [archives.nseindia.com] Operation timed out after 10015 milliseconds with 0 out of 0 bytes received
head(report)
#> NULL