Re: [R] Object not Found Error on a .csv file

2014-01-16 Thread Sarah Goslee
Hi Valerie, Assuming GfullUA is a column of your data frame task2analyses, you need to tell R where to look. It's trying to find an object called GfullUA, and there isn't one. Here are two ways: with(task2analyses, cor(GfullUA, GFullUA)) cor(task2analyses$GfullUA, task2analyses$GFullUA) You mig

[R] Object not Found Error on a .csv file

2014-01-16 Thread Valerie Shalin
Hello: I am a new user, running the latest version of R on my Mac. I have started by reading a file with the read.csv command: task2analyses <- read.csv(file="GroupsWithRTsEqualN.csv",head=TRUE,sep=",") When I print it out in R, the file appears to be intact, with the proper headers. Yet, whe