Andrej Blejec http://ablejec.nib.si 2014-08-20T13:23:49+00:00 ablejec@nib.si VOX conferences - few hints http://ablejec.github.io/myblog/2014/08/VOX-guide/ 2014-08-20T00:00:00+00:00 Andrej Blejec http://ablejec.github.io/myblog/2014/08/VOX-guide This is a reminder and instruction file to use VOX conferences on ARNES servers.

Login

VOX service is provided on ARNES servers and is available at https://vox.arnes.si. While new conferences can be set only by registered users, any nonregistered user can join the conference as a guest (gost). More instructions are available here.

AAI login

Registered users are entering the system through so called AAI (Authentication and Authorization Infrastructure) login. Select NIB as a provider and use your desktop username (with added @nib.si) and password to enter. By default the pages are using Slovenian language but you can switch to English using Eng button on the upper right corner ofthe page.

Setting up a new meeting

Main conferences webpage is quite straightforward to navigate. Use New meeting button. Fill the required fields and select Only registered users and accepted guests may enter the room. (default) if you want to enable non-registered users to enter as guests. When people will try to enter your conference they will be given a chance to select Guest (gost) or registered.

Change pod names

Default naming of pods is in Slovenian. To translate the pod naming for current session :( select the menu Pods and then submenu Manage Pods.... Then you can rename the pods, but unfortunately just for the current session.

Sound and video

To check the sound settings (speaker/microphone) select menu Meeting / Audio Setup Wizard ... and follow instructions.

Possible problems with the microphone (other participants can't hear you) can be related to possible blocks in your Firewall settings - consult your IT Administrator for help.

Enabling camera or microphone

To use the camera or microphone they have to be enabled. Camera and microphone are by default enabled for the Host and Presenter. For other Participants the Host can selectively enable camera or microphone by clicking on the Participants name and selecting the enable action.

If camera or microphone are enabled, you will notice the camera and microphone icons on the top of the window. Use them to Start/Stop the camera or toggle Mute the microphone on/off.

]]>
Primer uporabe knitr http://ablejec.github.io/myblog/2014/04/Poskus-knitr/ 2014-04-13T00:00:00+00:00 Andrej Blejec http://ablejec.github.io/myblog/2014/04/Poskus-knitr Primer uporabe knitr

Author: A. Blejec

This is Just a test :)

Abstract

Poskusna datoteka za uporabo Sweave: povezava \R\ in \LaTeX.

Racunanje

Poskus racunanja

require(knitr)
render_jekyll()
opts_chunk$set(fig.path = ".", concordance = TRUE, tidy = TRUE)
opts_chunk$get()$results
## [1] "markup"
2 + 2
## [1] 4

Risanje

Malo risanja:

hist(rnorm(100), col = "lightblue")  # slika

plot of chunk unnamed-chunk-3

Uporaba vrednosti v besedilu

Primerjava dveh porazdelitev (\R\ ukazi so skriti)

## 
##  Welch Two Sample t-test
## 
## data:  x and y
## t = 3.14, df = 57.79, p-value = 0.00266
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##   2.738 12.366
## sample estimates:
## mean of x mean of y 
##     97.04     89.48

Vrednosti iz \R\ objektov lahko uporabimo v besedilu. Na primer:\ Verjetnost $p=0.003$.

Tabele

Za pripravo tabel z \LaTeX\ je prirocno namestiti paket \texttt{Hmisc}

Zakljucek

Sweave je zakon!

]]>
BibTeX author filed converter http://ablejec.github.io/myblog/2014/04/bibtex-author-field/ 2014-04-06T00:00:00+00:00 Andrej Blejec http://ablejec.github.io/myblog/2014/04/bibtex-author-field I am organizing my BibTeX files with Jabref. For Jabref the proper syntax for the author field for multiple authors is Last1, First1 and Last2, First2 (and delimited). Often the list of authors is composed as First1 Last1, First2 Last2 (comma delimited).

The code below helps to change 'comma' delimted list of authors into 'and' delimited list of authors:

