[R] something weird has happened....!!!!!!!!!!

MacQueen, Don macqueen1 at llnl.gov
Fri Dec 15 17:52:48 CET 2017

You could try this and see what you get:

  unique(  yguii(ZEEL.NS, "o") - yguii(ZEEL.NS, "o")  )

or maybe

  table(  yguii(ZEEL.NS, "o") - yguii(ZEEL.NS, "o")  )

You showed two sets of output from the expression
   yguii(ZEEL.NS, "o")

Were they done one right after the other? Or could ZEEL.NS have changed in between?

The function could be using a variable that's only defined in the global environment (presumably by mistake, but it's an easy mistake to make), and its value changed in between function calls.

Reinstalling R would be a waste of time.


Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
Lab cell 925-724-7509

On 12/15/17, 4:45 AM, "R-help on behalf of akshay kulkarni" <r-help-bounces at r-project.org on behalf of akshay_e4 at hotmail.com> wrote:

    dear Members,
    Today something weird has happened on my R console. I have attached two screenshots of the same vector in my R console but they differ.
    Also one of my function returns negative values, even after double checking the code, which should return only positive values..
    Whats wrong..? Reinstall R?
    Thanks for help....

More information about the R-help mailing list