similar to: command-line arguments in R

Displaying 20 results from an estimated 40000 matches similar to: "command-line arguments in R"

2007 Jan 24
1
writing R shell scripts?
Hi All, Another newbie question. I want to write an R script that takes argument from command line and runs and produces output to stdin. For example if there is file foo.R with following in it. args = commandArgs() print(args) then, when I run it like $ R foo.R hello it should print 'hello' on the terminal. I searched the mainling list and found a very old post that said said that
2006 Jan 05
1
problem with command line arguments
Hello Everybody, I am running a R script through a perl code from command line. The perl script is like: my $cmd= 'R CMD BATCH D:/try5.R'; system($cmd); I run the perl code from command line. Now I want to pass some command line arguments to the R script. Its like the argv concept of perl. Do I pass the arguments through my $cmd in the perl script? If yes, then how to access that in
2010 Jul 01
2
Command Line Arguments
Do you know to pass named command line arguments into an R script? I have used littler and argv to pass a vector of arguments, but this requires you to maintain the order of the arguments. I'm wondering if there is a way to do this when you do not know the order of the arguments being passed in. Thanks, Andrew Bierbryer [[alternative HTML version deleted]]
2011 Jan 27
0
[LLVMdev] Passing command line arguments to optimization passes
Hi Harel, Several existing passes can take command line arguments. Have a look at lib/Transforms/Scalar/LoopUnrollPass.cpp for example. Its command line arguments are defined using the cl::opt objects. Best regards, -- Arnaud de Grandmaison ________________________________ From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Harel Cain Sent: Thursday, January
2011 Jan 27
2
[LLVMdev] Passing command line arguments to optimization passes
Hi all, I was wondering if there's any way to pass command line arguments to LLVM optimization passes when run through the opt tool. For example, suppose I register called MyPass, then I want to run opt -load libMyPass.so -MyPass 3 < input.bc and have "3" be available to MyPass as a kind of argv argumnet through some method. Or does it take a major rewrite of the opt tool
2007 Jun 25
1
Ring the second line when 1st line is busy
Hi, I ma using Asterisk 1.2.18 & FreePBX 2.2.1. I have assigned every users in office with Polycom with 2 extensions as below 555 8555 I have configured Follow-me to ring when the users doesn't picks the phone on line 1(555) after 10 seconds & then ring the line 2(8555). But this is not a standard telephony which I have been advised to change like below. If someone calls
2007 Dec 15
2
Puppet daemon not working -- works with cmd line
Hi, I have Redhat 9 & RHEL 4.2 with puppet clients installed. When is use puppetd -test the updates get effected, but when when running them as daemon mode nothing happens. ## Nothing Happens - no change is detected /etc/init.d/puppet status puppetd (pid 15538) is running... ## When running manually puppetd -test the changes from server gets updated. Is there any
2011 Jan 28
0
[LLVMdev] Passing command line arguments to optimization passes
You could make the cl:opt object visible outside one of your passes, and use it in your other passes : in other words, it is a global variable shared between several files. Best regards, -- Arnaud de Grandmaison -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of guyadini Sent: Thursday, January 27, 2011 12:38 PM To: llvmdev at
2002 Sep 10
0
Encrpted Password problem
i tried with the option encrpted password= yes , security = user in my smb.conf file.. but when i did following on my root prompt #killall -HUP xinetd #service smb restart #smbclient -L localhost so i get the problem session setup failed: ERRSRV - ERRbadpw (bad password name/password pair in a Tree Connect or Session Setup are invalid.) i'm not gettin why this is coming. i create the
2011 Jan 27
2
[LLVMdev] Passing command line arguments to optimization passes
A follow-up question: Is there a way to make different passes accept one command line option that will affect all of them? For example, I'd like to have a -optStrength parameter, that can be given to all of my passes simultaneously. Thanks a lot, Guy Arnaud Allard de Grandmaison wrote: > > Hi Harel, > > Several existing passes can take command line arguments. Have a look at
2013 Mar 08
0
Passing command line arguments using parallel package
Hello, I was wondering if there is a way to pass a custom command line argument to slave processes using the parallel package. I need to do this because I have some logic in my .Rprofile that checks what arguments it was called with using commandArgs() and performs certain actions only if it was given a particular argument. I am running the following code on a Windows PC to start slave processes:
2007 Nov 02
1
Understanding the install kernel command line arguments
Hi, I've been meandering through Google searches, simple-cdd source and debian-cd code trying to figure it out. No luck. Can I get a pointer to some documentation, please? :) Thank you. Regards, Bruce (viz., I'm trying to answer _all_ installation questions in a "preseed" file, but it is not being seen, so I get all these questions when what I want is a CD where
2013 Dec 06
0
Re: Use of qemu-kvm command line arguments in libguestfs (was: Re: Fwd: ...)
On Monday 02 December 2013 09:09:44 Richard W.M. Jones wrote: > On Mon, Dec 02, 2013 at 01:17:09AM +0100, Pino Toscano wrote: > > On Friday 29 November 2013 18:53:38 you wrote: > > > > > I'm marking options with NONE (not used at all), or M (used in > > > > > master) and/or RH7 (used in rhel-7.0). > > > > > > > > > > > *
2011 Mar 03
3
Command Line Arguments
I'm having a bit of trouble getting WinMerge to accept command line arguments, although it does seem to run nicely under wine. I am using Wine under Mac OSX. From selecting files manually within WinMerge, I can see that it uses a Z: drive letter to reference the OS filesystem. I have tried this: Code: open -a Wine "/Applications/WinXP/drive_c/Program Files/WinMerge/WinMergeU.exe
2017 Dec 05
0
command line arguments are parsed differently on windows, from 3.4.3
On Tue, Dec 5, 2017 at 4:40 PM, Henrik Bengtsson <henrik.bengtsson at gmail.com> wrote: > One comment: > For your R devel example you didn't use spaces in the expression, i.e. maybe > that's broken too with spaces? I did. There are two R-devel examples, one with spaces (buggy) and one without spaces (works). To show that spaces are the problem. > Three questions: >
2008 Jan 04
1
R command line arguments
Hi, I would like start R in BATCH mode and submit my own parameters. Or in other words, I would like to specify variables from the command line and execute a script using those. I have been looking at commandArgs and calling R from the command line under bash: R CMD BATCH --no-save --args -filename="$filname" -- r-test.R r-test.Rout The problem here is, if $filename contains
2008 Nov 17
2
Command line arguments with source() - Windows OS
Hi Everyone, I am pretty new to R and so far have mostly been using R interactively through the Windows console. I'm starting to write some scripts, and have been executing them using the source() command, i.e. source(myRfile.R). My questions is how can I pass command line arguments to R. My file "myRfile.R" has some global variables which I would like to be able to set at
2017 Dec 05
0
command line arguments are parsed differently on windows, from 3.4.3
A quick workaround if you needed to execute R expressions in Windows is calling RTerm directly. But a fix should be available soon. Tomas On 12/05/2017 05:51 PM, Henrik Bengtsson wrote: > Sorry for not reading carefully and thanks for confirming problem with > Rscript too. > > On Dec 5, 2017 08:47, "G?bor Cs?rdi" <csardi.gabor at gmail.com> wrote: > >> On
2008 Oct 13
1
Passing arguments from the command line to apps on Mac OS X (Darwine and CrossOver)
Hi all, There's a Windows application I've been running (called "WinBUGS.exe") on an intel Mac OS X (ver. 10.5.5) using both Darwine and CrossOver Pro. My application runs fine under Darwine and also under CrossOver. However, in spite of being able to run these applications using either platform from the command line, I still cannot pass arguments to the application. What I want
2022 Apr 14
3
[Bug 3422] New: sftp UID/GID output issue about arguments in the command line
https://bugzilla.mindrot.org/show_bug.cgi?id=3422 Bug ID: 3422 Summary: sftp UID/GID output issue about arguments in the command line Product: Portable OpenSSH Version: 8.0p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: scp