Displaying 3 results from an estimated 3 matches for "sieira".
Did you mean:
vieira
2013 May 20
3
as.vector with mode="list" and POSIXct
...n(retval)
}
listPOSIXct <- function(x) {
? retval = list()
? for (i in 1:length(x)) retval[[i]] = x[i]
? return(retval)
}
Is there a better way to do this (other than using *apply instead of for above) that better leverages vectorization? Am I missing something here?
Thanks!
--?
Alexandre Sieira
CISA, CISSP, ISO 27001 Lead Auditor
"The truth is rarely pure and never simple."
Oscar Wilde, The Importance of Being Earnest, 1895, Act I
2013 Mar 09
1
Unexpected behavior looping through sequence of dates
...class(range[i]))
[1] "Date"
[1] "Date"
>
> for (i in seq(from=d1, to=d2, by="day")) print(class(i))
[1] "numeric"
[1] "numeric"
This is output from R version 2.15.2 (2012-10-26) on Mac OS X 10.8.2.
Is this expected behavior?
--
Alexandre Sieira
CISA, CISSP, ISO 27001 Lead Auditor
"The truth is rarely pure and never simple."
Oscar Wilde, The Importance of Being Earnest, 1895, Act I
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
2011 Dec 05
1
Re: Executing bat file in Wine from bash shell
This thread seems to be very old, most of the bat files should be runnable using
Code:
wine cmd < path/to/your/file.bat
.