Displaying 20 results from an estimated 5000 matches similar to: "R 2.9.2 crashes when sorting latin1-encoded strings"
2014 Jul 04
2
error al leer una linea desde un archivo de texto
Que raro, habia enviado este email, pero creo que nunca salio de mi
compu ... gracias a todos por sus sugerencias ... eric.
Estimados todos, gracias por las sugerencias, al final lo resolvi de un
modo "carretero" como decimos aca, por el camino largo. Como no eran
demasiados los archivos corte el contenido y lo pegue en un nuevo
archivo y funciono. Sin embargo, sigo sin saber la
2004 Sep 27
1
net ads user and utf8
hello
I am using the samba 3.0.2a windows 2003 server. Samba is connected to W2K
with security = ADS. Same user names contain non english characters.
When I try:
getent passwd - user names don't display correctly.
net ads user - user names don't display correctly.
What is wrong??
-----------
smb.conf
-----------
unix charset = UTF8
display charset = UTF8
----------
/etc/profile
2017 Aug 01
2
special latin1 do not print as glyphs in current devel on windows
Thank you!. My apologies again for not including the console output in my
message before. I sent another e-mail with the output in the meantime, so
it should be a bit clearer now, what I am seeing. In case I missed
something, please let me know.
Yes, I am using latin1 and cp1252 interchangebly here, mostly because
Encoding() is reporting the encoding as "latin1". You presumed correctly
2017 Sep 14
2
special latin1 do not print as glyphs in current devel on windows
This is a follow-up on my initial posts regarding character encodings on
Windows (https://stat.ethz.ch/pipermail/r-devel/2017-August/074728.html)
and Patrick Perry's reply
(https://stat.ethz.ch/pipermail/r-devel/2017-August/074830.html) in
particular (thank you for the links and the bug report!). My initial
posts were quite chaotic (and partly wrong), so I am trying to clear
things up a
2017 Aug 01
3
special latin1 do not print as glyphs in current devel on windows
Upon further inspection, I think these are at least two problems.
First the issue with printing latin1/cp1252 characters in the "80" to "9F"
code range.
x <- c("?", "?", "?")
Encoding(x)
print(x)
I assume that these are Unicode escapes!? (Given that Encoding(x) shows
"latin1" I'd rather expect latin1/cp1252 escapes here, but
2006 Jun 08
3
Reading in a table with ISO-latin1 encoding in MacOS-X (Intel)
Dear colleages in R,
I have earlier been working with R in Linux, where reading in a table
containing Scandinavian letters ("?", "?", and "?") in the header as
part of variable names has not caused any problem whatsoever.
However, when trying to do the same in R running on new MacOS-X (with
an Intel processor) with the same original text table does not seem to
2008 Jan 21
1
MySQL and charsets: latin1 vs. utf8
Hi,
Our public library management software (PMB) is currently running on a
Slackware Linux 12.0 server, with Apache, PHP, MySQL and a few PHP
modules. I'm considering migrating it to CentOS 5.1, because it would be
easier to maintain for updates, and for various other reasons.
Slackware is one of the rare distros that does not default to an utf8
system locale. The default is en_US, and
2009 Oct 10
1
installing any package fails using 'install.packages()' (PR#13993)
Dear all,
I installed my R-2.9.2 on my ubuntu version 9.04 successfully using the
command
sudo apt-get install r-base-dev
The problem is that I cannot install any package.
See my details below:
> install.packages("epicalc")
Warning in install.packages("epicalc") :
argument 'lib' is missing: using
'/home/lmramba/R/i486-pc-linux-gnu-library/2.9'
2010 Oct 01
2
strange interaction between rasterImage and Grid graphics
Dear all,
This may be specific to Mac, I haven't had a chance to test another
platform. Consider this,
plot(1,1,t="n")
rasterImage(matrix(1),1,1,1,1)
library(grid)
grid.rect(gp=gpar(fill="grey"))
The grid.rect covers the full device window as expected. However, when
I resize the window ever so slightly (interactive device) the rectGrob
is suddenly clipped to the previous
2010 Mar 19
2
lattice grob
Dear list,
I'm trying to arrange various grid objects on a page using a
frameGrob. It works fine with basic grobs (textGrob, gTree, etc.), and
also with ggplot2 objects using the ggplotGrob() function. I am
however stuck with lattice. As far as I understand, lattice produces a
list of class trellis, which is eventually displayed using the
plot.trellis method. I am not sure if/how one can
2012 Jan 13
1
checkRd freezes while parsing erroneous preprocessor macros
Dear developers,
I came across with a bug while parsing Rd files.
Given is the following minimal Rd file:
----
\name{foo}
\title{foo}
\description{
#ifdef windows
win
#endifd
#ifdef unix
unix
#endif
}
----
By accident I have a typo at line 6, instead of having #endif I typed #endifd.
If I run checkRd(), parse_Rd(), Rd2HTML(), or others including the command line "R CMD Rconv" R
1997 Jun 12
1
R-alpha: ISO Latin1 and Readline
Does anyone have experience with using the readline library in
conjunction with ISO Latin1 characters?
In response to a prod from Martin Maechler I am trying to convert R so
that it will accept 8-bit characters (and render them correctly in text
and graphics). This appears to work when I type such lines into a file
and source it, but readline seems to intercept any 8-bit characters
I type
2009 Dec 20
1
basic proto question
Dear list,
I made the following example of a proto object that contains some data
and a spline interpolation. I don't understand why test$predict()
fails with this error message:
Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
Best regards,
baptiste
test <- proto(source = data.frame(x=1:10, y=rnorm(10)),
raw = function(.){
2010 May 18
1
lattice::panel.levelplot.raster too picky with unequal spacing
Dear all,
I got a couple of warnings using panel.levelplot.raster,
In panel.levelplot.raster(..., interpolate = TRUE) :
'y' values are not equispaced; output will be wrong
although I was quite sure my data were equally spaced (indeed, I
created them with seq()). A closer look at the source code reveals
that the function tests for exact uniformity in grid spacing,
if
2012 Mar 10
2
Issues in installing rgl in Mac OS 10.6.8
Dear All,
I am trying to install rgl on my mac notebook from the source file. I tried using: /usr/bin/R64 CMD INSTALL rgl_0.92.798.tar.gz and get the following
error message:
checking for X... no
configure: error: X11 not found but required, configure aborted.
ERROR: configuration failed for package ?rgl?
* removing
?/Library/Frameworks/R.framework/Versions/2.14/Resources/library/rgl?
*
2009 Oct 10
1
Errors in installing package "rJava" on Ubuntu (PR#13992)
*Hello,
I have had this serious problem while trying to install package rJava. It is
a requirement by the package JGR and it cannot be downloaded due to the
error indicated below.
I have googled and looked at the FAQ but no solution yet.
Please advise.
Kind regards,
Lazarus
> install.packages("rJava")*
Warning in install.packages("rJava") :
argument 'lib' is
2010 Sep 21
1
puzzle with integrate over infinite range
Dear list,
I'm calculating the integral of a Gaussian function from 0 to
infinity. I understand from ?integrate that it's usually better to
specify Inf explicitly as a limit rather than an arbitrary large
number, as in this case integrate() performs a trick to do the
integration better.
However, I do not understand the following, if I shift the Gauss
function by some amount the integral
2011 Jan 27
3
how to divide each element of a matrix by a specific value per column
Hi,
I'd like to divide each element of a matrix by a specific value per column. These specific values are stored in a list. For example:
> x <- c(1,2,3,4,5)
> y <- matrix(c(1:30), nrow = 6)
Now I want to divide each element in y[,1] by x[1], y[,2] by x[2] etc. I have tried this
> my_function <- function(data, ind) data/ind
> apply(y, 2, my_function, x)
[,1] [,2]
2009 Oct 02
1
trouble with html() in Hmisc
Dear all
On my system html() conversion of a `latex()' object fails. Follows a
dummy example:
> require(Hmisc)
> data(Angell)
> .object <- cor(Angell[,1:2], use="complete.obs")
> tmp <- latex(.object, cdec=c(2,2), title="")
> class(tmp)
[1] "latex"
> html(tmp)
/tmp/RtmprfPwzw/file7e72f7a7.tex:9: Warning: Command not found: \tabularnewline
2008 Dec 27
1
Zipf fitting using R
Dear R-users,
I am new to R and would like to use it for fitting the zipf distribution to
some numeric data that I have. Here's the snippet that I use:
library(VGAM)
X <- read.table(file("~\\mydata.txt", encoding="latin1"))
w <- as.vector(t((X[2])))
w <- w/sum(w)
y <- (1:length(w))
fit = vglm (y ~ 1, zipf, tra=TRUE, weight=w)
zipf(N=NULL,