This issue of Rstudio IDE has been reported for a while but has not been fixed.

test.mat <- matrix(data=runif(2000000,0,1),nrow=20000,ncol=100)

View(test.mat)

1.0153

1.2.687