File: PhysVirt.Rd

package info (click to toggle)
r-cran-bit 4.0.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 996 kB
  • sloc: ansic: 5,083; makefile: 6
file content (73 lines) | stat: -rw-r--r-- 1,601 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/bit.R, R/generics.R
\name{physical.default}
\alias{physical.default}
\alias{physical<-.default}
\alias{virtual.default}
\alias{virtual<-.default}
\alias{print.physical}
\alias{print.virtual}
\alias{PhysVirt}
\alias{physical}
\alias{physical<-}
\alias{virtual}
\alias{virtual<-}
\title{Physical and virtual attributes}
\usage{
\method{physical}{default}(x)

\method{physical}{default}(x) <- value

\method{virtual}{default}(x)

\method{virtual}{default}(x) <- value

\method{print}{physical}(x, ...)

\method{print}{virtual}(x, ...)

physical(x)

physical(x) <- value

virtual(x)

virtual(x) <- value
}
\arguments{
\item{x}{a ff or ram object}

\item{value}{a list with named elements}

\item{\dots}{further arguments}
}
\value{
\command{physical} and \command{virtual} returns a list with named
elements
}
\description{
Compatibility functions (to package ff) for getting and setting physical and
virtual attributes.
}
\details{
ff objects have physical and virtual attributes, which have different
copying semantics: physical attributes are shared between copies of ff
objects while virtual attributes might differ between copies.
\code{\link[ff:as.ff]{as.ram}} will retain some physical and virtual atrributes in
the ram clone, such that \code{\link[ff]{as.ff}} can restore an ff object
with the same attributes.
}
\examples{

  physical(bit(12))
  virtual(bit(12))
}
\seealso{
\code{\link[ff]{physical.ff}}, \code{\link[ff]{physical.ffdf}}
}
\author{
Jens Oehlschlägel
}
\keyword{IO}
\keyword{attribute}
\keyword{data}