Displaying 20 results from an estimated 10000 matches similar to: "open script file from command line"
2012 Oct 22
1
quartz.save of the FAQ (Mac)
Hi,
In the FAQ for Mac http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html
there is
7.2 Saving the image
You can can (???) the content of the quartz device window into a PDF file.
This is not explained!
This is a very simple way to export high quality graphics from R into
other applications on Mac OS X graphics is PDF based (so are almost all
applications available). However, this process
2003 Sep 04
3
Call script after hangup
Beginner: How can a script be called after a calling user hangup?
What's wrong with this:
[incoming]
exten => s,1,Playback,welcome
exten => s,2,Record,msgfile:gsm
exten => h,1,Goto(callscript,1,1)
[callscript]
exten => 1,1,Wait,5
exten => 1,2,System("SomeScript")
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Mar 09
1
Why cannot `Rscript -e` accept an empty line?
See the example below (under Ubuntu):
$ Rscript -e '1' -e '2'
[1] 1
[1] 2
$ Rscript -e '1' -e '' -e '2'
ERROR: option '-e' requires an argument
$ uname -a
Linux xie 3.5.0-25-generic #39-Ubuntu SMP Mon Feb 25 18:26:58 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
Similar problem under Windows:
Rscript -e "1" -e "" -e "2"
[1]
2006 Nov 13
1
Can AGI do this?
Please pardon the absolute noob questions. Someone has asked me to
interface with Asterisk and have it dial 4 numbers in succession to have
it track down an on-call person.
My initial reaction was to write an AGI program and return all 4 numbers
and have Asterisk hunt them - can Asterisk do this?
If not, is it possible to write an AGI program that gets all 4 numbers,
then somehow hands them
2003 Oct 27
3
PDC and concurrent logins
Hello!
I am using samba running as a PDC at our school. I have read many docs and
howtos but I can't find anything about Concurrent logins. I would be a
nice feature becouse I don't want my users to login more than one time. Is
there anyone that does have a clue?
Greetings from Sweden
---
Mikael Karlsson
Skoldataenheten, Tibro Kommun
Sweden
+4650414783
mikael.karlsson@edu.tibro.se
2018 Feb 02
4
command line fails
Hi - Think this is quick help. Not sure how to trap what is causing my simple script to run fine in R, but fail immediately when called from rscript. I can put all sorts of traps in the script itself, but when called from the command line the r window simply flashes and closes.
There's probably a way to find out why rscript is failing, but I don't know it and can't seem to find it
2006 Aug 02
3
Does Ruby / Rails have something similar to PHPs ''virtual''
Hi all
Is there a rails / ruby function that is analagous to PHPs ''virtual''
function?
"virtual() is an Apache-specific function which is similar to
<!--#include virtual...--> in mod_include. It performs an Apache
sub-request. It is useful for including CGI scripts or .shtml files, or
anything else that you would parse through Apache. Note that for a CGI
script,
2020 Nov 01
2
vignettes present in 2 folders or won't work
Dear all,
I am struggling with an issue related to static vignettes: they work, but
only when present in double in the tarball -- in the folder inst/doc and
vignettes; see below for details.
Details:
I am pre-compiling heavy vignettes thanks to the vignette builder R.rsp.
So basically, I have PDF files which I want the package to use as Vignettes.
For this, I have the following in my
2018 Feb 02
0
command line fails
On 2/2/2018 4:52 AM, Michael Ashton wrote:
> Hi - Think this is quick help. Not sure how to trap what is causing my simple script to run fine in R, but fail immediately when called from rscript. I can put all sorts of traps in the script itself, but when called from the command line the r window simply flashes and closes.
>
> There's probably a way to find out why rscript is failing,
2018 Feb 02
2
command line fails
I don't think it's the path or the slashes. I run other files in this same manner, with the same path to the script itself, and they go off without a hitch. Although this is the first time I am using 3.4.3, and the only script I am using that version of R for at the moment.
Having said that, I did TRY reversing the slashes and got the same result. :-)
Michael Ashton, CFA
Managing
2007 Aug 31
1
About "=" in command line in windows.
It seems, I don't understand something, or there is a bug in R.
I have made some experiments after my yesterday post about using "=" with -e
switch to the Rscript.
Now, I've found:
(1)
C:\users\wl\trainings\r>rscript --verbose -e "mean(x=1:3)"
running
'C:\Program Files\R\bin\Rterm.exe --slave --no-restore -e mean(x=1:3)'
Error in -args : invalid
2009 Jun 02
1
Problem downloading webpages using batchfiles and RCurl from command line in Vista Basic - couldn't connect to host
Dear all,
I am having a problem downloading webpages through R when i run it in
the DOS window under Windows Vista Basic. I have downloaded the
batchfiles from http://code.google.com/p/batchfiles/ and have
successfully set the PATH.
I open up 'Command Prompt' in Vista and type (after the C:\...>
stuff):
### START ###
C:\Users\Karen>Rscript -e "library(RCurl);
2018 Feb 02
0
command line fails
On 02/02/2018 7:52 AM, Michael Ashton wrote:
> Hi - Think this is quick help. Not sure how to trap what is causing my simple script to run fine in R, but fail immediately when called from rscript. I can put all sorts of traps in the script itself, but when called from the command line the r window simply flashes and closes.
>
> There's probably a way to find out why rscript is
2007 Aug 06
2
Makefile for embedding OpenBUGS in R package
Dear list,
I'm trying to embed OpenBUGS in an R package for use of it
on 64-bit Linux. In order to get the CLI working one has to
compile C code contained in $OpenBUGS/Manuals/CBugs.html
(copied to say CBugs.c) using
gcc -m32 -o bugs CBugs.c -ldl
I put the OpenBUGS distribution in the ./inst subdirectory of
the package root. Where should I now put the CBugs.c and how
2018 Feb 02
0
command line fails
On 02/02/2018 8:20 AM, Michael Ashton wrote:
> I don't think it's the path or the slashes. I run other files in this same manner, with the same path to the script itself, and they go off without a hitch. Although this is the first time I am using 3.4.3, and the only script I am using that version of R for at the moment.
>
> Having said that, I did TRY reversing the slashes and
2010 Sep 28
2
Opening a .R file with R (Windows)
I am new to using R. I installed R on my computer (Windows) and everything
things appears to be just fine. However, I have a simple script RTest.R
that does a few simple calculations. When I double-click the RTest.R icon,
I get an Information dialong box which says, "ARGUMENT 'C:\Documents and
Settings\kgilder\Desktop\RTest.R' __ignored__" . When I choose OK, R then
opens,
2018 Feb 02
2
command line fails
Fascinating. The script runs fine in 3.2.5, but won't run in 3.4.3 even with ALL lines commented out.
I have no idea what that means. I can't imagine I found a 3.4.3 bug no one knows about.
Michael Ashton, CFA
Managing Principal
Enduring Investments LLC
W: 973.457.4602
C: 551.655.8006
-----Original Message-----
From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com]
Sent: Friday,
2004 Sep 28
2
[Fwd: Re: tseries Package for R]
-------- Original Message --------
Subject: [R] Re: tseries Package for R
Date: Mon, 27 Sep 2004 23:56:34 -0800
From: Martin Renner <martin.renner at stonebow.otago.ac.nz>
To: Adrian Trapletti <a.trapletti at bluewin.ch>
References: <61CBB4C9-10C7-11D9-A624-000D932E990C at comcast.net>
<4158F5B6.3020103 at bluewin.ch>
see http://cran.stat.ucla.edu/bin/macosx/ and
2010 Aug 31
1
Running System() after call completion, not in 'h'?
Greetings all-
I have some dialplan code on an Asterisk 1.2.x box that basically dials a call, then after call completion, runs a command via System(). However, I'm finding that roughly 5% of the time, the System() command never executes and seems to be on specific destinations. Simplified/paraphrased example:
exten => 1,1,Set(VARIABLE=SOMEVALUE)
exten =>
2009 Aug 25
1
Problems opening R (PR#13908)
Hi,
I'm having problems opening R on MAC OSX. It was working fine, then I
tried using the fix() command on one of my data sources. R froze, so I
re-started it. R would not open, the icon kept bouncing in the dock. I
have tried reinstalling the program, but every time the installer says
it is "updating" instead of installing - I'm not sure how to
completely erase R from