Description Usage Arguments Value Examples
Post your Rmd file to Tistory
1 2 3 4 5 6 7 8 9 | post2Tistory(
fileName,
my_blogName,
token,
modify = NULL,
tag = NULL,
encoding = getOption("encoding"),
...
)
|
fileName |
the .Rmd file name you want to post to your blog |
my_blogName |
your blogName xxx from blog address "http://xxx.tistory.com" |
token |
the token you have obtained from the url generated from token_url_maker function |
modify |
default value is NULL. When modify set to NULL it means your Rmd will be posted as a new post If you want to modify the existing post, feed the number of the post to the modify variable. |
tag |
the tag of your Rmd file. you can use multiple tags using "tagA, tagB, tagC" |
encoding |
switch encoding. defalut option follows system default |
... |
you can use className = "language-r" option in knitr4blog function |
posted blog on your blog
1 2 3 4 5 6 | # fileName should not have blank space
# Assume your file name is "test.Rmd"
# Assume your blog address is "http://issactoast.tistory.com"
my_token <- "your obtained token here"
# post2Tistory("test.Rmd", "issactoast", my_token)
# post2Tistory("test.Rmd", "issactoast", my_token, modify = 42)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.