The dangers of HTML: > should be > a greater than symbol. grecent <- subset(gtemp, subset = Year >= 1995,select = c(Year, Annual))
I've copied Gavin so he can decide whether to fix it. Sarah On Thursday, June 4, 2015, Jackson Rodrigues <jacksonmrodrig...@gmail.com> wrote: > Hi, > > > > I want to apply the codes of Gavin Simpson from > > http://www.fromthebottomoftheheap.net/2011/06/11/global-warming-since-1995-now-significant/ > on my own data to detect trends in a subset. However, when I run: > > > grecent <- subset(gtemp, subset = Year >= 1995,select = c(Year, > Annual)) > > I get error: > > Error: unexpected ';' in "grecent <- subset(gtemp, subset = Year >" > > I've tried to replace ";" with several things, but it does not work at all. > > Could anyone help me to solve this "problem"? > > Best Regards, > > Jackson Rodrigues > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org <javascript:;> mailing list -- To UNSUBSCRIBE and > more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Sarah Goslee http://www.stringpage.com http://www.sarahgoslee.com http://www.functionaldiversity.org [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.