Displaying 6 results from an estimated 6 matches for "cmd0".
Did you mean:
cmd
2018 Jan 26
2
utils::install.packages with quiet=TRUE fails for source packages on Windows
...ils/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\"" ...
command : chr "C:/PROGRA~1/R/R-34~1.3/bin/x64/R"
env : chr(0)
input : NU...
2006 Apr 10
2
install.packages on unix / su (PR#8760)
.....], install.wrapper=NULL)
The argument value I would typically want to supply on my system (running in a
KDE Session) would be: install.wrapper="kdesu --" . I.e. I would like to run the
R CMD INSTALL command through kdesu.
Technically it would basically function like this:
Instead of
cmd0 <- paste(file.path(R.home("bin"),"R"), "CMD INSTALL")
in install.packages (), it would read
cmd0 <- paste(install.wrapper, file.path(R.home("bin"),"R"), "CMD INSTALL")
This feature would save me a lot of small hazzles.
2018 Jan 26
1
utils::install.packages with quiet=TRUE fails for source packages on Windows
...ase::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\"" ...
>> command : chr "C:/PROGRA~1/R/R-34~1.3/bin/x64/R"
>>...
2018 Jan 26
0
utils::install.packages with quiet=TRUE fails for source packages on Windows
...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\"" ...
> command :? chr "C:/PROGRA~1/R/R-34~1.3/bin/x64/R"
>...
2013 Dec 17
0
[LLVMdev] llvmContext::removeModule doesn't remove NamedStructTypes
Hi, LLVM community,
I found an issue in my using scenario. We deliberately parse a bitcode
file twice. It contains a named struct type. eg. %struct.cmd = type {
float, float, float, float, float, i32 }. In the second module->dump,
%struct.cmd becomes %struct.cmd0.
my code is simplified like this.
int main()
{
llvm::LLVMContext &llvmCtx = llvm::getGlobalContext();
string ErrMsg;
string filename = "wrapper.bc";
llvm::OwningPtr<llvm::MemoryBuffer> File;
if (llvm::MemoryBuffer::getFileOrSTDIN(filename, File)) {...
2016 Dec 06
0
system2 fails with quiet=TRUE, but runs through with quiet=FALSE
...rough without problem. I traced the problem to a call to utils::install.packages(), where the option quiet is passed on. In utils::install.packages(), the problem seems to lie in the following call of system2():
output <- if (quiet)
FALSE else ""
[...]
status <- system2(cmd0, args, env = env, stdout = output,
stderr = output)
Manually changing stdout to "" makes the program run through without error (but then the output is there again, of course...).
The function system2 seems to be a wrapper around
.Internal(system(command, flags...