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")