Displaying 5 results from an estimated 5 matches for "pendents".
Did you mean:
pendants
2016 Oct 21
3
anonymous function parsing bug?
...x)
> f2 <- function(x) { log } (x)
> should act differently?
yes. Or more precisely: I would expect that. "Should" implies, that I
want to change something. I just want to understand the behavior (or
file a bug, if this would have been one).
As I wrote, in e.g. node.js the pendents to the lines that you wrote are
treated differently (the first is a function, the latter is a parsing
error).
Let's use this example instead:
x <- 20
f1 <- function(x) { x<-x+1; log(x) }
f2 <- function(x) { x<-x+1; log } (x)
which act equally.
But as the latter is a legal sta...
2016 Oct 21
0
anonymous function parsing bug?
...log } (x)
>> should act differently?
>>
> yes. Or more precisely: I would expect that. "Should" implies, that I want
> to change something. I just want to understand the behavior (or file a bug,
> if this would have been one).
>
> As I wrote, in e.g. node.js the pendents to the lines that you wrote are
> treated differently (the first is a function, the latter is a parsing
> error).
>
> Let's use this example instead:
> x <- 20
> f1 <- function(x) { x<-x+1; log(x) }
> f2 <- function(x) { x<-x+1; log } (x)
> which act equal...
2011 Feb 26
0
Help: Error en model.frame.defaul
Hi and thanks to all R developers and helpers,
I wanrt to take the 1 and 3 dimensions of this object to create a new one without the years and with the next functions to do some specific calculations:
> str(PMpa)
num [1:499105, 1:60, 1:12] 29.8 55.8 29.7 25.1 25 ...
- attr(*, "dimnames")=List of 3
..$ punt: NULL
..$ any : chr [1:60] "1950" "1951"
2001 Feb 09
0
4 CENTS PER MINUTE LONG DISTANCE every call all day everyday.../.,,,,,,,,,.,,,., 8136 [1/2]
4 CENTS A MINUTE LONG DISTANCE ANYTIME
State to State and Intrastate
24 Hours a day 7 Days a week
NO SWITCHING LONG DISTANCE COMPANIES
NO MONTHLY FEE
10 minute minimum per call
4 CENTS A MINUTE ANY TIME
JUST DIAL 10-15-335
1+(AREA CODE)+NUMBER
At the prompt , enter this activation code 218995
(on first call only) to get this incredible rate
4 CENTS A MINUTE ANY TIME
Only 40 Cents for all
2016 Oct 21
3
anonymous function parsing bug?
Hi,
thx for the reply. Unfortunately that is not a simplified version of the
problem. You have a function, call it and get the result (numeric in,
numeric out in that case). For simplicity lets use the "return" case:
##
foobar<-function(x) { return(sqrt(x)) }(2)
##
which is a function (numeric in, numeric out) which is defined, then
gets called and the return value is a function