Displaying 20 results from an estimated 48 matches for "findstring".
2009 May 01
1
locating rcmd.exe through a batch script
Dear R-sians!
The following command works fine on Dos Prompt, but not in a windows batch
script...
dir /S /B C:\Progra~1\R\R* |findstr /I "rcmd.exe" |findstr /I "2.8.1"
how do I implement the above in a windows batch script? I tried to use:
for /F "usebackq tokens=*" %%i in (`dir /S /B C:\Progra~1\R\R* |findstr /I
"rcmd.exe" |findstr /I
2011 May 24
2
escape characters in shell commands
On a Windows platform I am trying to count the number of lines in a file.
In a DOS window, the following works:
C:\Users\jar>findstr /R /N "^" D:\my_dir\my_file | find /C ":"
5317
(it works with double \\ also)
But in R, I need to make this string up with the file name I get from
file.choose():
filename = file.choose()
#get the number of lines in the file
# first make a
2007 Nov 20
1
[asterisk-dev] trunk working under windows!
...ew=diff&rev=89454&r1=89453&r2=89454
>> ==============================================================================
>> --- trunk/Makefile.moddir_rules (original)
>> +++ trunk/Makefile.moddir_rules Tue Nov 20 10:12:10 2007
>> @@ -66,9 +66,8 @@
>> ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
>> # linker options and extra libraries for cygwin
>> SOLINK=-Wl,--out-implib=lib$@.a -shared
>> - LIBS+=-L../main -lasterisk -L../res
>> + LIBS+=-L../main -lasterisk -L../res $($@_LIBS)
>> # additional libraries in res/
>>...
2014 Mar 03
3
gsm codec compile
...iated.
make[2]: Entering directory `/usr/src/asterisk/codecs/gsm'
?? [AS] src/k6opt.s -> src/k6opt.o
Assembler messages:
Error: unknown architecture `armv6l'
Error: unrecognized option -march=armv6l
make[2]: *** [src/k6opt.o] Error 1
?
Here are the lines in the Makefile -
ifeq (, $(findstring $(OSARCH) , Darwin SunOS ))
ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm armv5b arm5b armeb hppa2.0 ppc powerpc ppc64 ia64 s390 bfin mipsel
mips))
ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l arm5b armv5b armv61 armv7l s390 ))
OPTIMIZE+=-march=$(PROC)
endif...
2008 Mar 19
3
[LLVMdev] Merge Patch File
...APPLE_LOCAL='APPLE LOCAL libcc_kext' \
MULTILIBS="`$(GCC_FOR_TARGET) --print-multi-lib`
static;@static at fno-pic kext;@Dmal
loc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT@static at fno-pic@fno-
exceptions at fno-non-ca
ll-exceptions$(KEXT_EXTRA_FLAGS) $(if $(findstring i686,$
(target)),kext64;@mkernel at m64@Dma
lloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT$
(KEXT_EXTRA_FLAGS))" \
EXTRA_MULTILIB_PARTS='$(EXTRA_MULTILIB_PARTS)' \
in gcc/Makefile.in. I'd recommend something like:
# APPLE LOCAL begin libcc_kext
ifeq ($taregt...
2014 Jan 31
1
Trouble configuring with macvtap passthrough on Debian Wheezy / Jessie
...do apt-get build-dep libvirt
> $ debuild -i -us -uc -b
>
> So... yes, it works and builds without any errors.
>
> Next step now is applying the changes mentioned.
> But I'm confused because /apparently/ debian/rules is already the way
> it should be.
>
> ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
> WITH_STORAGE_LVM = --with-storage-lvm
> WITH_STORAGE_ISCSI = --with-storage-iscsi
> WITH_STORAGE_DISK = --with-storage-disk
> WITH_UDEV = --with-udev --without-hal
> WITH_CAPNG = --with-capng
> WITH_POLKIT...
2007 Mar 09
0
spandsp, app_rxfax: apps_Makefile.patch v1.2 > v1.4 = No Workie!
...the GNU General Public License
#
-include ../menuselect.makeopts ../menuselect.makedeps
C_MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.c,%,$(wildcard app_*.c)))
CC_MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.cc,%,$(wildcard
app_*.cc)))
LOADABLE_MODS:=$(C_MODS) $(CC_MODS)
ifneq ($(findstring apps,$(MENUSELECT_EMBED)),)
EMBEDDED_MODS:=$(LOADABLE_MODS)
LOADABLE_MODS:=
endif
ifneq ($(findstring ODBC_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_ODBC_STORAGE)
endif
ifneq ($(findstring IMAP_STORAGE,$(MENUSELECT_OPTS_app_voicemail))...
2006 May 30
1
executable file with R
Hi,
I made an R function, and I want make an executable applet with it. Do
you know how it is possible?
Thank for your help.
Romain
--
Lorrilli?re Romain
UMR 8079 Laboratoire Ecologie, Syst?matique et Evolution
B?t. 362
Universit? Paris-Sud
91405 Orsay cedex
France
tel : 01 69 15 56 85
fax : 01 69 15 56 96
mobile : 06 81 70 90 70
email : romain.lorrilliere at
2011 Nov 19
2
Facter Windows: domain is "none"
I could swear this worked fine earlier.. Now facter, and hence puppet,
do not see the domain name anymore:
What could cause this?
C:\Temp>facter --version
1.6.2
C:\Temp>facter | findstr kernel
kernel => windows
kernelmajversion => 6.1
kernelrelease => 6.1.7601
kernelversion => 6.1.7601
C:\Temp>facter fqdn
NCS-VDI-05.none
C:\Temp>facter hostname
NCS-VDI-05
2006 Jul 25
2
pari/gp interface
Hi
I'm developing an R package that
needs to execute some code written in pari/gp.
I've used this before from an R package (elliptic) but the interface
is very
basic: the R function creates a string such as the following:
string <- echo ' ellwp ([ 2+0*I , 0+2*I ], 1+0*I )' | gp -q
And then
system(string)
returns the output from gp which then needs to be text processed
2006 Jan 01
2
Wish list
This is my New Year wishlist for R features. One
common thread is that I find I sometimes use languages
other than R including javascript, Windows batch and
gawk. Others have mentioned other languages too. It
would be nice if, in those cases I could use R
simplifying development into a single environment
(viz. R).
The following are not in any order.
1. Self Contained Executables
Make it
2017 Jul 10
2
Shipping LLVM.dll for the C API with the Windows installer.
Thanks for starting!
Btw here is my CMD version:
cmd /Q /V:ON /c "for /F "tokens=4" %l in ('dir llvm*.lib') do (for /F
"tokens=2" %e in ('dumpbin /linkermember:1 %l ^| findstr "_LLVM"') do (set
symbolname=%e & echo !symbolname:~1!))"
You run it in the directory with all the llvm*.lib (yes the ThinLTO is
excluded in this example but can
2008 Mar 19
0
[LLVMdev] Merge Patch File
...LE LOCAL libcc_kext' \
> MULTILIBS="`$(GCC_FOR_TARGET) --print-multi-lib`
> static;@static at fno-pic kext;@Dmal
> loc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT@static at fno-pic@fno-
> exceptions at fno-non-ca
> ll-exceptions$(KEXT_EXTRA_FLAGS) $(if $(findstring i686,$
> (target)),kext64;@mkernel at m64@Dma
> lloc=kern_os_malloc at Dfree=kern_os_free at DLIBCC_KEXT$
> (KEXT_EXTRA_FLAGS))" \
> EXTRA_MULTILIB_PARTS='$(EXTRA_MULTILIB_PARTS)' \
>
> in gcc/Makefile.in. I'd recommend something like:
>
> # A...
2008 Mar 19
0
[LLVMdev] Merge Patch File
Bill Wendling wrote:
> On Wed, Mar 19, 2008 at 12:11 PM, Duncan Sands <baldrick at free.fr> wrote:
>
>> Hi Bill, thanks for fixing it.
>>
>>
> No prob! :-)
I can't build llvm-gcc4.2 on x86-32 Linux.
What is kext64, and how do I disable it? (I suppose I don't need it on a
32-bit platform?)
.....
ranlib kext/libgcc_eh.a
2005 Jul 02
1
limiting netlogon scripts to a subnet?-will this work?
Would this work? The problem is, I do not have
roaming profiles in use(As it is not practical for us,
as users tend to use the same computers). I want only
users with IP from 192.168.1.x to load the databases.
The loaddatabases.cmd file in question would contain
rem Grab IP address and dump to a file
ipconfig >"%userprofile%\ipconfig.txt"
echo Checking for your location
2017 Jul 10
0
Shipping LLVM.dll for the C API with the Windows installer.
I am sorry, just noticed i repeated myself :(
2017-07-10 15:20 GMT+02:00 Alexander Benikowski <sebal007 at googlemail.com>:
> Thanks for starting!
> Btw here is my CMD version:
>
> cmd /Q /V:ON /c "for /F "tokens=4" %l in ('dir llvm*.lib') do (for /F
> "tokens=2" %e in ('dumpbin /linkermember:1 %l ^| findstr "_LLVM"') do
2008 Mar 19
2
[LLVMdev] Merge Patch File
On Wed, Mar 19, 2008 at 12:11 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Bill, thanks for fixing it.
>
No prob! :-)
>
> > > ../../gcc-4.2.llvm.master/gcc/config/i386/i386.c: In function 'ix86_expand_convert_uns_DI2DF_sse':
> > > ../../gcc-4.2.llvm.master/gcc/config/i386/i386.c:10270: warning: large integer implicitly truncated to unsigned type
2017 Jul 06
0
Shipping LLVM.dll for the C API with the Windows installer.
Made a bit of headway here: https://reviews.llvm.org/D35077
Cheers, Jakob.
On Thu, Apr 6, 2017 at 2:34 PM, Alexander Benikowski
<sebal007 at googlemail.com> wrote:
> Maybe someone can use this as a startingpoint to add the windows-specific
> commandblock which is triggered instead of the Darwin one together with a
> proper setup of targets to have the libs build before.
>
>
2017 Apr 06
2
Shipping LLVM.dll for the C API with the Windows installer.
The following is an older commandline i used. Have a more recent one at
home. But basically you can write it as batch and trigger it within a
target during the build(never got targets into correct order, i am a cmake
noob)
So for reference, i'll post this one and look for the recent one at home(if
that didn't go down with my recent hdd crash):
cmd /Q /V:ON /c "for /F
2012 Dec 26
0
[PATCH] Fix building with MSYS and MinGW(-w64); Improve Makefile.lite build system
...erpc, etc.
-PROC := $(shell uname -p)
# returns Linux, Darwin, FreeBSD, etc.
-OS := $(shell uname -s)
+ifdef OS_OVERRIDE
+ OS := $(OS_OVERRIDE)
+else
+ OS := $(shell uname -s)
+endif
+# returns i386, x86_64, powerpc, etc.
+ifdef PROC_OVERRIDE
+ PROC := $(PROC_OVERRIDE)
+else
+ ifeq ($(findstring MINGW,$(OS)),MINGW)
+ PROC := i386 # failsafe
+ # ifeq (mingw32,$(shell gcc -dumpmachine)) # MinGW (mainline):
mingw32
+ ifeq ($(findstring i686,$(shell gcc -dumpmachine)),i686) #
MinGW-w64: i686-w64-mingw32
+ USE_ICONV := 0
+ else ifeq ($(findstring x86_64,...