You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, exists() searches the enclosing environments if the symbol
isn't found in the current environment. We don't want that. We only
want to check if it exists in the 'env' arg.
See #33.
The user probably doesn't want 'auto.assign = FALSE' (the default) if
they also set 'env' to a non-null value. Warn if they specify both
'auto.assign = FALSE' and 'env' (not null).
See #33.
Submitted by: Stewart Wright
Assigned to: Nobody
R-Forge link
getDividends
andgetSplits
should be able to updateSymbol
not in the parent environment, but they actually don't.The 'svn diff' below fixes this by creating a temporary variable which gets updated and then reinserted into the appropriate environment.
I have to use the
tmp.symbol
variable asxtsAttributes
only updates variables in theparent.frame
.Followups:
Date: 2013-09-26 05:26
Sender: Stewart Wright
Updated the patch.
Previous version did not handle case of just calling functions with a Symbol (i.e. 'F'):
getDividends('F')
. So now behavior is consistent.Note: The code above reflects Stewart's updated patch.
The text was updated successfully, but these errors were encountered: