Learn R Programming

OpenRepGrid (version 0.1.9)

importScivescoInternal: Internal parser for sci:vesco files (suffix scires).

Description

Internal parser for sci:vesco files (suffix scires).

Usage

importScivescoInternal(file, dir = NULL)

Arguments

file
filename including path if file is not in current working directory. File can also be a complete URL. The fileformat is .dat.
dir
alternative way to supply the directory where the file is located (default NULL).

Value

a list with extracted parameters.

References

http://www.elementsandconstructs.de/

Examples

Run this code
## Not run: 
# 
# # supposing that the data file scivesco.scires is in the current directory
# file <- "scivesco.scires"
# imp <- importScivescoInternal(file)
# 
# # specifying a directory (arbitrary example directory)
# dir <- "/Users/markheckmann/data"
# imp <- importScivescoInternal(file, dir)
# 
# # using a full path
# imp <- importScivescoInternal("/Users/markheckmann/data/scivesco.scires")
# 
# # load Sci:Vesco data from URL
# imp <- importScivescoInternal("http://www.openrepgrid.uni-bremen.de/data/scivesco.scires")
# ## End(Not run)

Run the code above in your browser using DataLab