Displaying 1 result from an estimated 1 matches for "xport_file_nam".
Did you mean:
xport_file_name
2011 Aug 25
3
Creating new dataset based on variable name
...from
file name to something I can understand (e.g., from q181 to
doctor.visits.2008).
I created a vector with the new names what I was was hoping to do was
something like
for (i in 1:NROW(vector.with.names){
paste(vector.with.names[i], sep = "") <- read.xport('file_path',
xport_file_name, sep = "")
}
Each part will paste what I want (e.g, doctor.visits.2008) and the correct
file path and name, however, I get the error that R cannot find paste<-. I
also tried using noquote() but that didn't fix it, but it did create a char
vector that had the code I would need to...