File Caption
1 data_scientist.jpg These are fighting words.
2 ml_over_time.jpg A rose is a rose is a rose...
3 4-3.jpg See no evil.
4 one_does_not.jpg Regression learning.
5 perfect_date.jpg YYYY-MM-DD is best.
6 useR.jpg This is a useR caption!
The %in% operator will test if the file name string is present. We can see that the caption file names are all in the file list.
We can use match() to find the index locations. Doing so we see that things are not in order. In captions.txt, there is a caption for each file, but the order is different than file_list.
This isn’t perfect because if there is a file without a caption it will not show. Need to figure out how to put a blank string into any image that lacks a caption.
See no evil.These are fighting words.A rose is a rose is a rose…Regression learning.YYYY-MM-DD is best.This is a useR caption!
Citation
BibTeX citation:
@online{craig2024,
author = {Craig, Nathan},
title = {Gallery from {Listing}},
date = {2024-03-22},
url = {https://ncraig.netlify.app/posts/2024-03-22-gallery-from-listing/index.html},
langid = {en}
}