Skip to content

Commit

Permalink
relative links
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Arel-Bundock committed Jul 17, 2012
1 parent df00e9f commit 381d0cb
Show file tree
Hide file tree
Showing 2 changed files with 1,554 additions and 1,554 deletions.
2 changes: 1 addition & 1 deletion Rdatasets.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ for (i in 1:nrow(index)) {
# Make data_index.html
make_link = function(dataset, folder){
ext = ifelse(folder=='doc', '.html', '.csv')
link = paste('https://vincentarelbundock.github.com/Rdatasets/', dataset, ext, sep='')
link = paste(folder, '/', dataset, ext, sep='')
out = paste("<a href=", link, ">", folder, "</a>", sep='')
return(out)
}
Expand Down
Loading

0 comments on commit 381d0cb

Please sign in to comment.