Displaying 20 results from an estimated 1000 matches similar to: "Possible encoding bug in sub()"
2018 Dec 10
0
Possible encoding bug in sub()
>>>>> Korpela Mikko (MML)
>>>>> on Sat, 8 Dec 2018 18:42:30 +0000 writes:
> I noticed that sub() gives unexpected results for the following test
> case. In the test case, the (initial) input is ASCII but the
> replacements are UTF-8. The first sub() produces an UTF-8 result with
> an "unknown" Encoding. This makes the result
2018 Feb 07
1
Possible bug in package installation when R_ICU_LOCALE is set
On a Windows computer (other platforms not tested), installing a
package from source may fail if the environment variable R_ICU_LOCALE
is set, depending on the package and the locale.
For example, after setting R_ICU_LOCALE to "fi_FI",
install.packages("seriation", type = "source")
(package version 1.2-3) fails with the following error:
** preparing package for
2018 Apr 26
1
Possible bug in package installation when R_ICU_LOCALE is set
(Belated) thanks for the confirmation, Ista. I just reported this issue on the R bug tracker:
https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17412
Best regards,
- Mikko
-----Alkuper?inen viesti-----
L?hett?j?: Ista Zahn [mailto:istazahn at gmail.com]
L?hetetty: 7. helmikuuta 2018 17:05
Vastaanottaja: Korpela Mikko (MML)
Kopio: r-devel at r-project.org
Aihe: Re: [Rd] Possible bug in
2009 Dec 31
3
XML and RCurl: problem with encoding (htmlTreeParse)
Hi,
I'm trying to get data from web page and modify it in R. I have a
problem with encoding. I'm not able to get
encoding right in htmlTreeParse command. See below
> library(RCurl)
> library(XML)
>
> site <- getURL("http://www.aarresaari.net/jobboard/jobs.html")
> txt <- readLines(tc <- textConnection(site)); close(tc)
> txt <- htmlTreeParse(txt,
2016 May 18
3
[patch] Error in reg-tests-1c.R (R-devel)
I get an error when running "make check" after building R-devel r70629
on Ubuntu 14.04. Here are the relevant lines in the file
"reg-tests-1c.Rout.fail":
> ## m1z uses match(x, *) with length(x) == 1 and failed in R 3.3.0
> ## PR#16909 - a consequence of the match() bug; check here too:
> dv <- data.frame(var?1 = 1:3, var?2 = 3); dv[,"var?2"]
2016 May 18
2
[patch] Error in reg-tests-1c.R (R-devel)
On 18/05/16 13:50, Martin Maechler wrote:
>>>>>> Mikko Korpela <mikko.korpela at helsinki.fi>
>>>>>> on Wed, 18 May 2016 13:05:24 +0300 writes:
>
> > I get an error when running "make check" after building
> > R-devel r70629 on Ubuntu 14.04.
> > Here are the relevant
> > lines in the file
2013 Apr 11
2
(no subject)
Dear all,
Is there a quick and easy way of converting utf characters to the \uxxxx
form (necessary e.g. for packages)? I mean something working like this:
> utf2uxxxx("õäöü")
[1] "\u00f5\u00e4\u00f6\u00fc"
It is easy to program but perhaps someone already has implemented this. (I
couldn't find anything useful from searches incl RSiteSearch).
Thanks in advance,
Kenn
2009 Oct 20
2
Problems importing Unix SAS .ssd04 file to R (Win)
Hello,
I'm trying to import a SAS file made using SAS on Unix. Currently I'm
using SAS on Windows and I'm trying to import that .ssd04 file to R.
The file name of the file is testfile.ssd04 and it is located in
'M:\sasuser'. I'm using Windows XP and R 2.91. Basically what I'm
doing is
############ r code ##############
> library(foreign)
> sashome <-
2008 Mar 28
1
How to schedule R scripts?
useRs,
Is there a way to schedule R scripts? I would like to run certain
scripts three times a day. I'm running R on Windows XP.
> sessionInfo()
R version 2.6.0 (2007-10-03)
i386-pc-mingw32
locale:
LC_COLLATE=Finnish_Finland.1252;LC_CTYPE=Finnish_Finland.1252;LC_MONETARY=Finnish_Finland.1252;LC_NUMERIC=C;LC_TIME=Finnish_Finland.1252
attached base packages:
[1] splines grid stats
2008 Feb 21
1
Selecting timestamps
R-users,
I have two vectors (of timestamps)
d1 <- as.POSIXct(strptime("2.2.2002 07:00", format="%d.%m.%Y %H:%M"))
d2 <- as.POSIXct(strptime("4.2.2002 07:00", format="%d.%m.%Y %H:%M"))
seq1 <- seq(d1, d2, "hours")
seq1
d3 <- as.POSIXct(strptime("2.2.2002 15:22", format="%d.%m.%Y %H:%M"))
d4 <-
2008 Jun 30
2
Plotting question: Problem with strwidth in 2.7.1
R users,
I have a problem with function strwidth in 2.7.1. I'm trying to set
the plot margins in a way that horizontal
column labels will fit to the graph. tmp.t is a list of data.frame
objects. This code works well in 2.6.0.
...snip..
library(gplots)
for (i in names(tmp.t)) {
bmp(filename=paste(i, "_", Sys.Date(), ".bmp", sep=""),
width=1038,
2010 Jul 23
1
model.tables call fails with "Error in inherits(object, "formula")"
Hello,
I noticed that model.tables fails when applied to an aov() fit if called
inside a function. The problem seems to occur when as.formula is used
inside a function on a string containing
"<formula> + Error( x / y )"
The reason I tried to use as.formula is to generate dynamic calls to aov().
Here is a minimal example illustrating the problem:
## Example
test <-
2010 Feb 08
4
Problem with R on USB-drive
Hi,
I installed R on USB-drive, but when I run Rgui.exe from bin folder, I get
this error:
-----------------------
R version 2.10.1 (2009-12-14)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for
2009 Sep 17
1
RCurl and Google Scholar's EndNote references
Hi!
I've performed a Google Scholar Search using a query, let's say "Frank
Harrell", and parsed the links to the EndNote references from the resulting
HTML code. Now I'd like to download all the references automatically. For
this, I have tried to use RCurl, but I can't seem to get it working: I
always get error code "403 Forbidden" from the web server.
2009 Sep 28
1
Sweave, TEXINPUTS problem
Hi,
I'm trying to use Sweave in my .tex-documents using
\usepackage{Sweave}
notation. I have this line in my .bash_profile
export TEXINPUT=.:/Users/jrara/Library/Frameworks/R.framework/Resources/share/texmf:$TEXINPUTS
When trying to typeset this .tex document, I get an error message saying
ERROR: LaTeX Error: File `Sweave.sty' not found.
I tried to google this problem but could not
2009 May 12
4
different results on linux and windows
Dear R experts,
we are preparing an R-package to compute the Oja Median which contains
some C++ code in which random numbers are needed. To generate the random
numbers we use the following Mersenne-Twister implementation:
// MersenneTwister.h
// Mersenne Twister random number generator -- a C++ class MTRand
// Based on code by Makoto Matsumoto, Takuji Nishimura, and Shawn Cokus
// Richard J.
2010 Apr 29
1
data.table error
I'm trying to learn data.table package but I get a following annoying
error message:
> install.packages("data.table")
trying URL 'http://www.freestatistics.org/cran/bin/macosx/universal/contrib/2.10/data.table_1.2.tgz'
Content type 'application/x-gzip' length 66823 bytes (65 Kb)
opened URL
==================================================
downloaded 65 Kb
The
2014 Jan 15
4
[PATCH 1/4] hivex: Python 2.6 does not have sysconfig.
---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 6785037..203f34f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -329,8 +329,8 @@ AS_IF([test "x$enable_python" != "xno"],
AC_MSG_CHECKING([for Python extension suffix (PEP-3149)])
if test -z "$PYTHON_EXT_SUFFIX"; then
2016 May 19
0
[patch] Error in reg-tests-1c.R (R-devel)
>>>>> Mikko Korpela <mikko.korpela at helsinki.fi>
>>>>> on Wed, 18 May 2016 14:18:20 +0300 writes:
> On 18/05/16 13:50, Martin Maechler wrote:
>>>>>>> Mikko Korpela <mikko.korpela at helsinki.fi> on Wed, 18
>>>>>>> May 2016 13:05:24 +0300 writes:
>>
>> > I get an error
2016 May 18
0
[patch] Error in reg-tests-1c.R (R-devel)
>>>>> Mikko Korpela <mikko.korpela at helsinki.fi>
>>>>> on Wed, 18 May 2016 13:05:24 +0300 writes:
> I get an error when running "make check" after building
> R-devel r70629 on Ubuntu 14.04.
> Here are the relevant
> lines in the file "reg-tests-1c.Rout.fail":
> > ## m1z uses match(x, *) with