fl2lf <- function(x){
    if(missing(x)) x <- read.table(file="clipboard",sep="??")
    x1=strsplit(x," *, *")[[1]]
    x2=sapply(x1,function(x) gsub("^(.*) (.*)$","\\2, \\1",x))
    x3=paste(x2,collapse=" and ")
    return(x3)
}
x <- "Tim Horton, Tom Orton , Tam   Hortan,Tem Horten"
fl2lf(x)
# [1] "Horton, Tim and Orton, Tom and Hortan, Tam   and Horten, Tem"

The function is quite forgiving to the number of spaces around commas.

]]>
Tag and categories clouds on right http://ablejec.github.io/myblog/2014/02/tag-cloud-on-right/ 2014-02-02T00:00:00+00:00 Andrej Blejec http://ablejec.github.io/myblog/2014/02/tag-cloud-on-right I was missing the tag and category cloud in the blog layout I started to use. With a little help I managed to set the tag and categorues clouds that are nicely sitting on the right hand side of the page. The clouds are fixed and will not disappear if one scrolls down along the list of posts.

Good sources to learn how to are on w3 schools. Specific useful hint I used: Fixed floating aside on the right.

]]>
Tag cloud on Jekyll page http://ablejec.github.io/myblog/2014/01/Tag-cloud-on-Jekyll-page/ 2014-01-31T00:00:00+00:00 Andrej Blejec http://ablejec.github.io/myblog/2014/01/Tag-cloud-on-Jekyll-page The cloud tag can be useful for searching and grouping the posts. The cloud tag was added using instructions written by Tobias Sjösten post Jekyll tag cloud.

]]>
Tidy up your R code http://ablejec.github.io/myblog/2014/01/tidy-up-your-r-code/ 2014-01-12T00:00:00+00:00 Andrej Blejec http://ablejec.github.io/myblog/2014/01/tidy-up-your-r-code Years ago I wrote a WinEdt script to tidy up a R source. I was not happy with loss of comments in the R obvious solutions at that time. This is a reminder for a Jihui Xie blog post about this question. Here is, what he is using:

tidy.source = function(file = choose.files()) {
   exprs = parse(file)
   for (i in 1:length(exprs)) {
       dep = paste(deparse(exprs[i]), collapse = "\n")
       dep = substring(dep, 12, nchar(dep) - 1)
       cat(dep, "\n")
   }
}
]]>
Setting the blog http://ablejec.github.io/myblog/2014/01/github-blog-set/ 2014-01-12T00:00:00+00:00 Andrej Blejec http://ablejec.github.io/myblog/2014/01/github-blog-set After some twisting I set up a blog on GitHub. It is Jekyll based.

Setup is shamefully stolen (and modified) from Jihui Xie blog

I hope it will work for me.

]]>
Poskusni dokument http://ablejec.github.io/myblog/2014/01/Poskus/ 2014-01-06T00:00:00+00:00 Andrej Blejec http://ablejec.github.io/myblog/2014/01/Poskus S sistemom Markdown lahko pripravimo t.i. Markdown dokument.

2 * 3

Rezultat

## [1] 6

Lahko vklju�imo tudi slike

x <- rnorm(100)
hist(x, col = "lightblue")

To je zaenkrat vse.

]]>
Welcome to Jekyll! http://ablejec.github.io/myblog/2013/12/welcome-to-jekyll/ 2013-12-26T23:43:38+00:00 Andrej Blejec http://ablejec.github.io/myblog/2013/12/welcome-to-jekyll You'll find this post in your _posts directory - edit this post and re-build (or run with the -w switch) to see your changes! To add new posts, simply add a file in the _posts directory that follows the convention: YYYY-MM-DD-name-of-post.ext.

Jekyll also offers powerful support for code snippets:

def print_hi(name)
  puts "Hi, #{name}"
end
print_hi('Tom')
#=> prints 'Hi, Tom' to STDOUT.

Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll's GitHub repo.

]]>