Listing files in a zip archive is done with unzip function from the utils package (which is included in base R).
unzip(zipfile = "bar.zip", list = TRUE)
This will list all files in "bar.zip" and extract none. Tilde expansion is done automatically from your working directory. Alternatively, you can pass the whole path name to the zipfile.