Displaying 16 results from an estimated 16 matches similar to: "Sweave and echoing R comments"
2010 May 20
1
Geneland error on unix: Error in MCMC(........ :, unused argument(s) (ploidy = 2, genotypes = geno)
I am receiving the above error ( full r session output below) the
script runs OK in windows. and "genotypes" and "ploidy" are both
correct arguments
any suggestions would be most welcome
Nevil Amos
MERG/ACB
Monash University School of Biological Sciences
> library(Geneland)
Loading required package: RandomFields
Loading required package: fields
Loading required
2010 Mar 11
2
Comparing matrices
Hello all,
I have two matrices, pop and pop2, each the same number of rows and
columns that I want to compare for equality. I am concerned about
efficiency in this operation.
I've tried a few things without success so far. Doing something simple like:
if (pop==pop2) { cat('equal') } else { cat('NOT equal') }
results in the warning:
1: In if (pop == pop2) { :
the
2009 Apr 26
3
3 questions regarding matrix copy/shuffle/compares
Hello all,
I have the following function call to create a matrix of POP_SIZE rows
and fill it with bit strings of size LEN:
pop=create_pop_2(POP_SIZE, LEN)
I have 3 questions:
(1) If I did
keep_pop[1:POP_SIZE] == pop[1:POP_SIZE]
to keep a copy of the original data structure before manipulating
'pop' potentially, would this make a deep copy or just shallow? Ie
2009 Jan 13
3
problem whit Geneland
I do the these passages:
library(Geneland)
set.seed(1)
data <- simdata(nindiv=200,
coord.lim=c(0,1,0,1) ,
number.nuclei=5 ,
allele.numbers=rep(10,20),
IBD=FALSE,
npop=2,
give.tess.grid=FALSE)
geno <- data$genotypes
coord <- t(data$coord.indiv)
path.mcmc <-
2010 Dec 15
0
Problems with the borders (High difficulty)
Dear r-help members,
Could any of you help me with this model, please?
This model gives error when some value touch whatever border and I do not know how to correct it. The 80% of the seeds produced by a plant will fell into the parent cell, the 15% in the first ring according to the king movement (in chess), and a 5% in the second ring defined by the queen2 matrix. Someone said me the functions
2005 Feb 18
1
Is this a bug or by design? Workaround?
Hi,
I need to use the trailing 5 digits of a callerid. callerid may be anything
from a length of 4 to 10 digits in this case.
Using this:
-----------
SubString,cid=${CALLERIDNUM}|-5|5
Works great, BUT shows this message:
"The use of Substring application is deprecated. Please use ${variable:a:b} instead"
So, I try
---------
SetVar(cid=${CALLERIDNUM:-5:5})
The result is a empty
2005 Feb 21
0
bug? Unterminated comment detected beginning on line 0
Hi,
Using latest cvs.
A comment-line begins with semicolon ;
However - if the line contains
;--
or like this
; -- blabla bla --
You get this error and * stops reading that file:
Feb 21 13:47:12 WARNING[17393]: config.c:664 config_text_file_load: Unterminated comment detected beginning on line 0
Shouldn't Asterisk skip any line beginning with a semicolon?
Or should a comment now be
2005 May 08
3
1.0-test69
http://dovecot.org/test/
- Several mbox fixes, upgrade recommended for test68 mbox users
- Possibly fixes some IMAP hangs where Dovecot just stopped replying
- Fixed delay-newmail workaround. It was badly broken before.
And somewhat off topic advertisement:
I got a bit distracted from Dovecot a week ago when a guy started
mailing me about wanting to write an irssi2 client as a project to
2004 Sep 06
2
Sweave echoing comments (again)
Hello,
I try to document some R scripts for my collegues and observed the
problem, that Sweave strips comment lines away.
As a small example I write in an Rtex file:
\begin{Scode}
## a small example
test() # line comment
\end{Scode}
... the .tex file generated by Sweave only contains:
\begin{Schunk}
\begin{Sinput}
test()
\end{Sinput}
\end{Schunk}
... and all the comments are lost.
2004 Sep 06
2
Sweave echoing comments (again)
Hello,
I try to document some R scripts for my collegues and observed the
problem, that Sweave strips comment lines away.
As a small example I write in an Rtex file:
\begin{Scode}
## a small example
test() # line comment
\end{Scode}
... the .tex file generated by Sweave only contains:
\begin{Schunk}
\begin{Sinput}
test()
\end{Sinput}
\end{Schunk}
... and all the comments are lost.
2005 Jan 02
2
How to quieten axis() for Sweave: avoid echoing NULL?
Dear R-community,
I'm using Sweave to produce reports. The reports require the "axis"
command. When I run axis the program returns NULL as well as creating
the axis.
> plot(1:4, rnorm(4), axes=FALSE)
> axis(1, 1:4, LETTERS[1:4])
NULL
>
So, my Sweave tex files have
\begin{Schunk}
\begin{Soutput}
NULL
\end{Soutput}
\end{Schunk}
in front of each graphic that requires
2001 Apr 11
1
Echoing commands (not using source())
Is there a way of echoing (similar to Matlab "echo on") commands that are
being executed? I know how to do this for script files by using source(...,
echo=TRUE), but I would like to be able to use this within *any* function. I
am also not looking for the debug() function. Here is what I would like to
do:
myFunction <- function() {
echo(TRUE);
x <- 3;
cat("x = ", x,
2017 Jul 03
1
R console not echoing input
I have a weird problem running R.app 3.3.2 under Mac OS X 10.10.5.
I was trying to interrupt a command line using various Control codes until I discovered that ?Esc? is the escape key. (Makes sense!)
Now I find that while I can enter new commands to R, they no longer echo back, so I cannot see what I am typing. On unix terminals CTL-Q will reset this, but it does not seem to work on the R
2018 Nov 02
2
[BUG?] sftp is echoing back prompt and commands in batch mode
Short description: All comands sent to server in batch mode are being
echoed back along with prompt.
Software Version: "OpenSSH_7.9p1, OpenSSL 1.1.1 11 Sep 2018" (as
printed by ssh -V)
Server and client systems: ArchLinux x86_64 fully updated as of 2018-11-02.
## How to reproduce
Provided that you have proper SSH key authentication in place, from
command line run:
echo "dir
2018 Nov 04
3
[BUG?] sftp is echoing back prompt and commands in batch mode
Il giorno dom 4 nov 2018 alle ore 01:45 Ben Lindstrom
<mouring at offwriting.org> ha scritto:
>
> I don't see it as a bug.
Yes, this is why I put a question mark in the subject.
> As if I'm writing a batch script I want to see the echo of the command and the output so if there is a failure I know where the failure is.
I see: you have a single batch file with no
2018 Nov 02
2
[BUG?] sftp is echoing back prompt and commands in batch mode
Thanks, Iain.
I am willing to hear from other users whether anyone else sees this as a
bug before filing it.
--
Vincenzo Romano
Il giorno ven 2 nov 2018, 20:03 Iain Morgan <imorgan at nas.nasa.gov> ha
scritto:
> If you truly intend this as a bug report, you should file it at
> bugzilla.mindrot.org.
>
> On Fri, Nov 02, 2018 at 12:25:22 +0100, Vincenzo Romano wrote:
> >