R-Studio Error: could not find function "view"


#1

I am working in R-Studio. I am trying to make a data frame and then run the “view” command. But it is not working. Can someone suggest the fix?

Code:

a1<-c(1,2,3,4,5)
a2<-c(10,20,30,40,50)
tabl<-data.frame(a1,a2)
tabl
view(tabl)

Error i am getting:
view(tabl) Error: could not find function “view”


#2

try View(x, title)

(note R is case sensitive)

https://stat.ethz.ch/R-manual/R-devel/library/utils/html/View.html


#3

Thanks :smile:
Just started learning R.