This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
household_power_consumption <- read.csv("D:/Tallal/Dropbox/Thesis/Material for R/working directory/household_power_consumption.txt", sep=";") | |
hpc <- read.table(file = "household_power_consumption.txt", sep = ";", skip = 66637, nrows = 2880) | |
hpc$V1<-as.Date(as.character(hpc$V1),"%d/%m/%Y") | |
hpc$V2<-strptime(hpc$V2,"%T") | |
rm (household_power_consumption) | |
# installs the package reshape since all the vaiable had been reassigned names | |
#such as v1, v2, V3,etc | |
#install.packages("reshape") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
household_power_consumption <- read.csv("D:/Tallal/Dropbox/Thesis/Material for R/working directory/household_power_consumption.txt", sep=";") | |
hpc <- read.table(file = "household_power_consumption.txt", sep = ";", skip = 66637, nrows = 2880) | |
hpc$V1<-as.Date(as.character(hpc$V1),"%d/%m/%Y") | |
hpc$V2<-strptime(hpc$V2,"%T") | |
rm (household_power_consumption) | |
# installs the package reshape since all the vaiable had been reassigned names | |
#such as v1, v2, V3,etc | |
#install.packages("reshape") |