ggplot を使用した 1 つの可能性を次に示します。
## Creating your dataset
Name <-c("xy","yz","zx","vx","vt")
marks1 <- c(10,20,30,20,10)
marks2 <- c(30,40,40,20,20)
## Combine the data into a data frame
data <- data.frame(Name,marks1,marks2)
## Loading libraries
library(ggplot2)
library(reshape2)
## Reshape the data from wide format to long format
redata <- melt(data,id="Name")
redata
## plot your data
ggplot(redata,aes(x=Name,y=value))+geom_point(aes(color=variable))+ylab("Marks")
出力は次のとおりです。

ファイル読み取り用に更新
上記のデータを含むファイルがある場合は、次のコマンドを使用してデータを読み取ることができます。ファイルの拡張子は *.csv で、カンマで区切られていると想定しています。
data <- read.table("mydata.csv",header=T,sep=",")
または、csv ファイルに次のコードを直接使用します。
data <- read.csv("mydata.csv")
その後、上記の回答のライブラリ部分に移動できます。