similar to: How do I get sub to insert a single backslash?

Displaying 20 results from an estimated 4000 matches similar to: "How do I get sub to insert a single backslash?"

2014 May 18
2
Writing my first CRAN vignette
In fact my first vignette full stop. I am intending to use Sweave. I have read the Sweave documentation and section 1.4 of the extensions manual and apart from (a) do not use split = TRUE (b) and include all the source components, there does not seem to be anything CRAN specific. 1 - Am I missing some other documentation? 2 - If I use a package from CTAN would that be considered within the
2005 Dec 12
1
Comments please, how to set your mailer to read R-help in digest format
There are occasional comments on this list about how difficult it is to read the digest format. Since it took me a few false starts to configure my mailer to do it I have (with the encouragement of the list owner) put together a few hints. All I need now is for people who use other mailers to fill in the details in the same way as I have done for Eudora. The draft is available at
2003 Oct 09
3
Specifying suitable PC to run R
If I am buying a PC where the most compute intensive task will be running R and I do not have unlimited resources what trade-offs should I make? Specifically should I go for 1 - more memory, or 2 - faster processor, or 3 - something else? If it makes a difference I shall be running Windows on it and I am thinking about getting a portable which I understand makes upgrading more difficult. Extra
2007 Feb 20
0
R: Re: summary polr
Hi all, The problem is that when you try to use the function summary of a polr object in a function, it does not work. The problem is not related to the formula or the structure of data involved. It is probably related to the use of the function "vcov" in the code of summary for polr, and the iterative procedure to estimate the Hessian. Anyway, here there is an example extracted from
2012 Nov 14
1
Typo in documentation for reshape?
When I go ?reshape I get told, amongst other things new.row.names logical; if TRUE and direction = "wide", create new row names in long format from the values of the id and time variables. This seems to me to be illogical, surely it should read direction = "long"? Reading the code and observing its behaviour I find that (a) the default for new.row.names is in fact NULL (b)
2011 Nov 30
3
Upgrading R on my EEE PC netbook
I have been successfully been using R on my EEE PC for some while now. Although it uses Xandros I have been able to install various pieces of software by pretending that it was Debian etch. Johannes was kind enough to continue providing binaries on CRAN for a while but I think I am the only person still living in the past as CRAN etch is currently stuck at 2.11.0 and I cannot rely on him to
2007 Dec 06
1
Nine questions about methods and generics
I have a series of question about methods and generics. The questions are interspersed in some text which explains what I want to do, how it works now and why I do not understand well why it works. Questions are written Q1 and so on up to Q9 and always start a new line. The concrete problem is this: it has become customary after a meta-analysis to quote various statistics to give a picture of the
2005 Jun 21
2
Problem trying to use boot and lme together
The outcome variable in my dataset is cost. I prefer not to transform it as readers will really be interested in pounds, not log(pounds) or sqrt(pounds). I have fitted my model using lme and now wish to use boot on it. I have therefore plagiarised the example in the article in RNews 2/3 December 2002 after loading the dataset I source this file
2002 Nov 05
2
Which columns give rise to linear dependency?
Short version If I have a data frame X and I suspect that there is a dependency between the columns how do I confirm that, and how do I tell which subset of columns is involved? ================================== Long version A colleague had been trying to use the SPSS RELIABILITY procedure. It told her that the determinant of the matrix was small. She asked me what that meant and I told her
2009 Jul 28
1
Advice sought about Rd versions
From R 2.9.0 we have the concept of versions for Rd files. The manual is clear about the differences but I am unsure as to what I should do about my existing packages. Is it recommended that I set the version to 1.1 and then fix the errors R CMD check helpfully points out and then subsequently do the same for later versions (the manual mentions version 2 is coming)? What benefit will I gain?
2010 Apr 12
1
R CMD check tells me 'no visible binding for global variable ', what does it mean?
When I run R CMD check on a package I have recently started work on I get the following: * checking R code for possible problems ... NOTE addlinear: no visible binding for global variable 'x' I appreciate that this is only a NOTE and so I assume is R's equivalent of 'This is perfectly legal but I wonder whether it is really what you intended' but I would like to understand
2006 Nov 10
3
Confidence interval for relative risk
The concrete problem is that I am refereeing a paper where a confidence interval is presented for the risk ratio and I do not find it credible. I show below my attempts to do this in R. The example is slightly changed from the authors'. I can obtain a confidence interval for the odds ratio from fisher.test of course === fisher.test example === > outcome <- matrix(c(500, 0, 500, 8),
2008 Feb 18
1
Confused about versions of R and Debian
I have recently acquired an Asus EEE PC which runs a version of Xandros which I believe to be a fork of Debian. I have been using R under various versions of Windows for some years but this is my first move into the world of Unix. I have installed Texlive from a CD and I have successfully added a UK-based repository and installed Texmaker. Now I would like to add R. There are dire warnings on
2006 Aug 10
5
Ampersand Heartburn
Greetings all. I''m using the Microsoft "NorthWind Traders" database "orders" table as test data for the Rico LiveGrid JavaScript. The problem I''m noticing is that some of the records in the "ShipName" field contain ampersands -- which for some reason are not being escaped by Rails. Rails does in fact automatically escape all of the other
2018 Jan 08
2
Proposal: On re-purposing/reorganizing MIR sigils ('&', '$', '%').
When we discussed this our line of thought was like this: - LLVM IR already uses %name for SSA values which is closer to what a vreg is than to what a physreg is. It would be neat to draw that parallel to llvm IR. - We wanted another sigil for physregs so they are easy to differentiate from vregs to allow people to differentiate vregs/physregs even if they don't know all the physreg names of
2011 Mar 12
2
two bugs in rsync 3.0.6 - ampersands in filenames, double quoting required
1) deleting path/to/(Something) Word Word Anotherword--Word Word.pdf IO error encountered -- skipping file deletion I think either the -- is causing it to fail, or more likely, the next filename, which it didn't bother to print out, which has an ampersand in the name, causes it to fail. I am using SSH as a substrate, of course, and I think you guys failed to escape things, so the ampersand
2011 Dec 10
3
Overlaying density plot on forest plot
Dear R User, Please, I am new to R. I want to overlay density plot for predictive interval pooled result in meta-analysis. http://addictedtor.free.fr/graphiques/graphcode.php?graph=114 Regards Frank Peter
2018 Jan 08
0
Proposal: On re-purposing/reorganizing MIR sigils ('&', '$', '%').
On Mon, Jan 8, 2018 at 2:27 PM, Matthias Braun <mbraun at apple.com> wrote: > When we discussed this our line of thought was like this: > > - LLVM IR already uses %name for SSA values which is closer to what a vreg > is than to what a physreg is. It would be neat to draw that parallel to > llvm IR. > - We wanted another sigil for physregs so they are easy to differentiate
2006 Oct 24
3
Error when naming rows of dataset
I get the following error when I try reading in a table. How are 1.1, 1.2, 1.3 duplicate row names? Thx. > table <- read.table('latestWithNumber.txt', header=T) Error in "row.names<-.data.frame"(`*tmp*`, value = c("1.1", "1.2", "1.3", : duplicate 'row.names' are not allowed Yongchuan
2007 Feb 19
3
summary polr
Hi all, I have a problem to estimate Std. Error and t-value by ?polr? in library Mass. They result from the summary of a polr object. I can obtain them working in the R environment with the following statements: temp <- polr(formula = formula1, data = data1) coeff <- summary(temp), but when the above statements are enclosed in a function, summary reports the following error: