Objects

I enjoy object oriented programming. How I can turn something into an object then do things with it, apply methods and other useful things with out explicitly typing long line of code like FORTRAN.
The other day I made a coding mistake in R.
example Take a data frame called dogfood and turn it into an object.
dog <- data(dogfood)

The correct way is:
dog <- data.frame(dogfood)

Upside down Bonnie to remind me not to forget part of the code

IMG_7645_edited-1