Displaying 7 results from an estimated 7 matches for "partdf".
2018 Jan 26
2
utils::install.packages with quiet=TRUE fails for source packages on Windows
...with
base::system2() here:
https://github.com/wch/r-source/blob/tags/R-3-4-3/src/library/utils/R/packages2.R#L660-L661.
> trace(base::system2, quote(print(ls.str())))
Tracing function "system2" in package "base"
[1] "system2"
> utils::install.packages("partDF_1.0.0.9001.tar.gz", repos = NULL, lib
= tempdir(), quiet = TRUE)
Tracing system2(cmd0, args, env = env, stdout = output, stderr = output)
on entry
args : chr [1:5] "CMD" "INSTALL" "-l"
"\"C:\\Users\\askers\\AppData\\Local\\Temp\\RtmpoRb97l\"&quo...
2018 Jan 26
1
utils::install.packages with quiet=TRUE fails for source packages on Windows
...tps://github.com/wch/r-source/blob/tags/R-3-4-3/src/library/utils/R/packages2.R#L660-L661.
>>> trace(base::system2, quote(print(ls.str())))
>> Tracing function "system2" in package "base"
>> [1] "system2"
>>> utils::install.packages("partDF_1.0.0.9001.tar.gz", repos = NULL, lib
>> = tempdir(), quiet = TRUE)
>> Tracing system2(cmd0, args, env = env, stdout = output, stderr = output) on entry
>> args : chr [1:5] "CMD" "INSTALL" "-l" "\"C:\\Users\\askers\\AppData\\Local\\Te...
2009 Jun 10
2
Merge data frame and keep unmatched
...one complete and another one partial, I would like to
merge them and keep the unmatched lines. The problem is that merge() dosen't
keep the unmatched lines. Is there another function that I could use to
merge the data frames.
Example:
completedf <- expand.grid(alpha=letters[1:3],beta=1:3)
partdf <- data.frame(
alpha= c('a','a','c'),
beta = c(1,3,2),
val = c(2,6,4))
mergedf <- merge(x=completedf, y=partdf, by=c('alpha','beta'))
# it only kept the common rows
nrow(mergedf)
Thanks,
Etienne
--
View this message in context: http://www.nabble....
2018 Jan 26
0
utils::install.packages with quiet=TRUE fails for source packages on Windows
...thub.com/wch/r-source/blob/tags/R-3-4-3/src/library/utils/R/packages2.R#L660-L661.
>
>
>> trace(base::system2, quote(print(ls.str())))
> Tracing function "system2" in package "base"
> [1] "system2"
>
>
>> utils::install.packages("partDF_1.0.0.9001.tar.gz", repos = NULL, lib
> = tempdir(), quiet = TRUE)
> Tracing system2(cmd0, args, env = env, stdout = output, stderr = output)
> on entry
> args :? chr [1:5] "CMD" "INSTALL" "-l"
> "\"C:\\Users\\askers\\AppData\\Local\\Te...
2019 Dec 04
0
error in parallel:::sendMaster
...fully also with "-Wall -O0 -gdwarf-2 -g3", though I still have to verify this.
>
> Below is the output. I think it is a total of two mclapply invocations in this R session, the failing one starting around the lines "[1] 15381" and "[1] 15382". The "Error in partDF::write_partDF ..." is because the script/package checks the return value of mclapply and detects that it is not a list of length 85 with only the elements "TRUE".
>
> Regarding sending you the complete example: I first have to figure out if this is possible at all, because it...
2019 Dec 04
0
error in parallel:::sendMaster
...fully also with "-Wall -O0 -gdwarf-2 -g3", though I still have to verify this.
>
> Below is the output. I think it is a total of two mclapply invocations in this R session, the failing one starting around the lines "[1] 15381" and "[1] 15382". The "Error in partDF::write_partDF ..." is because the script/package checks the return value of mclapply and detects that it is not a list of length 85 with only the elements "TRUE".
>
> Regarding sending you the complete example: I first have to figure out if this is possible at all, because it...
2019 Nov 28
1
error in parallel:::sendMaster
Hi Andreas,
thank you very much, good job finding it was EBADF. Now the question is
why the pipe has been closed prematurely; it could be accidentally by R
(a race condition in the cleanup code in fork.c) or possibly by some
other code running in the same process (maybe the R program itself or
some other code it runs). Maybe we can take this off the list and come
back when we know the cause