Displaying 20 results from an estimated 24 matches for "usefancyquotes".
2009 Jul 15
1
Quotes - useFancyQuotes
I need to get the exact sentence, with the quotes:
OPTIONS COORDSYS("Surface1" AS COMPONENT);
but this:
options(useFancyQuotes = F)
paste("OPTIONS COORDSYS(", dQuote("Surface 1"), "AS COMPONENT);" )
give me this:
[1] "OPTIONS COORDSYS( \"Surface 1\" AS COMPONENT);"
And it's not readable as SpatialSQL code by GIS
How to deal with this problem?
________...
2009 Nov 06
1
Fancy quotes on Windows
Hi,
I don't use Windows as my primary OS anymore, so didn't notice this
until recently. In R-2.10.0 under Windows useFancyQuotes is FALSE by
default, but this doesn't seem to affect the rendering of (text) help pages.
This is not a problem if I run via the Rgui or Rterm (via DOS prompt),
as the help pages are rendered in a popup window that understands
directional quotes. However, if I run under emacs/ESS, the help i...
2007 Oct 14
1
Inconsistent behavior of sQuote and dQuote
Dear all
When comparing sQuote("text") and dQuote("text") on MacOS X and Linux FC4
I get an inconsistent behavior (using the new release version R-2.6.0):
sQuote: On Mac I get the correct result "'text'", but on FC4 the
incorrect result "`text?".
dQuote: On Mac I get the correct result "\"text\"", but on FC4 the
incorrect
2011 Feb 18
1
non-ascii characters in R output
...I've
run into trouble with non-ascii characters, as my browser (and
presumably others) does not render such characters correctly. For
example, the 'fancy' single quotes associated with summary.lm are
multi-byte characters on my platform. This particular problem is solved
by options(useFancyQuotes=FALSE). But now I'm concerned about other
non-ascii characters. As an overkill maybe, my current solution involves
capture.output and iconv(..., to="ASCII//TRANSLIT"). Are there other
sources of non-ascii character? Is there a better or general solution?
Best,
Matt
> sessionI...
2012 Aug 10
1
Running odfWeave on its own examples.odt
...here R can see and unpack
it, I get "unable to convert 'examples.odt' to the current locale". I've tried some
searches about UTF8 on Windows, which gave discouraging answers, and also the Sweave
manual suggestions of different options(), e.g., I tried the suggestions regarding
useFancyQuotes but without success.
Things work fine (of course!) in Linux of different flavours, so I suspect this is a
general Win issue, and I'm hopeful there is a simple workaround.
The reproducible code is to source("tester.R") from R prompt or else
Rscript tester.R
where tester.R contains...
2011 Dec 02
2
Sweave problem on Mac OS when using umlauts and summary()
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111202/d63d9021/attachment.pl>
2008 Apr 27
2
R_DEFAULT_DEVICE (PR#11294)
Setting enviroment variable R_DEFAULT_DEVICE causes an error.
The patch below fixes this.
I guess the same goes for R_INTERACTIVE_DEVICE.
--- R-2.7.0/src/library/grDevices/R/zzz.R 2008-04-27 13:49:11.000000000 +0200
+++ R-2.7.0/src/library/grDevices/R/zzz.R.new 2008-04-27 13:59:37.000000000 +0200
@@ -22,7 +22,7 @@
extras <- if(.Platform$OS.type == "windows")
2018 Sep 18
2
Suggested Patch: Adding commas to list of packages after R CMD check
...uote(x), collapse = " "), exdent = 2L)
+ xx <- strwrap(paste(sQuote(x), collapse = ", "), exdent = 2L)
if (length(xx) > 1L || nchar(msg) + nchar(xx) + 1L > 75L)
c(msg, .pretty_format(x))
else paste(msg, xx)
PS. I would also advocate for setting `useFancyQuotes` to `FALSE` by default but it would be better to get more
input from the community.
Thanks!
Best regards,
Marcel
--
Marcel Ramos
Bioconductor Core Team
Roswell Park Comprehensive Care Center
Dept. of Biostatistics & Bioinformatics
Elm & Carlton Streets
Buffalo, New York 14263
This em...
2014 Apr 14
2
R 3.1.0: 'R CMD Sweave' deletes non tex files created upon batch mode exit
...the observed behaviors.
> The test.Rnw file content:
> %% R CMD Sweave test.Rnw
> <<results=tex,echo=false>>=
> system("R CMD BATCH test.R test.out")
> @
> The test.R file content:
> options(echo = FALSE)
> options(useFancyQuotes = FALSE)
> installed.packages()
> On version 3.0.3, the file test.out is created, along with test.tex. test.out contains the output of installed.packages(). I did not include the aforementioned listing directive in test.Rnw here for simplicity.
> On version 3.1.0, the file t...
2013 Mar 28
3
problem with plots with short example.
...his code is here, along with data. it is short, quick, etc.
http://www.quantoid.net/936/Lecture7.R
### R code from vignette source 'Lecture7.Rnw'
###################################################
### code chunk number 1: opts
###################################################
options(useFancyQuotes=F)
###################################################
### code chunk number 2: data1
###################################################
library(foreign)
therms <- na.omit(read.dta("http://quantoid.net/936/2008_difftherm.dta"))
unstate <- unique(therms[,1])
therms$numstate <-...
2008 Sep 12
1
sink file type and Latex (Lyx)
Does anyone know what file type sink is outputting to? I've been
reverting output from R using sink and wanted to add it to my Appendix
in LaTex (Lyx) using "Verbatiminput". However, I get an error message as
LaTex is expecting an ASCII file.
Can I set sink somehow to ASCII or is there another option?
Thanks Joanne
2009 Mar 27
1
Sweave-output causes error-message in pdflatex
Dear list,
Latex/Sweave has trouble processing Sveave-output coming from the
summary-command of a linear Model.
>summary(lmRub)
The output line causing the trouble looks in R like this
Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
In my Sweaved Tex-file that line looks like this
Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1? (actually
in the editor the
2010 Jul 29
1
Sweaving quotes
The significance code line to summary() applied to an lm() fitted model
object is
Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
The corresponding line in the LaTeX source produced by Sweave is
Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
which looks the same in my email (Thunderbird on a Vista machine), but
when I look at the file in WinEdt the quotes
2011 Sep 20
1
Displaying str(zoo) in Sweave
Dear R-helpers,
Please look at the following minimal code.
\documentclass[a4paper]{article}
\begin{document}
<<>>==
library(zoo)
a<-zoo(1:4,order.by=Sys.time()+1:4)
str(a)
@
\end{document}
When I do R CMD Sweave,followed by pdflatex ,and view the final pdf, the
letter surrounding the phrase zoo,
a ***zoo*** series
are messed up.
They are messed up even inside Emacs now that I
2012 Aug 06
2
Straight-quotes for usage and examples sections in PDF docs?
Is there any way to ensure that quotation marks are left as straight
quotes and not converted to curly quotes in the \usage and \examples
sections when the pdf versions of the docs are created?
2009 Oct 30
1
quoted strings in foo.Rd rendered as â
Another anomaly from our rhel5 system, again sessionInfo() below.
When I'm logged in remotely via ssh from my macpro and view
documentation
files in my X11 window, strings in single quotes in the files are all
abbreviated as ? . The same files appear fine when rendered in X11
using the local R, and also appear fine in a terminal window on the
linux machine, so this could easily also be
2009 Dec 22
1
Sweave: font problems with Signif. codes lines
[Environment: Win Xp, Miktex 2.7, R 2.9.2]
In an Sweave document, I'm displaying the results of car:::Anova()
tests, that look like this in the
generated .tex file:
\begin{Soutput}
Type III MANOVA Tests: Pillai test statistic
Df test stat approx F num Df den Df Pr(>F)
(Intercept) 1 0.86 90.38 4 60 <2e-16 ***
---
Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
2018 Sep 18
0
Suggested Patch: Adding commas to list of packages after R CMD check
...= 2L)
> + xx <- strwrap(paste(sQuote(x), collapse = ", "), exdent = 2L)
> if (length(xx) > 1L || nchar(msg) + nchar(xx) + 1L > 75L)
> c(msg, .pretty_format(x))
> else paste(msg, xx)
>
>
>
> PS. I would also advocate for setting `useFancyQuotes` to `FALSE` by default but it would be better to get more
> input from the community.
>
> Thanks!
>
>
> Best regards,
>
> Marcel
>
> --
> Marcel Ramos
> Bioconductor Core Team
> Roswell Park Comprehensive Care Center
> Dept. of Biostatistics & Bioi...
2008 Feb 27
2
Sweave produces gibberish instead of apostrophe in pdf
Dear All,
I try to use Sweave to make a document. But when I use the Sweave()
command on it and build a pdf with pdflatex (3.141592-1.40.3) my
apostrophes are replaced by some gibberish (an 'a' with a hat on it, a
capital A with a arc pointing upwards on it and a capital Y with two
points on it). If I manually replace the apostrophes using the keyboard,
I get a different looking
2013 Mar 28
4
bayesian HLM random effects
Hello, all.
I've been working on this for sometime and was almost at the end/ last chunk of code i would need.... When I received an error. Rather than go to bed and think about it in the morning, I messed with my data and now I am not getting anything. I was up until 4am trying to fix this.
Zip files of my data are attached (the data which ends in 'a' matches with wvsA and the