Displaying 12 results from an estimated 12 matches for "akshai".
Did you mean:
akshar
2023 Jan 09
3
return value of {....}
...,
AKSHAY M KULKARNI
________________________________
From: Valentin Petzel <valentin at petzel.at>
Sent: Monday, January 9, 2023 9:18 PM
To: akshay kulkarni <akshay_e4 at hotmail.com>
Cc: R help Mailing list <r-help at r-project.org>
Subject: Re: [R] return value of {....}
Hello Akshai,
I think you are confusing {...} with local({...}). This one will evaluate the expression in a separate environment, returning the last expression.
{...} simply evaluates multiple expressions as one and returns the result of the last line, but it still evaluates each expression.
Assignment retur...
2023 Jan 12
4
return value of {....}
...-------
> *From:* Valentin Petzel <valentin at petzel.at>
> *Sent:* Monday, January 9, 2023 9:18 PM
> *To:* akshay kulkarni <akshay_e4 at hotmail.com>
> *Cc:* R help Mailing list <r-help at r-project.org>
> *Subject:* Re: [R] return value of {....}
> ?
> Hello Akshai,
>
> I think you are confusing {...} with local({...}). This one will evaluate the expression in a separate environment, returning the last expression.
>
> {...} simply evaluates multiple expressions as one and returns the result of the last line, but it still evaluates each expressio...
2023 Jan 09
1
return value of {....}
...___________________
> From: Valentin Petzel <valentin at petzel.at>
> Sent: Monday, January 9, 2023 9:18 PM
> To: akshay kulkarni <akshay_e4 at hotmail.com>
> Cc: R help Mailing list <r-help at r-project.org>
> Subject: Re: [R] return value of {....}
>
> Hello Akshai,
>
> I think you are confusing {...} with local({...}). This one will evaluate
> the expression in a separate environment, returning the last expression.
>
> {...} simply evaluates multiple expressions as one and returns the result
> of the last line, but it still evaluates each e...
2023 Jan 13
1
return value of {....}
...n Petzel <valentin at petzel.at>
> > *Sent:* Monday, January 9, 2023 9:18 PM
> > *To:* akshay kulkarni <akshay_e4 at hotmail.com>
> > *Cc:* R help Mailing list <r-help at r-project.org>
> > *Subject:* Re: [R] return value of {....}
> >
> > Hello Akshai,
> >
> > I think you are confusing {...} with local({...}). This one will
> evaluate the expression in a separate environment, returning the last
> expression.
> >
> > {...} simply evaluates multiple expressions as one and returns the
> result of the last line, but...
2023 Jan 09
1
return value of {....}
...,
AKSHAY M KULKARNI
________________________________
From: Valentin Petzel <valentin at petzel.at>
Sent: Monday, January 9, 2023 9:18 PM
To: akshay kulkarni <akshay_e4 at hotmail.com>
Cc: R help Mailing list <r-help at r-project.org>
Subject: Re: [R] return value of {....}
Hello Akshai,
I think you are confusing {...} with local({...}). This one will evaluate
the expression in a separate environment, returning the last expression.
{...} simply evaluates multiple expressions as one and returns the result of
the last line, but it still evaluates each expression.
Assignment retur...
2023 Jan 09
5
return value of {....}
Dear members,
I have the following code:
> TB <- {x <- 3;y <- 5}
> TB
[1] 5
It is consistent with the documentation: For {, the result of the last expression evaluated. This has the visibility of the last evaluation.
But both x AND y are created, but the "return value" is y. How can this be advantageous for solving practical problems?
2023 Jan 15
3
return value of {....}
...n Petzel <valentin at petzel.at>
> > *Sent:* Monday, January 9, 2023 9:18 PM
> > *To:* akshay kulkarni <akshay_e4 at hotmail.com>
> > *Cc:* R help Mailing list <r-help at r-project.org>
> > *Subject:* Re: [R] return value of {....}
> >
> > Hello Akshai,
> >
> > I think you are confusing {...} with local({...}). This one will
> evaluate the expression in a separate environment, returning the last
> expression.
> >
> > {...} simply evaluates multiple expressions as one and returns the
> result of the last line, but...
2023 Jan 10
1
return value of {....}
...,
AKSHAY M KULKARNI
________________________________
From: Valentin Petzel <valentin at petzel.at>
Sent: Monday, January 9, 2023 9:18 PM
To: akshay kulkarni <akshay_e4 at hotmail.com>
Cc: R help Mailing list <r-help at r-project.org>
Subject: Re: [R] return value of {....}
Hello Akshai,
I think you are confusing {...} with local({...}). This one will evaluate
the expression in a separate environment, returning the last expression.
{...} simply evaluates multiple expressions as one and returns the result of
the last line, but it still evaluates each expression.
Assignment retur...
2023 Jan 10
1
return value of {....}
...in at petzel.at> >
Sent: Monday, January 9, 2023 9:18 PM
To: akshay kulkarni <akshay_e4 at hotmail.com <mailto:akshay_e4 at hotmail.com> >
Cc: R help Mailing list <r-help at r-project.org <mailto:r-help at r-project.org>
>
Subject: Re: [R] return value of {....}
Hello Akshai,
I think you are confusing {...} with local({...}). This one will evaluate
the expression in a separate environment, returning the last expression.
{...} simply evaluates multiple expressions as one and returns the result of
the last line, but it still evaluates each expression.
Assignment retur...
2023 Jan 16
1
return value of {....}
...n Petzel <valentin at petzel.at>
> > *Sent:* Monday, January 9, 2023 9:18 PM
> > *To:* akshay kulkarni <akshay_e4 at hotmail.com>
> > *Cc:* R help Mailing list <r-help at r-project.org>
> > *Subject:* Re: [R] return value of {....}
> >
> > Hello Akshai,
> >
> > I think you are confusing {...} with local({...}). This one will
> evaluate the expression in a separate environment, returning the last
> expression.
> >
> > {...} simply evaluates multiple expressions as one and returns the
> result of the last line, but...
2023 Jan 16
2
return value of {....}
...n Petzel <valentin at petzel.at>
> > *Sent:* Monday, January 9, 2023 9:18 PM
> > *To:* akshay kulkarni <akshay_e4 at hotmail.com>
> > *Cc:* R help Mailing list <r-help at r-project.org>
> > *Subject:* Re: [R] return value of {....}
> >
> > Hello Akshai,
> >
> > I think you are confusing {...} with local({...}). This one will
> evaluate the expression in a separate environment, returning the last
> expression.
> >
> > {...} simply evaluates multiple expressions as one and returns the
> result of the last line, but...
2023 Jan 16
1
return value of {....}
...n Petzel <valentin at petzel.at>
> > *Sent:* Monday, January 9, 2023 9:18 PM
> > *To:* akshay kulkarni <akshay_e4 at hotmail.com>
> > *Cc:* R help Mailing list <r-help at r-project.org>
> > *Subject:* Re: [R] return value of {....}
> >
> > Hello Akshai,
> >
> > I think you are confusing {...} with local({...}). This one will
> evaluate the expression in a separate environment, returning the last
> expression.
> >
> > {...} simply evaluates multiple expressions as one and returns the
> result of the last line, but...