designdailies
designdailies

Reputation: 1

Error in summary(deviceprefs) : object 'deviceprefs' not found

I am taking a class and working on a homework assignment, however, I am pretty stuck already in the very beginning, unable to execute any commands except read the file. The .R file and .csv file are in the same directory, project. I am new to R and so far haven't figured out what I am doing wrong, I would appreciate advice on how to move forward. I also got some warning messages when I first loaded R, please see the end of this post. Thank you in advance!

RStudio Version 1.1.419 Mac OS 10.12.6

deviceperfs = read.csv ("deviceprefs.csv")
View(deviceprefs)
deviceprefs$Subject = factor(deviceprefs$Subject)  # convert to nominal factor
summary(deviceprefs)

During startup - Warning messages:

1: Setting LC_CTYPE failed, using "C" 2: Setting LC_COLLATE failed, using "C" 3: Setting LC_TIME failed, using "C" 4: Setting LC_MESSAGES failed, using "C" 5: Setting LC_MONETARY failed, using "C"

Upvotes: 0

Views: 174

Answers (1)

designdailies
designdailies

Reputation: 1

Ended up reinstalling everything, and it all works now.

Upvotes: 0

Related Questions