I have a folder with some images (in .png and .jpg). My goal is to upload them all to imgur.com and get back the links or ids from each one.
I tried to install both packages imguR
and imgur_upload
but failled to install them.
Is there any quick workouround?
You can do this with knitr. This will upload an image and return your URL:
setwd("yourWD")
install.packages(knitr)
install.packages("RCurl")
install.packages("XML")
knitr::imgur_upload("fish2.jpg", key = "Yourimguraccountkey")