In a Julia notebook I would like to add an interactive quiz, with closed questions and possibly feedbacks (similar to the Moodle quiz activity).
Is there any option for it?
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
1) Descriptive statistics summary tables
I want to build my descriptive statistics summary tables on RStudio with the options to export and use these tables with LaTeX and Editors (Word, Excel, PowerPoint, LibreOffice).
2) Layout options
Moreover I would be great to have many layout options.
3) (Medical) journals
Furthermore is there the option to convert the tables with "one command" into the design of different (medical) journals?
I know I have a big request, but with my google search I can't solve the problem for many days. The first two are the most important issue for me right now, but I also hope that number three is also possible.
Thank you for your efforts and your helpful advices.
A quick answer:
1) & 2) You should take a look at knitr, kableExtra, rmarkdown and Hmisc R packages. officer can also do the job for MS office export.
3) If your papers and written in LaTeX, you should be able to use the LaTeX class provided by your journal, and not be worried by the final appearance of your tables.
As far as I know (I'm not really a rmarkdown or knitr user, and not at all and Rstudio user), Org-mode for Emacs allows more control on the final output and richer interactions with LaTeX.
This question already has answers here:
%>% key binding / keyboard shortcut in Rstudio
(5 answers)
Closed 5 years ago.
It's great in RStudio to have already a key short-cut for <-, which is ALT+-.
Wouldn't it be also great to have also a short-cut for %>%, which is possibly the second most frequent key sequence (after <-) that R programmers type?
Or maybe there is already one?
If you want to solve this in rstudio you can create an addin and reference a custom shortcut to your addin. Here is the reference page which will guide you through the process: https://rstudio.github.io/rstudioaddins/
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I'm new to R and I'm wondering if R has something similar to SAS program where it can store the codes? I need to run the analysis on my data set (update monthly) every month. In SAS, I can just run the program and it will give me the results. I'd like to know if R has something similar to that? Thank you so much!
[Update] Thanks for the answers. R script is what I'm looking for!
Are you just talking about running an R script?? If you have a text file called codefile.R containing R code, then from within an interactive R session source("codefile.R") will run it. Or you can use R CMD BATCH codefile.R from a command line/shell/terminal.
update: Dirk Eddelbuettel points out that Rscript or the littler package are recommended over R CMD BATCH ...
Yes. Just like you can create SAS programs in the enhanced editor, you can create R scripts in R. This process is even easier, in my opinion, when you write your R scripts using the tools that come with R Studio.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
As mentioned in question is there something like iPython's notebook (jupyter) for R-CRAN?
Have a look at Ramnath's R notebook:
http://www.youtube.com/embed/3niqZhc_Nbo
And here's the GitHub: https://github.com/ramnathv/rNotebook
EDIT (1/6/15)
I think the new editR package is what you're after
https://github.com/swarm-lab/editR
Not sure it would be an exact equivalent of iPython's notebooks, but you can use knitr to make literacy programming in R, by inserting code chunks inside a document. If you use a format like RMarkdown, you can export the document and the result of the code chunks to HTML. You can then publish the HTML file somewhere, or use sites like Rpubs. This process is quite straightforward if you use the RStudio IDE.
Another way, if you are an Emacs user, is to use org-mode and its extension org-babel.
Finally, you should be able to create more dynamic things with a framework like shiny. See for example the following knitr demo from the shiny library :
R> library(shiny)
R> demo("notebook", package = "knitr")
Would this be what you are looking for? http://www.rstudio.com/ide/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I just searched on google and r-project.org but couldn't find anything.
Is there a package in R for statistical relational learning?
Link to wikipedia:
http://en.wikipedia.org/wiki/Statistical_relational_learning
Yes, there are quite a few actually.
On CRAN, look at the gRaphical Models Task View.
Under each header is a listing of R Packages subsumed under that subject header--the first being Representation, manipulation and display of graphs.
Scroll down this page to the last three section headers:
Miscellaneous: Model search, specialized types of models etc.,
Bayesian Networks/Probabilistic expert systems; and
BUGS models, just below it.
Under these three headers are a total of 16 R Packages (seven, three and six packages, respectively). Within these nine, you should have no trouble finding a couple most suited for your project.
The only one I have personally used is bnlearn, a Package for Bayesian network structure learning. This is not my field, so I recall that the Package documentation (Manual and Vignette) are excellent and include working code examples.
Finally, for visualizing these models, I recommend highly the R bindings to the excellent Graphviz Library; the R bindings are gathered in the R Package, RGraphviz. RGraphviz is not available on CRAN but rather on Bioconductor; it depends on GraphViz.
Not yet, actually. Doug's answer is inherently misleading. If someone's looking for non-R implementation of the requested models, I may provide this link.