Learn R Programming

parallelize.dynamic (version 0.9-1)

readFile: Read content of file and return as character object.

Description

Read content of file and return as character object.

Usage

readFile(path, prefixes = NULL, normalize = T, ssh = F)

Arguments

path
Path to the file to be read.
prefixes
Search for file by prepending character strings from prefixes.
normalize
Standardize pathes.
ssh
Allow pathes to remote files in scp notation.

Details

Read content of file and return as character object.

Examples

Run this code
  parallel8 = function(e) log(1:e) %*% log(1:e);
  cat(readFile(tempcodefile(parallel8)));

Run the code above in your browser using DataLab