Re: [R] Help with unexpected symbol errors

2010-09-07 Thread Jim Lemon
On 09/07/2010 06:42 AM, Amit Patel wrote: Hi I have got a long script which will not run for me as i keep getting errors : source("clusterfixV1_4.r") Error in source("clusterfixV1_4.r") : clusterfixV1_4.r: unexpected symbol at 158: eck[k,2]<- as.numeric(1) 159: #ClusterInfo[

Re: [R] Help with unexpected symbol errors

2010-09-06 Thread jim holtman
We would need to at least see 10 lines either side of the error to understand its context. Also take a look with you editor (hex editor would be handy) to see if there is some unprintable character around it. Can you isolate just that portion of the code? Try putting it inside a function to see

[R] Help with unexpected symbol errors

2010-09-06 Thread Amit Patel
Hi I have got a long script which will not run for me as i keep getting errors : > source("clusterfixV1_4.r") Error in source("clusterfixV1_4.r") : clusterfixV1_4.r: unexpected symbol at 158: eck[k,2] <- as.numeric(1) 159: #ClusterInfo[k,2] <- "Clustered I have sorted all the