0

So I have a column in a dataframe which has two kinds of values: either an image or a text saying no image. What I want to do is to assign a css class (something like .photo) to all these photos, so I can then style the images using css. I tried doing this in R by adding

{.photo}

in front of every url link, but RMD file just renders the text as a string. Any help will be appreciated!

  • Could you provide a [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example)? – SBista Nov 03 '17 at 08:59
  • How does a typical entry in the photo column look like? Is it a HTML link (``) or is it just the name of the file? How are you then printing them in your document? – Martin Schmelzer Nov 03 '17 at 16:43

0 Answers0