1

I need to use a few images, instead for vertices shapes, for plotting graphs with the use of igraph. The above are part of a function which is part of an R package. For the packaging I use roxygen. I have already stored my datasets as recommended in the data directory, however I haven't managed so far to find out the proper place to store images that are used in functions in the package.

The closest answer that I managed to find so far, is Which is the correct folder to store images used in vignettes for R packages ? which is not my case.

Thank you!

1 Answers1

1

The inst/ directory.

References:

wibeasley
  • 5,000
  • 3
  • 34
  • 62
  • Thank you! It was what I was looking for and in combination with how to read the file https://stackoverflow.com/questions/13463103/inst-and-extdata-folders-in-r-packaging I had the whole set of answers that I needed to proceed. – Xanthippe Lemontzoglou Mar 16 '18 at 16:17