Displaying 20 results from an estimated 30 matches for "comspec".
2004 Dec 18
0
Removing COMSPEC from win32-open3
Hi all,
Aslak brought up a good point with regards to
returning the pid for a popen4() method. As it stands
now, it returns the pid of the shell rather than the
pid of the process itself.
However, my attempts to remove the COMSPEC stuff
result in CreateProcess() failing with an error code
of 2, i.e. "the system cannot find the file specified"
- not too helpful. This is when I tried to run the
"ver" command.
(A short while later)
Hmm...it looks like some of these command line apps
are actually dll files...
2003 Jan 10
1
Suggested modification to shell command
...ll.
The 'shell' command tries to determine which shell the user prefers via the
following steps:
shell <- Sys.getenv("R_SHELL")
if (!nchar(shell))
shell <- Sys.getenv("SHELL")
if (!nchar(shell))
shell <- Sys.getenv("COMSPEC")
For me, shell evaluates to "c:/cygwin/bin/bash.exe" .
The 'shell' command then tries to determine the proper flag to use:
if (missing(flag) && any(!is.na(match(c("bash", "tcsh"),
shell))))
flag <- "-c"
For anyone who is...
2013 Jul 19
1
copiar directorio en r
...esita llamar a distintos tipos de
sistema.
setwd("C:/Users/usuario/Desktop/Pruebas/")
x <- sessionInfo()
sistema <- substr(x$R.version$system,1, 3 )
origen <- "Carp"
destino <- "Carp235"
switch(sistema,
x86 =
system(paste(Sys.getenv("COMSPEC"),"/c xcopy",origen,destino,"/s
/I /Y")) # S para que copie los subdirectorios, I para que sea carpete e Y
para que sobrescriba
,
lin = system(paste("cp -r",origen,destino)),
# mac = system(paste("cp -r",origen,destino))
)
El 18 d...
2010 Feb 19
1
[PATCH/cygwin] reduce number of propagated environment variables
...2009 00:40:28 -0000 1.21
+++ openbsd-compat/bsd-cygwin_util.c 19 Feb 2010 17:35:28 -0000
@@ -85,23 +85,14 @@ static struct wenv {
size_t namelen;
} wenv_arr[] = {
{ NL("ALLUSERSPROFILE=") },
- { NL("COMMONPROGRAMFILES=") },
{ NL("COMPUTERNAME=") },
{ NL("COMSPEC=") },
{ NL("CYGWIN=") },
- { NL("NUMBER_OF_PROCESSORS=") },
{ NL("OS=") },
{ NL("PATH=") },
{ NL("PATHEXT=") },
- { NL("PROCESSOR_ARCHITECTURE=") },
- { NL("PROCESSOR_IDENTIFIER=") },
- { NL("PROCESSOR_LEVEL=&qu...
2004 Apr 22
6
Fatal Error: Invalid HOMEDRIVE
All,
I've encountered the same problem as others who have posted under the same
subject.
I've had R-1.8.1 installed and running since it was released. Yesterday
morning when I tried to start Rgui.exe I got the subject error message.
Since I live at the whim of the network administrators I can only assume it
was a recent MS critical update.
I tried installing R-1.9.0 but no joy.
I
2010 May 22
1
calling Perl script from R on Windows 7
...ot;c:\\Perl64\\bin\\perl hello.pl")
-I saw no output for the above command. I have used this method before to
run perl scripts that performed tasks, but only now do I want to capture the
perl output from the print command within the perl script
# Trial 2
system(command=paste(Sys.getenv("COMSPEC"),"/c","C:\\Perl64\\bin\\perl
hello.pl"))
- In the help for 'system' in R, it mentions making the above changes if one
wants to pass a command to the cmd on a windows machine.
I am using R 2.9.2 on Windows 7.
I'm doing this since I want to run perl scripts to...
2007 Mar 19
1
"Module not found"
...ince discovered that when GSAK tries to execute BABEL.BAT (GSAK is a
delphi program which uses something similar to VBs ShellExecute to run
batch files), wine looks for cmd.exe to run and fails to find it. I
tried to correct this by linking cmd.exe to wcmd.exe to execute,
because I figured setting COMSPEC wouldn't be enough as GSAK is looking
for cmd.exe not wcmd.exe, with the following results:
wine: could not load L"C:\\windows\\cmd.exe": Module not found
I then tried a few other .exe files in the windows directory under
wcmd, such as winhlp32.exe, and I produced similar results....
2006 May 17
2
checking package dependencies
Dear all,
I seem to be unable to check a source package since I upgraded R to 2.3.0
(Ubuntu Linux 5.1). I get this:
* checking package dependencies ... ERROR
> tools:::.check_package_depends("/home/adi/Work/QCAGUI")
I have even tried with R-patched, same result.
My Renviron does specify the path to the installed packages (and all depending
packages are installed):
2013 Jul 17
2
copiar directorio en r
Iba a proponeros una solución con switch, pero algo raro ocurre con el
comando system en windows no me hace caso
system("dir") por ejemplo no muestra nada en pantalla.
> sessionInfo()R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=Spanish_Spain.1252 LC_CTYPE=Spanish_Spain.1252
LC_MONETARY=Spanish_Spain.1252 LC_NUMERIC=C
[5]
2010 Sep 07
5
R 2.11, shell, spaces
Can somebody confirm some unexpected behavior? This is under Windows,
with R 2.11.0 and 2.11.1.
1. Create a trivial test file (I called it test.R) containing:
cat("Success.\n")
2. Load R (Gui or Term) and run:
shell("\"C:\\path\\to\\Rscript.exe\" \"C:\\path\\to\\test.R\"")
In my case, I get various error messages. If the
path\\to\\Rscript.exe has spaces
2004 Apr 20
10
Error with 1.9.0 - Invalid HOMEDRIVE
I installed R project 1.9.0 on Windows XP. The installation went well.
Then, I rebooted. Next, I clicked the icon under Programs in the Start
menu and received this error, "Fatal Error: Invalid HOMEDRIVE". I
clicked OK to the error message. The program does not start. I went to
a DOS prompt and did "echo %HOMEDRIVE%" and it returned "C:". This
letter is a valid
2006 Apr 27
1
R interface to ImageMagick
Hi,
I was wondering if anyone is aware of an R interface to ImageMagick
(www.imagemagick.org)? Since R does not support a lot of image processing
functions, having such an interface could be very useful. Alternatively,
ImageMagick has a couple of different interfaces (including to C and C++). I
was wondering if one can use these to call ImageMagick functions from R.
I am posting a similar
2005 Sep 14
1
MEMDISK Presence API
...but I cannot figure out how to
specify the other registers...
Also, I need to find a way to be able to:
unhook int 13h and int 15h and put them back to the BIOS vectors, and
yes, I know some DOSses rehook int 13 - but it can be done..
I need to be able to boot a CD, load the ElTorito driver, put comspec to
the CD, and remove the image from memory....
I was going to write a small dos program to do that - but I don't know
how to detect that MEMLINUX is present...
-Maurice
2011 Sep 26
3
Windows CLI Commands in Ruby freeze Wine application
...ketchUp and the gnome-terminal gives this error after some seconds:
err:ntdll:RtlpWaitForCriticalSection section 0x136d24 "?" wait timed out in thread 0009, blocked by 0000, retrying (60 sec)
The command does work in wine cmd, and SketchUp has the correct path to find cmd.exe:
ENV["ComSpec"]
C:\windows\system32\cmd.exe
What could I do to solve this?
2008 Oct 23
0
R CMD Rd2dvi (PR#13200)
...any
success.
=20
Good luck.=20
Cheers, Rowan
=20
Sys.getenv()
------------
ADMB_HOME C:\Apps\ADMB=09
ALLUSERSPROFILE C:\Documents and Settings\All Users=09
APPDATA C:\Documents and Settings\haighr\Application Data=09
CommonProgramFiles C:\Program Files\Common Files=09
COMPUTERNAME PAC03470=09
ComSpec C:\WINDOWS\system32\cmd.exe=09
DEFLOGDIR C:\Documents and Settings\All Users\Application
Data\McAfee\DesktopProtection=09
FP_NO_HOST_CHECK NO=09
GFORTRAN_STDERR_UNIT -1=09
GFORTRAN_STDOUT_UNIT -1=09
HOME E:\Temp\MyDocs=09
HOMEDRIVE C:=09
HOMEPATH \Documents and Settings\haighr=09
HOMESHARE...
2019 Jul 19
4
Prelease now available
Erik de Castro Lopo wrote:
> Hopefull the final release candidate:
>
> http://mega-nerd.com/tmp/flac-1.3.3rc3.tar.xz
> http://mega-nerd.com/tmp/flac-1.3.3rc3.tar.xz.asc
I am assuming everyone was happy with that and that I can release
a new version.
Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
2016 Feb 03
2
[PATCH] Fix compilation on OS/2
...WAVE fixup test... prepare... encode... decode... compare... OK
AIFF fixup test... prepare... encode... decode... compare... OK
Generating multiple input files from noise...
ERROR: creating files with dd
...
which I don't understand. Perhaps buggy dd. I take it this succeeds on Windows. Since $COMSPEC is set here we take the if_win path.
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Enable-disabling-AVX-and-AVX2-instructions-through-a.patch
Type: application/x-patch
Size: 1903 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev...
2013 Jul 18
0
copiar directorio en r
Hola Javier.
Creo que la sintaxis correcta cuando haces llamadas a comandos internos del sistema es:
system(paste(Sys.getenv("COMSPEC"),"/c","dir"))
Un Saludo,
Miguel.
De: Javier Villacampa González [mailto:javier.villacampa.gonzalez@gmail.com]
Enviado el: miércoles, 17 de julio de 2013 14:25
Para: Rodríguez Muíños, Miguel Ángel
CC: R ayuda
Asunto: Re: [R-es] copiar directorio en r
Iba a proponeros u...
2002 Feb 01
1
Rcmd Install gives Bad command or file name (PR#1296)
...,085 01-23-02 4:43p Rprof
SD2RD 16,834 01-23-02 4:43p Sd2Rd
SHLIB 2,483 01-23-02 4:43p SHLIB
23 file(s) 1,822,201 bytes
2 dir(s) 350,396,416 bytes free
C:\>set
TMP=c:\windows\TEMP
TEMP=C:\windows\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\COMMAND.COM
LOG=NUL
DSHD=C:
QRCD=N:
BOTD=C:
MFG=YES
ZIPD=D:
CPQD=N:
EN=EN
LANG=EN
LIB=c:\stdlib\lib
INCLUDE=c:\stdlib\include
HLP=c:\hpc21\
windir=C:\WINDOWS
BLASTER=A220 I5 D1 T4 P330
PATH=C:\BIN;C:\MINGW32;C:\PERL;C:\HTMLWORK;C:\R\RW1041\BIN;C:\TCL;C:\TCL\BIN
CMDLINE=Rcmd Install
C:\>
__...
2004 May 09
0
Wine crash after update
...rning 403307e0
0009:trace:heap:RtlFreeHeap (0x40330000,00000002,403307e0): returning TRUE
0009:trace:heap:RtlAllocateHeap (0x40330000,00000002,00000018): returning 403307e0
0009:trace:file:RtlGetFullPathName_U (L"X:\\" 8 0x403307e0 (nil))
0009:trace:environ:GetEnvironmentVariableW (L"COMSPEC" (nil) 0)
0009:trace:environ:RtlQueryEnvironmentVariable_U (null) L"COMSPEC" 0xbfffca1c
0009:trace:environ:SetEnvironmentVariableW (L"COMSPEC" L"C:\\windows\\system\\wcmd.exe")
0009:trace:environ:RtlSetEnvironmentVariable ((nil),L"COMSPEC",L"C:\\win...