On Fri, Jan 13, 2012 at 4:57 PM, Rui Esteves <ruimax...@gmail.com> wrote: > Hi. > I am trying to modify kmeans function. > It seems that is failing something obvious with the workspace. > I am a newbie and here is my code:
>> <environment: namespace:stats> > Error: unexpected '<' in "<" Do not include the last line <environment: namespace:stats> it is not part of the function definition. Simply leave it out and your function will be defined in the user workspace (a.k.a. global environment). HTH Peter ______________________________________________ R-help@r-project.org mailing list 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.