In R, I\'d like to retrieve a list of global variables at the end of my script and iterate over them. Here is my code
#declare a few sample variables a<-1
lapply(your_dataframe, class) gives you something like:
$tikr [1] "factor"
$Date [1] "Date"
$Open [1] "numeric"
$High [1] "numeric"
... etc.