[R] Help to solve an Error
John Kane
jrkrideau at inbox.com
Thu Jun 4 13:37:05 CEST 2015
It seems to be some kind of "translation" error from R (or the text editior) to HMTL. That > does not work.
Try
grecent <- subset(gtemp, Year >= 1995,
select = c(Year, Annual))
John Kane
Kingston ON Canada
> -----Original Message-----
> From: jacksonmrodrigues at gmail.com
> Sent: Thu, 4 Jun 2015 12:20:58 +0200
> To: r-help at r-project.org
> Subject: [R] Help to solve an Error
>
> 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 at 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.
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
More information about the R-help
mailing list