Mark, Edward and Chris - you are the best! I am a newbie at both R and lavaan, and so I appreciate you clarifying things for me.
The syntax statements that worked on my Mac laptop were:
gssdata <- read.table (“/Users/gjh2293/Downloads/Text-Files-for-R/gss2014_names.txt”, header=T)
gssdata <- read.table (“~/Downloads/Text-Files-for-R/gss2014_names.txt”, header=T)
getwd()
gave me the exact location plus I appreciated learning about
file.choose ()
Yes, this is more of an R question, so I am all the more grateful to you for answering on the lavaan site.
Again, many thanks!
Lois
cannot open file 'MacintoshHD/Users/gjh2293/Downloads/Text-Files-for-R/gss2014_names.txt': No such file or directory
Many thanks in advance!