| add.slash | R Documentation | 
If the argument does not end with a forward slash, add one.
  add.slash(path)
| path | Character string containing a file path. | 
Returns a character string with a forward slash added to the end, if the argument did not end with a forward slash already.
Daniel Gatti
  add.slash("/dir")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.