Displaying 20 results from an estimated 6000 matches similar to: "Named pipe connections and stdout"
2001 Feb 27
6
How to read a text table? A bit of trouble with Using R - An Introduction
> Ok...So I actually *typed* the table with WordPad, using the Tab button
>in order to separate the columns, and saved it in rich text format. As you
>might have guessed, it didnĀ“t work. I got a:
> Error in count.fields(file, sep, quote, skip, blank.lines.skip) :
> string terminated by newline or EOF
RTF is not what is meant by text. What I am writing is text.
Your
2003 Mar 24
9
Scripting with an external editor
I've had time to return to the "external editor" project. The following
function does almost what I want, which is to allow an external editor to
feed command lines to R.
ext.editor<-function(editor) {
ext.input<-pipe(editor,"r")
eval(parse(ext.input))
close(ext.input)
}
While the description of parse() indicates that it should parse input line by
line, the
2004 Feb 09
1
nedit syntax highlighting patterns for R?
I tried to install the syntax pattern file, R-5.1.pats (obtained from
www.nedit.org)
in version 5.3 of nedit, but it gives the following errors. Does
anyone have a
more up-to-date copy?
euclid: ~/nedit % nedit -import R-5.1.pats
NEdit: language mode must be specified in highlight pattern:
<==
NEdit: style name required in style specification:
Note:darkRed:Italic
<==
NEdit: expecting
2002 Oct 10
1
NEdit Highligth patterns for R
Hi
I've just submitted to the NEdit development team a R highligth patterns
for NEdit (www.nedit.org).
NEdit is a text editor for LINUX which I use to write small R functions.
In my opinion is a very good tool for small scripts, maybe for huge
projects is not the best.
I'm attaching the R-5.1.pats file so you can try it.
As usual contributions and comments are welcome.
Regards
EJ
2007 Mar 03
1
My current directory is lost in a bash shell
This one puzzles me a lot:
[thba at vink layout]$ nc script/xw_functions.ample
NEdit: getcwd() fails: No such file or directory
NEdit: getcwd() fails: No such file or directory
[thba at vink layout]$ ll script/xw_functions.ample
-rw-rw-r-- 1 thba thba 16829 Oct 25 16:59 script/xw_functions.ample
[thba at vink layout]$ pwd
/home/thba/workarea/colibri/design/ana/layout
[thba at vink layout]$
2000 Oct 02
9
the underscore ("_") in variable name
At 14:35 02/10/00 +0800, mohd zamri wrote:
>new to R and starting to learn to program R. The underscore ("_") did some
>suprising result. e.g
>
>> c <- c(1,2,3,4,5)
>> mean(c)
>[1] 3
>> c_mean <- mean(c)
>> c
>[1] 3
>
>having some experience in C, I thought the underscore is "always" valid in
>variable name. totally confuse
2014 Sep 26
2
Text file encoding
I'm working with some people using apple laptops. When we share text
files (latex files), I reach in an encoding problem on our CentOS
laptops and desktops. In my favorite editor, "?" is "<8e>", "?" is
"<88>" etc...
Of course, I can change the encoding with iconv:
iconv -f MACINTOSH -t ISO8859-15 file.bib.mac >file.bib
iconv -f
2001 Feb 15
1
Updated introductory text
All,
I have updated my practical introduction to using R to analyse
epidemiological data for the March 2001 Computer Software in
Epidemiology course at the Nordic School of Public Health to include a
short section on object orientation. You can get this from:
http://www.myatt.demon.co.uk
As a ZIP file containing MS Word '95 (DOC) and Adobe Acrobat v4.xx (PDF)
version of the document
2001 Feb 07
3
Goodness of fit to Poisson / NegBinomial
All,
I have some data on parasites on apple leaves and want to do a
goodness of fit test to a Poisson distribution. This seems to
do it:
mites <- c(rep(0,70),
rep(1,38),
rep(2,17),
rep(3,10),
rep(4,9),
rep(5,3),
rep(6,2),
rep(7,1))
tab <- table(mites)
NSU <- length(mites)
N <-
2000 Jun 19
3
sshd does not exit after scp (hpux 11.00 / ssh 2.1.1p1)
Hello,
I have encountered a problem using ssh-2.1.1p1 on HP-UX 11.00:
Everything else seems to work but running scp results in processes staying open:
On the server there are 2 processes still running after copying a file: "scp -v
-t /tmp"
and one sshd. On the client also a ssh-process stays running until killing one
of
the processes manually...
The copying works fine however.
2001 May 30
3
Cluster process
Dear all,
Is there a function to generate a Poisson cluster process?
I believe that S-plus has a function to generate some point processes,
make.pattern(), which include a Poisson cluster process.
Thanks in advance
------------------------
Takashi Mizuno
zoono at sci.osaka-cu.ac.jp
Plant Ecology Lab.
Osaka City University
------------------------
2001 Dec 08
5
no _?
I see the uderscore "_" is not allowed in R. This make R a real drag when
trying to use with SQL packages and c code. Why is the underscore not
allowed and will it be allowed in a future release?
Jeff.
Jeff D. Hamann
Hamann, Donald and Associates
PO Box 1421
Corvallis, Oregon USA 97339-1421
Bus. 541-753-7333
Cell. 541-740-5988
jeff_hamann at hamanndonald.com
www.hamanndonald.com
2004 Apr 22
2
[Bug 851] some X11 prgs generate ``BadAtom (invalid Atom parameter)'' in X_GetProperty when using X11 forwarding
http://bugzilla.mindrot.org/show_bug.cgi?id=851
Summary: some X11 prgs generate ``BadAtom (invalid Atom
parameter)'' in X_GetProperty when using X11 forwarding
Product: Portable OpenSSH
Version: 3.8.1p1
Platform: All
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
2001 Mar 07
3
export graph to Word/Excel
Hi,
I have a set of script like this:
----------------------
summary(data)
plot(time, users, type="o", xlab ="Time", ylab="Number
of Users")
----------------------
I type "rterm --slave < script.r > output.doc" and the
graphic doesn't
actually in the output.doc file. How to make the
graphic embedded in Word
or Excel file?
Thanks,
Yu-Ling Wu
2004 Jun 04
1
running R command in the background
Is there a way to call an R function to work in the background within the same R session? What I have in mind is the equivalent of adding '&' at the end of a UNIX command, so that R can process an intensive command while I execute other R commands. I want to do this in the same R session, rather than with multiple calls to R, so that all my modified objects will stay in the same
2000 Oct 06
9
Turning off axis annotation?
HI there,
Well, I am stuck again. How do I turn off axis annotation?
Oh, and thanks to Peter Dalgaard
for his help with my last question.
I have an observation that others there may find interesting. In the
windows implementation
of R, the tck option of par() does not seem to operate as the reference
manual indicates. Apparently the length of ticks using this option is
supposed to be
2000 Mar 27
1
scp: write stdout: Broken pipe error (Tru64 UNIX)
I'm working on adding SIA authentication support to OpenSSH for use on
Tru64 UNIX. The authentication bits are working but there's more work to be
done including checking for locked accounts and setting resource limits.
Anyway, most things seem to be working fine except for scp and I'm looking
for a little help. Here's some output:
% scp -v lopan:sl.tar .
Executing: host lopan,
2018 Mar 28
2
[sieve][pigeonhole] Can't catch stdout for pipe script after upgrade Dovecot 2.2 -> 2.3
Hi.
I use custom script:
> require [ "vnd.dovecot.pipe", "variables" ];
>
> if address :is :all "from" "snip at snap"
> {
> ? pipe "sieve_to_owncloud";
> }
sieve_to_owncloud:
> DATE=`date +%Y-%m-%d_%H-%M-%S`
> PYTHONIOENCODING=utf8 python /opt/sieve-pipe/python-imap-to-owncloud.py \
> ? --owncloud-host
2018 Mar 28
0
[sieve][pigeonhole] Can't catch stdout for pipe script after upgrade Dovecot 2.2 -> 2.3
Op 3/28/2018 om 6:01 AM schreef Konstantin Shalygin:
>
> Hi.
>
>
> I use custom script:
>
>> require [ "vnd.dovecot.pipe", "variables" ];
>>
>> if address :is :all "from" "snip at snap"
>> {
>> ? pipe "sieve_to_owncloud";
>> }
>
>
> sieve_to_owncloud:
>
>> DATE=`date
2001 Feb 08
2
dnbinom(,size<1,)=0 (PR#842)
This came up on r-help but indicates a bug.
dnbinom(x,n,p) calls dbinom_raw(n-1,...)
which returns 0 for n<1.
-thomas
---------- Forwarded message ----------
Date: Thu, 08 Feb 2001 17:10:23 +0000
From: Yudi Pawitan <yudi@stat.ucc.ie>
To: Mark Myatt <mark@myatt.demon.co.uk>
Cc: R-Help <r-help@stat.math.ethz.ch>
Subject: Re: [R] Goodness of fit to Poisson / NegBinomial