RSSAmplifier

Blog

Thought Splinters

Thought Splinters

notes.peter-baumgartner.netRSS feed ↗66 posts

Latest posts

Example Talk

Click on the Slides button above to view the built-in slides feature. Slides can be added in a few ways: Create slides using Wowchemy’s Slides feature and link using slides parameter in the front matter of the talk file Upload an existing slide deck to static/ and link using url_slides parameter in the front matter of the talk file Embed your slides (e.g. Google Slides) or presentation video…

Installing R & Rstudio

Installing R & RStudio Peter Baumgartner via Thought Splinters Controls Next: Right Arrow or Space Previous: Left Arrow Jump to slide with menue: Start: Home Finish: End Overview: Esc Zoom: Alt + Click , Linux: CTRL + Click Speaker notes: S Fullscreen: F Pause presentation: B or . PDF Export Add “?print-pdf” to the end of the URL Open the in-browser print dialog (CTRL/CMD+P) Save to…

Demonstrations of Slide Features

Slide Features Revealjs Demo | Documentation See also: Wowchemy & R Markdown: The Definitive Guide Features Efficiently write slides in Markdown 3-in-1: Create, Present, and Publish your slides Supports speaker notes Mobile friendly slides Controls Next: Right Arrow or Space Previous: Left Arrow Jump to slide with menue: Start: Home Finish: End Overview: Esc Zoom: Alt + Click , Linux: CTRL + Click…

Updating the Blogdown Infrastructure

Introduction After six months of interruption, I wrote the day before yesterday a new blog post. I noticed that my blogdown infrastructure was outdated during this occasion. My Hugo static site generator had version 0.82.0 (current is 0.96.0), and my Wowchemy website builder was version 5.1.0 (current is 5.4.5). Frankly speaking, updating the blogdown machinery was always a horror trip for me. The…

Introduction to R for Social Scientists (I2RSS)

Acclamations for I2RSS From my training (Ph.D. in sociology) but also from my different professorship on educational sciences, I was pleased finally to see a new R introduction especially directed at social scientists. The book title “Introduction to R for Social Scientists: A Tidy Programming Approach” (abbreviated I2RSS) was promising for me for two reasons. Authors experienced in…

repairData - My First R Package at CRAN

