Displaying 20 results from an estimated 10000 matches similar to: "non-ascii characters in R output"
2011 Mar 06
2
Can body() return a function's body intact, in order, and as characters ready for editing?
Is my understanding correct that the body()
function currently can't return a function's body
intact, in order, and as characters ready for
editing?
My testing and reading of body()'s help indicate
that it can not.
Here's what I'm seeing.
Consider pasting
1+
and a function containing
x^2
together to get
1+x^2
As you can see below, body() reports three
2011 Jan 20
4
puzzled with plotmath II
sorry, I forgot my sessionInfo: please see below.
-------- Original Message --------
Subject: puzzled with plotmath
Date: Thu, 20 Jan 2011 12:48:18 +0100
From: Claudia Beleites <cbeleites at units.it>
To: R Help <r-help at r-project.org>
Dear all,
I'm puzzled with matrix indices in plotmath.
I'm plotting matrix elements: Z [i, i], and I'd like to put that as label.
2011 Mar 22
2
Problem with mclapply -- losing output/data
Hello,
I am running large simulations, which unfortunately I can't really
replicate here because the code is so extensive. I rely heavily on
mclapply, but I realize that I'm losing data somewhere.
There are two worrisome symptoms:
1) I am getting 'NULL' as a return value for some (but not all) elements
of the output when I use mclapply, but not if I use lapply
> tmp2[1:3]
2011 Jan 13
1
Openbugs and rbugs on mac with wine
Hello list,
I?ve been trying to get OpenBUGS running on my mac using the wine
emulator. I can run Openbugs just fine by doing:
wine ~/OpenBUGS312/OpenBUGS.exe
In the terminal, so OpenBUGS works. When I try to run the schools
example using rbugs(), the OpenBUGS process starts in wine, but it
just sits there, no log, no script, no output of any sort. The rbugs
() call makes the init,
2017 Jun 17
2
suggestion to fix packageDescription() for Windows users
Recently I was trying to cite a package where the authors have ?
and ? in their names. I found that on Windows the citation() function
did not return the authors' names at all, but on Linux there was no
problem (sessionInfos at the bottom):
On Windows, no author names are returned:
#---------------
> citation("readr")
To cite package ?readr? in publications use:
(2017).
2011 Feb 08
1
Error in example Glm rms package
Hi all!
I've got this error while running
example(Glm)
library("rms")
> example(Glm)
Glm> ## Dobson (1990) Page 93: Randomized Controlled Trial :
Glm> counts <- c(18,17,15,20,10,20,25,13,12)
Glm> outcome <- gl(3,1,9)
Glm> treatment <- gl(3,3)
Glm> f <- glm(counts ~ outcome + treatment, family=poisson())
Glm> f
Call: glm(formula = counts ~
2017 Jun 17
3
suggestion to fix packageDescription() for Windows users
Hi Duncan,
Thanks for your reply. Yes, it does seem to be specific to the CTYPE
setting to Chinese on Windows. If I set it to English using
Sys.setlocale() there is no problem, then back to Chinese and the
authors disappear:
Sys.setlocale("LC_ALL","English")
citation("readr")
#' To cite package ?readr? in publications use:
#'
#' Hadley Wickham, Jim
2010 Jul 09
2
Compress string memCompress/Decompress
Hello,
I would like to compress a long string (character vector), store the compressed string in the text field of a SQLite database (using RSQLite), and then load the text back into memory and decompress it back into the the original string. My character vector can be compressed considerably using standard gzip/bzip2 compression. In theory it should be much faster for me to compress/decompress
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
2017 Jun 27
3
Windows iconv() "failure" in certain locales
This is a continuation of the R-devel thread with subject
"suggestion to fix packageDescription() for Windows users" :
As I said there, a patch should rather address the underlying
problem in packageDescription rather than a kludgy workaround
patch for citation().
(For that same reason, Ben Marwick proposed to fix
packageDescription() rather than the symptom seen in citation().)
2017 Jun 18
2
suggestion to fix packageDescription() for Windows users
Hi, Duncan
i have forwarded this thread to Nathan, who promised to look into it.
Andrie
On 17 Jun 2017 17:26, "Duncan Murdoch" <murdoch.duncan at gmail.com> wrote:
> On 17/06/2017 9:13 AM, Ben Marwick wrote:
>
>> Hi Duncan,
>>
>> Thanks for your reply. Yes, it does seem to be specific to the CTYPE
>> setting to Chinese on Windows. If I set it to
2014 Dec 15
1
Making iconv portable?
On Dec 15, 2014, at 1:37 PM, Spencer Graves <spencer.graves at prodsyse.com> wrote:
>
>
>> On Dec 15, 2014, at 10:13 AM, Simon Urbanek <simon.urbanek at r-project.org> wrote:
>>
>>>
>>> On Dec 15, 2014, at 12:21 PM, Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote:
>>>
>>>>>>>> Spencer Graves writes:
2011 Mar 01
2
can't open Cairo device
Dear list,
in R under wheezy the following error occurs:
> library(cairoDevice)
> Cairo()
Error in Cairo() : Graphics API version mismatch
It seems to be Debian-specific, as I tried the same under OpenSUSE 11.3
and it worked.
I tried installing cairoDevice via `apt-get install r-cran-cairodevice'
and with `install.packages("cairoDevice")' in R (without any
2014 Dec 15
2
Making iconv portable?
> On Dec 15, 2014, at 12:21 PM, Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote:
>
>>>>>> Spencer Graves writes:
>
>> Hello, All:
>> What would it take to make ?iconv? portable?
>
>
>> I ask, because I want to convert accented characters to
>> vanilla ASCII, thereby converting, e.g., ?Ra?l? to ?Raul?, and
>> Milan
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.
2017 Jun 26
3
suggestion to fix packageDescription() for Windows users
I'd be curious to know what others think of Rich's patch. If it is acceptable, I can spend time that I was going to look at it this week on another bug.
-----Original Message-----
From: Rich Calaway
Sent: Friday, June 23, 2017 6:34 PM
To: Nathan Sosnovske <nsosnov at microsoft.com>; Duncan Murdoch <murdoch.duncan at gmail.com>; Andrie de Vries <apdevries at gmail.com>
2007 Mar 28
2
iconv does not work with french characters
Hello,
I am trying to convert french characters into latin ones using inconv
but I face some problems.
Here is what I am doing in ruby console:
>> $KCODE = ''u''
=> "u"
>> @x = ''x éèçà x''
=> "x éèçà x"
>> Iconv.new(''US-ASCII//TRANSLIT'', ''utf-8'').iconv @x
=> "x ???? x"
2011 Jan 26
0
Can not invoke maxent() of library(dismo) in Mac OSX
Dear R-helpers,
I can not invoke maxent() in Mac OSX. Could you give me any directions
on that? Thank you in advance.
Here is my info:
# (1) the error
> me <- maxent(predictors, occtrain, factors='biome')
me <- maxent(predictors, occtrain, factors='biome')
Error in .jcall(mxe, "S", "fit", c("autorun", "-e", afn, "-o",
2017 Jun 29
1
Windows iconv() "failure" in certain locales
>>>>> Uwe Ligges <ligges at statistik.tu-dortmund.de>
>>>>> on Wed, 28 Jun 2017 18:45:59 +0200 writes:
> On 27.06.2017 17:36, Martin Maechler wrote:
>> This is a continuation of the R-devel thread with subject
>> "suggestion to fix packageDescription() for Windows users" :
>>
>> As I said there, a
2011 Feb 25
4
Error
Hi, I am running the following script for a different (much larger data
frame):
DF = data.frame(read.table(textConnection(" A B C D E
1 1 a 1999 1 0
2 1 b 1999 0 1
3 1 c 1999 0 1
4 1 d 1999 1 0
5 2 c 2001 1 0
6 2 d 2001 0 1
7 3 a 2004 0 1
8 3 b 2004 0 1
9 3 d 2004 0 1
10 4 b 2001 1 0
11 4 c 2001 1 0
12 4 d 2001 0