Hanne M. Eckhoff, Laura A. Janda, and Tore Nesset. “Old Church Slavonic byti Part One: Grammatical Profiling Analysis” and “Old Church Slavonic byti Part Two: Constructional Profiling Analysis”. Forthcoming in Slavic and East European Journal.

This website provides data and R scripts for the analyses in our articles.

NOTE: If you are already a proficient R user, skip down to the next horizontal line to get the data and R scripts.

How to download R

You can download the R statistical software package to your computer from the R project webpage.

Once you have downloaded R, you will need to install the following packages: languageR and cluster. Use the Package Installer in the Menu and Get List to search for these packages.

How to download and run the files from this website

On this webpage we offer you two types of files that you can download to your computer. You can download these files by right-clicking on the links on this page. One type of files has the ".r" extension. This is indicates an "R script". The R scripts contain all the commands that R needs in order to run the statistical test. You can open the R scripts if you like and see all the commands. We provide commentary on the commands in lines that begin with the "#" symbol (R itself ignores all these lines) in order to help you follow along. The other type of file has the ".csv" extension and contains a dataset. The R scripts perform the statistical analyses on the datasets. If you want to look at the datasets, you can open them with Microsoft Excel. It is important that you download all of these files to your home directory in your computer so that R can find them. If you do not know where your home directory is, you can also copy and paste the R commands from the scripts directly into the R window (see "Alternative methods for running R scripts" below). However, you will need to tell R where to find the .csv file with the dataset, by giving it the correct path, and you will have to put this into the R code.

How to run the files from this website in R

After you have downloaded an R script, you can open the R program on your computer. At the ">" prompt, type in: source("") and put the name of the R script you want to run between the quotation marks. For example, you can enter a line that looks like this: > source("XXX.r") and when you hit the return key, R will run the R script and give you all of the results as output.

Alternative methods for running R scripts

If you simply click on the links with the R scripts, you can then copy and paste all of the code into the R window and R will run the commands and give you the same results. Another option is to download the R script to any location in your computer you want to and provide the path to the file when you use the source command. For example, you can enter a line that looks like this: > source("/Users/janedoe/Downloads/XXX.r") for Mac users or > source("C://Documents/XXX.r") for PC users. If you do not know the path, you can open your finder to where the R script is and then drag and drop that file into an open R window placing it after the cursor prompt ">". When you do this, R will tell you what the path to the file is and you can copy and paste that into the source command.

A further alternative is to use the file.choose() function in R, which will open a browser window from which you can locate the file on your computer. One way to use this function is by naming the file when choosing it. For example, one can use a command like: name = file.choose() and that will access the file that you choose and give it the name “name”.

NOTE: The data and scripts for Eckhoff & Janda 2013, the study of OCS verbs excluding byti, are available at this link.

This table lists all the verbs with their Factor 1 values, which can be helpful for interpreting the figures in “Old Church Slavonic byti Part One: Grammatical Profiling Analysis”.

“Old Church Slavonic byti Part One: Grammatical Profiling Analysis”

The Data

Our analysis uses two datasets, one that presents the forms of byti as a single paradigm, verbs.csv, and one that presents it as a pair of verbs, splitverbs.csv.

Both of these datasets will be sourced by the R script if you put them in the same directory in your computer as the R script.

The R Scripts

In order to represent the Church Slavonic orthography, you will need our transliteration script: translit.r. This script is sourced by the scripts for our analysis which present byti as either a single verb or a verb pair: PartOneSingleVerb.r and PartOneVerbPair.r . This script performs all of the steps for the analysis in our article and generates the plots.

“Old Church Slavonic byti Part Two: Constructional Profiling Analysis”

The Data

The dataset used in this analysis is frames.csv.

The R Script

The R script used in this analysis is PartTwo.r.