R Packages book as a valuable assistance I am pleased: repairData is on CRAN (The Comprehensive R Archive Network! repairData is my first package; offers only five data sets and is therefore not a brilliant feat. The real achievement for me was that I successfully completed the complex submission process for the first time. Without R Packages , the still not finished but already publicly…

Using GitHub as a Mentoring Tool

Beginner, Intermediate, and Expert Level For several years I am interested to learn R , the free software environment for statistical computing and graphics. After reading several books, finished some (paid) introductory (MOOC) courses successfully with Coursera and especially some smaller (paid) projects I would say that I am now (stuck?) on an intermediate skill level. I believe that this is the…

Using Emojis Revisited

I already reported on my learnings on the emo package in conjunction with some pull requests for interactive tutorials for the OpenIntro textbook Introduction to Modern Statistics . In the meanwhile, the book is — after some reorganization of its chapters — finished and published. I ordered the print version of the book via Amazon . On August 13th, I started working through the tutorials and…

H5P and Introduction to Modern Statistics

Three week ago I received via amazon the paperback version of Introduction to Modern Statistics via Amazon . This is one of the rare exceptions where I need — in addition to the online and/or ebook version — the print edition as well. I didn’t buy the textbook just for reading but for adding educational tools, especially to this book and generally for the overall OpenIntro…

Memento Time Travel

Research with archived web data How does the Memento API work? Where to find the desired information? Contributed Packages Packages By Name Packages By Date of Publication Which page to scrape? Contributed Packages Packages By Name Packages by Date of Publication Memento protocol in action Package installation Mementos Link Types Memento Craw List Harvesting Web Pages Tidy data Get number of…

Images in Different File Formats

I have investigated the different methods for inserting images into various file formats and conversion procedures. Image handling in .Rmd, .md and .Rmarkdown files At first I looked on the various options for handling of images in .Rmd files . Then – as a contrast program – I tested the outcomes of image handling procedures in .md files . And finally I investigated the image…

Disclaimer

Media owner Peter Baumgartner Herzogstraße 1 3500 Krems an der Donau Website Website Content: Peter Baumgartner Hosting and CMS: Acriba GmbH Photos, if no other author is provided: Peter Baumgartner Declaration about the editorial policy ‘Thought splinters’ is a personal blog by Peter Baumgartner. It focuses on news and comments about the research and teaching on Technology Enhanced…

Privacy Policy

There are several places on this website that requires you to identify yourself: Comments I am using Disqus as a commenting system. To control your data with Disqus, you can: read the general policy by Disqus concerning the GDPR Compliance read the privacy FAQ opt out from information gathering by Disqus delete or access your user data Contact The contact form is a service by formspree . They only…

Images in Rmarkdown Files

Using R chunk with knitr Using R chunks with knitr has the full features as outlined in the post Images: From R Markdown to HTML format . Example Figure 1: Caption for this figure 1 Code in R Chunk ``` {r img-with-knitr, echo=FALSE, fig.align='center', out.width='100%', fig.cap='Caption for this figure 1'} knitr::include_graphics("images/my-image.png") ``` Code in HTML ``` <div class="figure"…

Images in .md Files

Markdown via Addins &lsquo;Insert Image&rsquo; Using the RStudio Addin window without the width or height parameter it just generate markdown code. Is the width or height parameter included then HTML is generated but without div.figure and p.caption class. There is no caption visible and the CSS styling has to be done with <img> tag. Example You can&rsquo;t use the Addins &lsquo;Insert…

Images: From R Markdown to HTML format

Introduction Using r chunk with knitr Example Code in R Chunk Code in HTML CSS Summary Markdown via Addins ‘Insert Image’ Example Code in markdown Code in HTML CSS Summary Visual R Markdown via Menu ‘Insert …’ Example Code in markdown Code in HTML CSS Summary Hugo figure shortcut Example Code in HTML chunk CSS Summary Results and Conclusion Introduction This article is the first of a series of…

Using Emojis in R and R Markdown

Recently I worked on some pull requests for interactive tutorials for the OpenIntro textbook Introduction to Modern Statistics. There I came across the package emo . Its purpose is: “Easily insert emoji into and RMarkdown”. I was surprised that there is a special package. I didn’t think that including emojis wouldn’t be a problem – at least on the macOS. I only have to open the window for emojis…

Python basics

Build a foundation in Python. 1-2 hours per week, for 8 weeks Learn Quiz What is the difference between lists and tuples? Lists Lists are mutable - they can be changed Slower than tuples Syntax: a_list = [1, 2.0, 'Hello world'] Tuples Tuples are immutable - they can&rsquo;t be changed Tuples are faster than lists Syntax: a_tuple = (1, 2.0, 'Hello world') Is Python case-sensitive? Yes

Visualization

Learn how to visualize data with Plotly. 1-2 hours per week, for 8 weeks Learn Quiz When is a heatmap useful? Lorem ipsum dolor sit amet, consectetur adipiscing elit. Write Plotly code to render a bar chart import plotly.express as px data_canada = px.data.gapminder().query("country == 'Canada'") fig = px.bar(data_canada, x='year', y='pop') fig.show()

Statistics

Introduction to statistics for data science. 1-2 hours per week, for 8 weeks Learn The general form of the normal probability density function is: $$ f(x) = \frac{1}{\sigma \sqrt{2\pi} } e^{-\frac{1}{2}\left(\frac{x-\mu}{\sigma}\right)^2} $$ The parameter $\mu$ is the mean or expectation of the distribution. $\sigma$ is its standard deviation. The variance of the distribution is $\sigma^{2}$. Quiz…

How to Register with a Hosting Service to Buy Space for your Server

With this article, I begin a new series of step-by-step instructions focused on installing and working with open source tools on your own server space. I&rsquo;ve learned some of these procedures participating as an audience member in a sequence of German web talks by Guido Brombrach , organized by OERcamp . Step 1: Go to the URL of your hosting service Step 1: Go to the URL of Uberspace and…

Educational Tools and Learning Theory

This article suggests a procedure to categorize the enormous amount of educational tools in the market. My approach uses a framework of three well-grounded learning theories: Instruction, Cognition, and Construction based on presentation modes (one-way teaching), dialog settings (two-way education), and collaborative scenarios (learning by mastering complex situations). As a proof of concept, I…

DORA and Wakelet: Two Badges!

Wakelet Community Badge Last week &ndash; just before Christmas &ndash; I received two badges: DORA (San Francisco Declaration on Research Assessment) sent me a newsletter about their advances for fostering Open Science in 2019. On this occasion, DORA also issued badges for individuals and organizations that have signed the declaration. The other badge came from Wakelet . As I had applied to be…

Wakelet - Share Visually-Engaging Stories

What is a Wakelet? Several months ago, I came across Wakelet . My first impression was that it is another social bookmarker because you can &ldquo;bookmark anything you find online in two clicks.&rdquo; But after some days working with it, I noticed it is more than that. The reason for my changed awareness of Wakelet is its feature to create stories. Arranging bookmarks into…

Announcing the R package coinsR

Update 2021-05-21: Because of some breaking changes in the Hugo site structure and management in the last three years, coinsR works at the moment only with individual pages. This blog entry announces the R program coinsR to produce bibliographic metadata automatically for websites within the Hugo framework. The dominant use case at the moment is with the blogdown package. In a previous blog entry…

Advantages of URL shortener

Citing and visiting web addresses with long URLs is sometimes complicated. Long URLs are particularly a hardness when there are no clickable links but only long strings printed on paper. This article suggests URL shortener to avoid the hurdle mentioned above. What is a URL Shortener? 1 At first, we need to clarify what an &ldquo;URL&rdquo; is. &ldquo;URL&rdquo; stands for &ldquo;Uniform Resource…

Archiving Quoted Web Resources

Quoting web resources is a hassle for several reasons: Web pages are not available anymore. Web pages have moved to another URL. Web pages change their content so that the cited reference is not correct anymore. Humanities, where detailed content analysis of websites is a popular research method. Referring to exact quotes is a question of reproducibility and therefore crucial in science generally.…

Wayback Machine Tutorial

How to use Wayback Machine (Slides) Use the controls on the right bottom of the screen. Watch out: sometimes there is not only left & right, but also top & down. Press ALT key ( CTRL in Linux) and click on any element to zoom towards it. Click again to zoom back out. For an overview about the slide structure press ESC . To end the presentation go back with the browser. 1. Wayback Machine Start…

Open Citations - TOS

Introduction This is the second post of a series of ten contributions about a better understanding of the different aspects of Open Science. In this post, I will outline the rationale and significance behind the Open Citation movement, to collect material for the development of a taxonomy of Open Science (TOS). The following graphics summarizes my proposal for the first level of a taxonomy of Open…

Toward a Taxonomy of Open Science (TOS)

This post starts a series of ten contributions about a better understanding of the different aspects of Open Science. I want to collect material to develop a taxonomy of Open Science (TOS). The primary goal of this undertaking is not only to build a hierarchical system where every notion is unambiguous but to develop a heuristic tool useful for further research. The many faces of Open Science With…

Bibliographic Metadata for your web page

With Web 2.0 , we see a radical change in scholarly communication. On the one hand, there is a growing need for researchers to be present on different web channels (blog, twitter, youtube, and much more). On the other hand, the more traditional ways of publications in high ranked peer review channels are still prevalent. It is difficult for researchers to meet this twofold challenge at the same…

How to produce bibliographic metadata for your web page?

In an accompanying post I explain why to provide bibliographic metadata for your web entries could be beneficial. Requirements In this tutorial, I will show how to produce and embed bibliographic metadata into your web page. To follow this guide, I assume that: you have installed the standalone version of Zotero . you have installed the appropriate Zotero connector (plugin) for your browser. you…

Data Science Education with coursera

Beginning in December 2016, I initiated a new personal enterprise: Learning the statistical programming language R to acquire competencies of a data scientist. With “learning enterprise,” I do not mean to get just interested in a new subject, to read from time to time a relevant book and to look into some web-based tutorials. No, with “enterprise” I mean a much more significant undertaking, namely…

RStudio Snippets for Markdown

Tutorial for RStudio code snippets Code snippets are text macros which you can insert into your programs. They are used for repetitive tasks and can boost your productivity tremendously. Here I am not going to explain how to use it. There are already several good tutorials around: The official RStudio tutorial on code snippets A Blog entry by Jake Daniels : How RStudio Snippets Improve My…

What is Open Science About?

The double meaning of &lsquo;Open Science&rsquo; To understand the challenges Open Science poses to civil society, scientists and the public alike have to focus on the double meaning of this term. On the one hand, it refers to a movement to make scientific knowledge publicly accessible for everybody, and on the other hand, it strives for open procedures in the knowledge creation itself. This…

Grammarly: A Case Study

In another post , I reported on my general experiences with Grammarly . I commented on different use cases, mainly with text pieces from my blog writing. By contrast, this post here focuses on a case study with a literary text piece from a novel. I have taken the first 5,000 characters of a still unpublished German novel from a friend of mine. For an informed assessment, I am not just going to…

Grammarly improves your writing

My story with Grammarly This article reports on my experiences with the premium version of Grammarly, an AI-powered web service for grammar and spell checking. As this is going to be a very positive review, I feel the obligation to publicly disclose that I am not in any way affiliated with Grammarly Inc., the enterprise behind this product. It was almost exactly one year ago in June 2018 when I…

Physik Libre: A bookdown project

The article is an interview with Michael Rundel. Michael is a teacher at a grammar school in Vienna/Austria and teaches physics, computer science, and media design. He talks about his experiences with bookdown in writing Physik Libre ( https://physikbuch.schule/ ), a new textbook on physics. His project is a practical implementation of cross-media publishing with bookdown , which I had described…

Comments in Markdown

In reworking this docdock-theme, I wanted to document the reasons for my changes and how I have done it. But I didn&rsquo;t know how to write comments in markdown. Yes, one could use a normal HTML-comment, but you still can see the comment in the source code. <!-- This is a comment inside a code chunk, so that you can see it on the page. Multiline comments are allowed as well --> Look at the…

Blog writing barriers to overcome

Another year has elapsed since I wrote my last blog entry. At first, I thought the problem is only my English. But in the meanwhile, I see several other reasons why I do not blog for the new static website(s). I will elaborate later on the following thoughts. At the moment, I want to list the possible reasons for my blogging abstinence: I am still not comfortable with the new community I want to…

An example preprint / working paper

Create your slides in Markdown - click the Slides button to check out the example. Supplementary notes can be added here, including code, math, and images .

Slides

Create slides in Markdown with Wowchemy Wowchemy | Documentation Features Efficiently write slides in Markdown 3-in-1: Create, Present, and Publish your slides Supports speaker notes Mobile friendly slides Controls Next: Right Arrow or Space Previous: Left Arrow Start: Home Finish: End Overview: Esc Speaker notes: S Fullscreen: F Zoom: Alt + Click PDF Export : E Code Highlighting Inline code:…

ORCID - Researchers uniquely identified and connected

Do you know ORCID ? I applied for my ORCID-ID already several years ago, but only yesterday I understood the advantage of yet another web presence: ORCID is a non-profit organization and aims to identify researchers uniquely and to connect their contributions and affiliations across disciplines, borders, and time. With this post, I tell you some advantages of ORCID to convince you to join. What is…

Xaringan presentations with blogdown

How to integrate Xaringan in blogdown? I am following in this short post the detailed description by Tim Mastny in his blog entry Embed Slides in Your Blog . Please read his article — especially the second half of it, where he is explaining the installation procedure . Refer to an external slideshow knitr::include_url('https://timmastny.rbind.io/slides/first_presentation') Refer to an internal…

Using themes with blogdown: Lesson learned

Report from an Odyssean Journey After a long interruption &hellip; After almost one year of interruption, I started re-using blogdown again. But instead of writing new content, I had to struggle once again using the sophisticated machinery of Hugo and my academic-theme . With painful experiences, I learned that one has to be cautious with updates to prevent breaking changes. In this post, I will…

LaTeX installieren (Deutsch)

LaTeX installieren Bedienung dieser Diashow Steuerungselemente: Pfeile rechts unten und Menü unten links Folienstruktur-Überblick: ESC-Taste Zoomen: ALT + (STRG für LINUX) KLICK in das Objekt. Noch ein Klick: Herauszoomen. Beenden: Mit dem Browser zurück gehen (nicht mit Pfeil rechts unten) Voraussetzungen Bevor wir komfortabel mit R arbeiten können, müssen wir einige Programme installieren Die…

RStudio installieren (Deutsch)

Installation von RStudio Bedienung dieser Diashow Steuerungselemente: Pfeile rechts unten Achtung: Manchmal gibt es außer vor und zurück auch hinauf und hinunter Folienstruktur-Überblick: ESC-Taste Zoomen: ALT + (STRG für LINUX) KLICK in das Objekt. Noch ein Klick: Herauszoomen. Beenden: Mit dem Browser zurück gehen Voraussetzungen Bevor wir komfortabel mit R arbeiten können, müssen wir einige…

R installieren (Deutsch)

R installieren Bedienung dieser Präsentation Steuerungselemente: Pfeile rechts unten Achtung: Manchmal gibt es außer vor und zurück auch hinauf und hinunter Folienstruktur-Überblick: ESC-Taste Beenden: Mit dem Browser zurück gehen Voraussetzungen Bevor wir komfortabel mit R arbeiten können, müssen wir einige Programme installieren Die aktuelle Version von R Die aktuelle Version der…

What is obvious, and for whom?

In the last few weeks, I tried to work with bookdown , an R package developed by Yihui Xie. This program is/was for me much harder to understand, unlike blogdown by the same author. In blogdown, I could even – after some initial problems – write a tutorial which even the developer applauded 😅. But with bookdown, it was different: Not only that I misunderstood some program functions but more…

Disqus installation again

A short personal note on my tutorial on Disqus installation: I have used for my screenshots, not this docdock but the hugo-academic theme. I have changed from docdock to hugo-academic and now (2017-05-31) I am back at docdock again. I will explain the reason for this twofold change in one of my next blog post. I am also planning to update text and screenshots to the new blogdown versions. Update:…