Skip to content

Warn users about nonstandard evaluation #4

Description

@nhejazi

Apparently, delayed appears to interact in an odd way with repeated calls to functions that generate random variates. In particular, the expression replicate(3, rnorm(100)) will produce a matrix with 3 columns, each corresponding to 100 random draws from a N(0, 1) distribution. This is not the case when one invokes delayed(replicate(3, rnorm(100)))$compute(), which returns a matrix of similar form but with each of the 3 columns being exactly the same.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions