Hi@akhtar,
A simple line chart is created using the input vector and the type parameter as "O". The below script will create and save a line chart in the current R working directory.
v <- c(7,12,28,3,41)
png(file = "line_chart.jpg")
plot(v,type = "o")
![](https://www.edureka.co/community/?qa=blob&qa_blobid=4015310116200736884)