Need help for understanding colClasses in read.csv instruction

r

#1

need the explanation for colClasses parameter in read.csv instruction.
thanks in advance.


#2

Syed,

Have you attempted to search for this on other forums, or on google search?
If you have not, I encourage you to do so. When you find it, please share it in this forum. That way, you will never forgot it.


#3

Hi @syed.danish

colClasses are used for faster loading of data in read.csv or read.table command.It also helps in saving steps to specify classes for each variable later.

For more information, you can visit

  1. Using colClasses to Load Data More Quickly in R

  2. colClasses in R (stack overflow)