Learn R Programming

this.path (version 2.5.0)

this.path-defunct: Defunct Functions in Package 'this.path'

Description

The functions or variables listed here are no longer part of this.path as they are no longer needed.

Usage

# Defunct in 1.1.0
this.path2(...)
this.dir2(...)
this.dir3(...)
normalized.shFILE(default, else.)

# Defunct in 1.3.0 as.rel.path(path) as.relative.path(path)

# Defunct in 1.4.0 local.path(verbose = getOption("verbose"), original = FALSE, for.msg = FALSE, contents = FALSE, default, else.)

# Defunct in 2.0.0 reset.this.proj() set.this.path.jupyter(...) inside.source(file, path.only = FALSE, character.only = path.only, file.only = path.only, conv2utf8 = FALSE, allow.blank.string = FALSE, allow.clipboard = !file.only, allow.stdin = !file.only, allow.url = !file.only, allow.file.uri = !path.only, allow.unz = !path.only, allow.pipe = !file.only, allow.terminal = !file.only, allow.textConnection = !file.only, allow.rawConnection = !file.only, allow.sockconn = !file.only, allow.servsockconn = !file.only, allow.customConnection = !file.only, ignore.all = FALSE, ignore.blank.string = ignore.all, ignore.clipboard = ignore.all, ignore.stdin = ignore.all, ignore.url = ignore.all, ignore.file.uri = ignore.all, Function = NULL, ofile) set.this.path(file, path.only = FALSE, character.only = path.only, file.only = path.only, conv2utf8 = FALSE, allow.blank.string = FALSE, allow.clipboard = !file.only, allow.stdin = !file.only, allow.url = !file.only, allow.file.uri = !path.only, allow.unz = !path.only, allow.pipe = !file.only, allow.terminal = !file.only, allow.textConnection = !file.only, allow.rawConnection = !file.only, allow.sockconn = !file.only, allow.servsockconn = !file.only, allow.customConnection = !file.only, ignore.all = FALSE, ignore.blank.string = ignore.all, ignore.clipboard = ignore.all, ignore.stdin = ignore.all, ignore.url = ignore.all, ignore.file.uri = ignore.all, Function = NULL, ofile) unset.this.path()

# Defunct in 2.4.0 set.sys.path.jupyter(...) fileArgs()

Arguments

Details

this.path2(), this.dir2(), and this.dir3() were used before this.path() and this.dir() were given an argument default. Should be replaced by this.path(default = NULL), this.dir(default = NULL), and this.dir(default = getwd()), respectively.

normalized.shFILE() was used before shFILE() was given an argument original. Should be replaced by shFILE().

as.rel.path() and as.relative.path() were poorly chosen names given their functionality. Should be replaced by rel2here().

local.path() was used when it called a different C function than this.path(). Should be replaced by this.path(local = TRUE).

reset.this.proj() was used when this.proj() was the only project related function. Now that src.proj(), env.proj(), and sys.proj() exist, the function was renamed to reset.proj().

In this.path 2.0.0, the original implementation of this.path() was renamed to sys.path(), so set.this.path.jupyter(), set.this.path(), and unset.this.path() were accordingly renamed to set.jupyter.path(), set.sys.path(), and unset.sys.path(). Since set.this.path() was already being made defunct, inside.source() was also made defunct.

set.sys.path.jupyter() was renamed to set.jupyter.path().

fileArgs() should be replaced by progArgs().

See Also