{"action":"created","issue":{"url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Raster/issues/20","labels_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Raster/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Raster/issues/20/comments","events_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Raster/issues/20/events","html_url":"https://github.com/data-lessons/NEON-R-Spatial-Raster/issues/20","id":115183136,"number":20,"title":"Lesson 01 (plotting) questions","user":{"login":"KristinaRiemer","id":6686508,"avatar_url":"https://avatars.githubusercontent.com/u/6686508?v=3","gravatar_id":"","url":"https://api.github.com/users/KristinaRiemer","html_url":"https://github.com/KristinaRiemer","followers_url":"https://api.github.com/users/KristinaRiemer/followers","following_url":"https://api.github.com/users/KristinaRiemer/following{/other_user}","gists_url":"https://api.github.com/users/KristinaRiemer/gists{/gist_id}","starred_url":"https://api.github.com/users/KristinaRiemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KristinaRiemer/subscriptions","organizations_url":"https://api.github.com/users/KristinaRiemer/orgs","repos_url":"https://api.github.com/users/KristinaRiemer/repos","events_url":"https://api.github.com/users/KristinaRiemer/events{/privacy}","received_events_url":"https://api.github.com/users/KristinaRiemer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-05T00:38:46Z","updated_at":"2015-11-05T14:51:43Z","closed_at":null,"body":"So first, when I made a pull request, it said there are merge conflicts and I have no idea how to deal with that. \r\n\r\nSecond, what is the difference between plot() and image(), and do we need to introduce image here? \r\n\r\nThird, is there anything else that needs to be included in this lesson? I can't think of anything that is basic that might be useful. "},"comment":{"url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Raster/issues/comments/154082156","html_url":"https://github.com/data-lessons/NEON-R-Spatial-Raster/issues/20#issuecomment-154082156","issue_url":"https://api.github.com/repos/data-lessons/NEON-R-Spatial-Raster/issues/20","id":154082156,"user":{"login":"jhollist","id":5438539,"avatar_url":"https://avatars.githubusercontent.com/u/5438539?v=3","gravatar_id":"","url":"https://api.github.com/users/jhollist","html_url":"https://github.com/jhollist","followers_url":"https://api.github.com/users/jhollist/followers","following_url":"https://api.github.com/users/jhollist/following{/other_user}","gists_url":"https://api.github.com/users/jhollist/gists{/gist_id}","starred_url":"https://api.github.com/users/jhollist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhollist/subscriptions","organizations_url":"https://api.github.com/users/jhollist/orgs","repos_url":"https://api.github.com/users/jhollist/repos","events_url":"https://api.github.com/users/jhollist/events{/privacy}","received_events_url":"https://api.github.com/users/jhollist/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T14:51:43Z","updated_at":"2015-11-05T14:51:43Z","body":"@KristinaRiemer I think it is OK to mention this but more as an abstract concept, as we don't want to get into the details of OOP in R.  I wouldn't be able to help too much with that anyway, as I don't know a whole lot.  Plus from what I hear it is a bit of a mess.  \r\n\r\nI think you can say something about many functions (including  plot) often have specific implementations written for specific packages.  As long as you have the package loaded into the current session R will know which version of `plot` to use.  Perhaps we could show the error that occurs if you try to plot a `raster` object without having `raster` loaded up.  Something like\r\n\r\n```\r\nrast_obj<-raster::raster(\"file.tif\")\r\nplot(rast_obj)\r\n```\r\n\r\nshould do the trick and will return the \"cannot coerce type 'S4' to vector of type 'double'\" error.  If they know about that it should hopefully server as reminder to `library(raster)`.\r\n\r\n\r\n\r\n\r\n"}}