I am trying to read a file using read.csv from a github file.
It is reading the file but it is putting all the observations into one column whereas the same file has 489 observations and 4 columns.
Example of the code :
download.file(url, destfile = "bh")
d1<-read.csv("bh", header=TRUE,sep=",",quote =""",dec = ".", fill = TRUE,comment.char = "")
 606 1
When I read this very same file from my local hard drive - it gives me the correct answer. so why is it coming differently ?
The data set actually has 489 variables and 4 columns
I am submitting a project , so I need to read the file from the github itself.