I need help. I have very big .csv files with many unnecessary columns. From the original .csv files I would like to create a new .csv file with just the columns I need.
For example: The original column heading are: Date, Time, Location, Sensor Name, Sensor Serial, Ambient Temp, IR Temp, Sensor Name.1, Sensor Serial.1, Ambient Temp.1, IR Temp.1, Sensor Name.2, Sensor Serial.2, Ambient Temp.2,..........Sensor Name.45 I would like to create a new .csv file with only Date, Time, Sensor Serial, IR Temp, Sensor Serial.1, IR Temp.1, Sensor Serial.2, IR Temp.2,.....Sensor Serial.45, IR Temp.45, etc Any help on this matter would be greatly appreciated. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.