Displaying 20 results from an estimated 300 matches similar to: "R as shell script"
2006 Aug 14
3
Making R script to run in a console
Hi,
is possible to make a R script to run under a console without open the R
environment?
Something like this example.R
#!/usr/bin/R
function(name="Put here your name") {
print(name)
}
In a console I make
./example.R name="Ronaldo Reis J?nior"
then program print my name.
It is possible?
Thanks
Ronaldo
--
A jury consists of twelve persons chosen to decide who has the
2013 Nov 10
1
Embedded R Fails When Run on LSF Queue System
Hi,
I had a quick question I was hoping someone might be able to answer, as my journey through the source code so far has not been very profitable. I have a command line program that embeds R, and the program works just fine when run from the command line. However, when I run the program as a job in the LSF cluster at my institute, the following error occurs:
Fatal error: you must specify
2008 May 28
1
R as shelll script
Hi,
I have devised some applications of R as a scripting shell language and
started using it flawlessly a few months ago.
Never minded publishing it because it looked so obvious. However, a search
in the archives revealed there is no recent easy-to-use method proposed.
The latest reference I found is from 2006
(http://finzi.psych.upenn.edu/R/Rhelp02a/archive/81124.html) and even a c
wrapper
2013 Oct 16
1
Parallel R expression evaluations
Hi all,
I am using R-3.0.1 under Linux platform to embed R into my C++ code.
I am facing an error while executing more than 1 R-expressions parallelly.
I am executing round(X) and abs(X) parallelly on a set of 50 input rows
which resulted in segmentation fault after getting the following errors.
Error: unprotect_ptr: pointer not found
Error: argument to 'findVar' is not an environment
2009 Oct 27
1
R on maemo
Has anyone tried to compile R on the Nokia maemo platform? I've been
thinking about buying the n900 phone when it comes out, but I guess
the main selling point would be a possibility to run R on it. I've
read some rumors that it is based on debian, and that it can run X11
apps. In theory, you wouldn't even need to write any GUI. You should
be able to run R in command line mode, with
2012 Feb 01
3
Crash in R using embedded.
Hi,
I'm new to R, and am trying to embed R into another application.
I'm calling gev.fit() from the ismev package, and it is crashing somewhere
inside it.
gdb is not catching it, and valgrind is not showing any memory corruption
issues.
I suspect it's memory corruption, because it doesn't crash in exactly the
same spot each time.
I'm running R 2.12.2 on a 64 bit linux (Ubuntu
2006 Jul 16
3
bug in 1.0RC2?
Hello,
I have a small problem with dovecot 1.0RC2. This didn't happen with
former versions. There are imap processes that are left open a long
while after the client disconnected. I am running dovecot on OpenBSD
3.8. Below is the output of a process list. As you can see, there are
many imap processes for the same login running.
simon 11593 0.0 0.1 924 1140 ?? I 12:21PM
2012 May 07
3
CountryChk.dll missing
I am trying to install Cyperlink PowerDirector 9/10 on a 32bit wine, but when installation commences, I get an error
"CountryChk.dll' is missing.
Nothing more.
Is there any way around it?
2016 Oct 11
2
Problems with GSSAPI and LDAP
On 2016-10-11 11:03, Aki Tuomi wrote:
> On 11.10.2016 11:56, Juha Koho wrote:
>>
>> On 2016-10-11 10:00, Aki Tuomi wrote:
>>> On 11.10.2016 10:43, Juha Koho wrote:
>>>>
>>>> On 2016-10-11 09:18, Aki Tuomi wrote:
>>>>> On 11.10.2016 10:13, Juha Koho wrote:
>>>>>> Hello,
>>>>>>
2006 Oct 24
1
Index corruption causes child process to die
My recent migration from Courier-IMAP to Dovecot has been marred by
these errors:
Oct 24 12:12:40 server dovecot: IMAP(juha): Fixed index file
~user/Maildir/.Geekzone/dovecot.index: first_recent_uid_lowwater 431
-> 430
Oct 24 12:12:40 server dovecot: IMAP(juha): Corrupted index file
~user/Maildir/.Geekzone/dovecot.index: Duplicate header extension
keywords
Oct 24 12:12:40 server dovecot: child
2016 Oct 11
2
Problems with GSSAPI and LDAP
On 2016-10-11 10:00, Aki Tuomi wrote:
> On 11.10.2016 10:43, Juha Koho wrote:
>>
>> On 2016-10-11 09:18, Aki Tuomi wrote:
>>> On 11.10.2016 10:13, Juha Koho wrote:
>>>> Hello,
>>>>
>>>> I have a Dovecot 2.2.25 set up with OpenLDAP back end. I was trying
>>>> to
>>>> set up a GSSAPI Kerberos authentication with
2016 Oct 11
2
Problems with GSSAPI and LDAP
On 2016-10-11 09:18, Aki Tuomi wrote:
> On 11.10.2016 10:13, Juha Koho wrote:
>> Hello,
>>
>> I have a Dovecot 2.2.25 set up with OpenLDAP back end. I was trying to
>> set up a GSSAPI Kerberos authentication with the LDAP server but with
>> little success. Seems no matter what I try I end up with the following
>> error message:
>>
>> dovecot:
2009 Sep 21
3
Create directory and copy files in R
HI, All R users,
My problem is:
> fn
[1] "C:/Documents and Settings/lma/Desktop/FamilyAEntrepreneurs/Entrepreneurs/Juha/book_log-20041210T095019.txt"
> dpath
[1] "C:/Documents and Settings/lma/My Documents/Juha/book"
I want to make a function "cyfun" to copy all files in "dir" to "deskdir" but I always got the following problem:
Error
2009 Sep 22
2
Manipulate directory-help
Dear R-users,
I have a problem:
I have many files in the directory:"C:/Documents and Settings/lma/Desktop/FamilyAEntrepreneurs/Entrepreneurs/Juha"
I want to copy those files into the new directory: "C:/Documents and Settings/lma/My Documents/Juha/book" (<-use "paste"), I first create the directory using dir.create, but it looks doesnt work.
How do I implement
2016 Oct 11
2
Problems with GSSAPI and LDAP
Hello,
I have a Dovecot 2.2.25 set up with OpenLDAP back end. I was trying to
set up a GSSAPI Kerberos authentication with the LDAP server but with
little success. Seems no matter what I try I end up with the following
error message:
dovecot: auth: Error: LDAP: binding failed (dn
(imap/host.example.com at EXAMPLE.COM)): Local error, SASL(-1): generic
failure: GSSAPI Error: Unspecified GSS
2011 May 04
2
speexenc/speexdec doubles file size
this is not really a development question, but i didn't find another
mailing list to ask it.
any idea why size of wav file doubles when it is encoded to speex and
back to wav:
$ ls -ls testi.wav
40 -rw-r--r-- 1 foo foo 40674 May 4 14:38 testi.wav
$ speexenc --denoise --agc --quality 10 testi.wav testi.spx
Encoding 8000 Hz audio using narrowband mode (mono)
$ ls -ls testi.spx
20
2006 May 17
2
prcomp: problem with zeros? (PR#8870)
Full_Name: Juha Heljoranta
Version: R 2.1.1 (2005-06-20)
OS: Gentoo Linux
Submission from: (NULL) (88.112.29.250)
prcomp has a bug which causes following error
Error in svd(x, nu = 0) : infinite or missing values in 'x'
on a valid data set (no Infs, no missing values). The error is most likely
caused by the zeros in data.
My code and temporary workaround:
m = matrix(...
...
1997 Nov 25
2
R-beta: Latin-1 characters in R and X
Hi!
I have tried to print text with Latin-1 characters (????) from R to
postscript and X11 window but when I'm using the interactive R-shell, I
can't get them printed even from keyboard. Is there some configuration
flags to use 7-bit or 8-bit character sets?
TIA
Juha
--
: Juha Tikkanen -- juha.tikkanen at edita.fi -- http://www.edita.fi/ :
: tel +358-9-566 0532 -- mob +358-40-557
1997 Nov 25
2
R-beta: Latin-1 characters in R and X
Hi!
I have tried to print text with Latin-1 characters (????) from R to
postscript and X11 window but when I'm using the interactive R-shell, I
can't get them printed even from keyboard. Is there some configuration
flags to use 7-bit or 8-bit character sets?
TIA
Juha
--
: Juha Tikkanen -- juha.tikkanen at edita.fi -- http://www.edita.fi/ :
: tel +358-9-566 0532 -- mob +358-40-557
2003 May 11
2
sip reply sent to wrong port
when asterisk receives a bye request
U 195.10.149.20:32806 -> 192.98.81.157:5060
BYE sip:+35864129439@192.98.81.157 SIP/2.0.
Via: SIP/2.0/UDP 195.10.149.20:5062.
...
it should send the response according to the via header:
18.2.2 Sending Responses
The server transport uses the value of the top Via header field in order
to determine where to send a response.
instead asterisk sends the