similar to: references to (1) R source code in svn repo within .Rd file and (2) to C source code in comments in R code using .Internal() /.Primitive()

Displaying 20 results from an estimated 3000 matches similar to: "references to (1) R source code in svn repo within .Rd file and (2) to C source code in comments in R code using .Internal() /.Primitive()"

2004 Sep 24
1
algorithm reference for sample()
Hi, Don't know if it belongs to r-devel or r-help, but since I am planning to alter some of R's internal code I am sending it here. The existing implementation of the sample() function, when the optional 'prob' argument is given, is quite inefficient. The complexity is O(sampleSize * universeSize), see ProbSampleReplace() and ProbSampleNoReplace() in random.c. This makes the
2004 Sep 24
1
algorithm reference for sample() - Knuth
Thank you for the reference to Knuth. Indeed in vol. 2 he has a > -----Original Message----- > From: Tony Plate [mailto:tplate@blackmesacapital.com] > Sent: Friday, September 24, 2004 8:05 AM > To: Vadim Ogranovich > Subject: Re: [Rd] algorithm reference for sample() > > Have you tried looking in Knuth's books on computer > algorithms? (They are classics for good
2008 Nov 06
2
Two minor escaping issues using \preformatted{....} in Rd format
Hi r-devels, I have two minor problems with special characters in Rd files when used within a \preformatted{} markup command: ------------------------------------------------------ 1. issue: backslash + single brace ------------------------------------------------------ I would like to write "\\\}" to produce \} on output (documenting the need to escape the brace once again before
2008 Sep 19
1
getting line breaks with xtable
Sorry, for asking the same question again, but I got no reactions the last time. Maybe it was just overseen by the experts. I'm using the xtable function with Sweave and Lyx and I would like to know how to get automatic line breaks for long strings in a column of the table. I've learned from the Lyx wiki that the Latex command \linebreak produces table cells with multiple lines. I tried to
2008 May 26
1
Sweave does not respect width
Hello, I'm learning to use Sweave, and I've run into a problem: sometimes, when entering long lines of input and using long variable names, Sweave will not insert linebreaks in a way that respects the width setting. This causes undesirable overflows into the margins in the latex file. For example, consider the following document (adapted from the GLM example): \documentclass{article}
2002 Jul 11
1
Samba 2.2.5-1, Error Creating Directories
Hi! This is a really weird problem, I hope, someone can help me out there. First of all, I put my smb.conf on the web, you can find it here[0]. The Sambaserver (ESS-LINUX) is just an ordinary workstation (in the terms of SMB) and uses the PDC (ESS_SERVER) for authentication (see "password server"-directive). Nearly everything works fine. Each authenticated user gets his home-directory
2006 May 03
2
rake appdoc Question regarding comment formatting
I tried googling and searching the forums here but was unable to locate an answer, please forgive if this has been covered. Is there any way to provide formatting guidelines to dictate how parsed comments are displayed in the resulting html? In the simplest example, is there a way to specify a linebreak (break tag)? Thanks, Andy -- Posted via http://www.ruby-forum.com/.
2017 Oct 18
1
uniform sampling without replacement algorithm
> From: "Pavel S. Ruzankin" <ruzankin at math.nsc.ru> > Let us consider the current uniform sampling without replacement > algorithm. It resides in function do_sample in > https://svn.r-project.org/R/trunk/src/main/random.c > Its complexity is obviously O(n), where the sample is selected from > 1...n, since the algorithm has to create a vector of length n. So
2006 Nov 09
4
Plotting symbols with two positions?
Thanks a lot to Demitris for a prompt answer some minutes ago on another tread (see below). To avoid excess mails on the list, I move onto next question: I have another small plotting problem that confuses me. I want to plot results from a field trial series, using the numbers of the trials as symbols in the plot. pch = as.character(trial_no) works fine, but truncates the trial number to the
2008 Mar 28
1
Sweave - print \n ?
Hi, this is probably quite stupid but I have no clue what's wrong. Let's say I write the function hline <- function() { cat("\\hline \n") } and call hline() from within a Sweave chunk. Why is there no carriage return after the \hline in the resulting tex file? if I call hline() hline() in the chunk, then I get \hline \hline in the tex code without a linebreak in
2013 Sep 05
2
ASCII art in function documentation?
Hi I want to include ascii art in a function documentation which should look as follow: ,---- | +------+------+------+ | | 1/16 | 1/16 | 1/16 | | +------+------+------+ | | 1/16 | 8/16 | 1/16 | | +------+------+------+ | | 1/16 | 1/16 | 1/16 | | +------+------+------+ `---- to keep the monospaced font even in html, I decided to use \code{}: ,---- | \code{+------+------+------+} | | \code{|
2003 Mar 09
1
strings spanning multiple lines
I'd like to specify strings spanning multiple lines (ie too long to fit in a single line without spoiling pretty-printed R code). I tried the following way: > a <- "multiple \ + lines" but > print(a) [1] "multiple \nlines" How could I avoid the extra linebreak ("\n")? Regards, Tamas Papp -- Tam?s K. Papp E-mail: tpapp at axelero.hu (preferred,
2004 Aug 06
2
ices2 + stdin + metadata
Hi, does anybody know some info about posting metadata to ices2 via stdin? My system is based on a PHP-script wich sends PCM-data from the player (mpg123 or ogg123) over a pipe to ices2. As i understand the documentation, metadata is sent as normal clear text within the PCM-data when using stdin. I tried the following format: \n artist=foo\n title=bar\n (\n is, of course, a normal
2005 Feb 10
2
Problem with "R CMD Rd2dvi": Rd.sty not found
Hi, I run into a problem with "R CMD Rd2dvi" command: it gives me "File `Rd.sty' not found" error (See the output message on the bottom). I get the same error when running "RCMD check". My system is: Windows 2000, R version 2.0.1, MiKTeX version 2.4. I do have a Rd.sty file in R_HOME/share/texm directory. I looked through newsgroups for any related discussions
2000 Oct 20
1
How to convert .Rd format in windows
Thanks for everyone who answered my query. I put an extra line in AUTOEXEC.BAT to specify the R_HOME variable. And the Rdconv command works perfectly if I execute the AUTOEXEC from DOS prompt. However, if I execute the AUTOEXEC from inside windows system the command does not work. Thanks, Agus ------------------------ Agus Salim PhD student Dept. of Statistics University College Cork, Ireland
2002 Apr 17
0
User defined macros for Rd-files?
Dear R-developers, I am trying to make use of my own defined macros in Rd-files in order I could simply type, say, \Splus, to get a font similar to \R in help files. So I put the corresponding entry in Rd.cfg which now contains the line: \newcommand{\Splus}{{\normalfont\textsf{Splus}}} similar to the way \R defined in Rd.sty. So now so good: R CMD Rd2dvi generates a dvi-file with a proper font.
2003 Nov 28
0
For those of you that uses syn Text Editor to edit .R files
Hi, sorry to bother you, and that this is probably not the right list :-), but I read that some of you might use syn as Editor for .R files. I've released an unofficial Version of the syn Text Editor with improved support for R (I'm the initial developer of this program, btw.). syn is a Windows 32 Program (Win9x, NT4, 2000), but maybe it runs also inside Wine, I didn't try it.
2010 Dec 04
0
[ANNOUNCE] xorg-server 1.9.2.902
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is the second release candidate for xorg-server 1.9.3. If no regressions are found, it will be released as 1.9.3 in one week. It includes various build and bug fixes to stability and correctness over previous releases. Aaron Plattner (1): xfree86: Fix rotation of 2-color non-interleaved cursor images Adam Jackson (3): ddc:
2004 Aug 06
0
ices2 + stdin + metadata
On Tue, 2004-02-03 at 15:05, Thomas Weber wrote: > Hi, > > does anybody know some info about posting metadata to ices2 via stdin? > My system is based on a PHP-script wich sends PCM-data from the player > (mpg123 or ogg123) over a pipe to ices2. As i understand the documentation, > metadata is sent as normal clear text within the PCM-data when using stdin. no it's
2015 Apr 24
0
[PATCH v5 6/8] virtio: add explicit big-endian support to memory accessors
On Thu, 23 Apr 2015 21:27:19 +0200 Thomas Huth <thuth at redhat.com> wrote: > On Thu, 23 Apr 2015 17:29:06 +0200 > Greg Kurz <gkurz at linux.vnet.ibm.com> wrote: > > > The current memory accessors logic is: > > - little endian if little_endian > > - native endian (i.e. no byteswap) if !little_endian > > > > If we want to fully support