Project

General

Profile

Actions

Bug #4268

open

RExpression output ports search entire search path for objects to export

Added by Oliver Soong over 15 years ago. Updated over 15 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
07/27/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4268

Description

This is debatable, but currently the RExpression actor will search the entire search path for an object to export to an output port. For example, if I create an output port "data", but do not assign it a value, the RExpression actor will export the function data from the utils package. An alternative would be to limit exports to variables in the global environment (.GlobalEnv). That would basically mean changing the export commands (file, serialize, close) in an if(exists("data", .GlobalEnv, inherits = FALSE)) statement.

Actions

Also available in: Atom PDF