similar to: Encoding problems.

Displaying 20 results from an estimated 700 matches similar to: "Encoding problems."

2007 Aug 27
1
R 2.5.1 - Rscript through tee
Hi, people. I met a little problem for which someone might have a solution. Let's say I have an executable file (named "pp.R") with this contents: #!/usr/bin/Rscript options(echo=TRUE) a <- 1 Sys.sleep(3) a <- 2 If I execute "./pp.R" at the shell prompt, the output shows the timely progress of the script as expected. If I use "./pp.R | tee
2008 Feb 14
1
Small encoding question
Dear developeRs, Compilation of the latest version (0.9-5) of my actuar package fails with r-release MacOS_X ix86 on CRAN; see http://www.R-project.org/nosvn/R.check/r-release-macosx-ix86/actuar-00check.html All errors come from accented letters in comments in latin-1 encoded files (except hierarc.R which is in UTF-8, my bad). Encoding is declared as latin-1 in DESCRIPTION. The package
2006 Feb 23
1
Tiny documentation error for ?options (PR#8633)
Hi, people. The output produced by "?options" contains: 'expressions': sets a limit on the number of nested expressions that will be evaluated. Valid values are 25...500000 with default 1000. [...] and a bit further down: The 'factory-fresh' default settings of some of these options are [...] 'expressions'
2006 May 15
2
Truncated labels in hist (PR#8864)
Hi, people. Executing the following command: hist(rpois(100,5), labels=TRUE) yields a graphic in which some labels are truncated (on an X11 device). The truncated labels are those over the highest bars. The hist function should ideally manage enough room for the labels, automatically. (Specifying ylim solves my problem, but yet, hist could be frienlier.) --please do not edit the
2007 Oct 27
1
having problems re-ordering a dataframe
Dear R users, I need to reorder a dataframe using 3 variables for the determine the sorting order. When I create a simple dataframe to test the method, things work as I expected: a1 <- rep(1:10, each=8) a2 <- rep(rep(1:2, each=4), 10) a3 <- rep(c(1:4),20) (a <- data.frame(a1, a2, a3)) for each combination of a1 and a2, a3 is increasing t <- order(a$a1, a$a2, rev(a$a3)) b
2006 Feb 01
1
Difficulty with qqline in logarithmic context
Hi, R friends. I had some difficulty with the following code: qqnorm(freq, log='y') qqline(freq) as the line drawn was seemingly random. The exact data I used appears below. After wandering a bit within the source code for "abline", I figured out I should rather write: qqnorm(freq, log='y') par(ylog=FALSE) qqline(log10(freq)) par(ylog=TRUE)
2009 Jul 23
2
alternative to rbind within a loop
Hi, I often have to do this: select a folder (directory) containing a few hundred data files in csv format (up to 1000 files, in fact) open each file, transform some character variables in date-tiime format make into a dataframe (involves getting rid of a few variables I don't need concatenate to the master dataframe that will eventually contain the data from all the files in the
2009 Mar 10
4
puzzled by math on date-time objects
Hi, I don't understand the following. When I create a small artificial set of date information in class POSIXct, I can calculate the mean and the median: a = as.POSIXct(Sys.time()) a = a + 60*0:10; a [1] "2009-03-10 11:30:16 EDT" "2009-03-10 11:31:16 EDT" "2009-03-10 11:32:16 EDT" [4] "2009-03-10 11:33:16 EDT" "2009-03-10 11:34:16
2010 Apr 28
2
Size limitations for model.matrix?
Hello, I am running: R version 2.10.0 (2009-10-26) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 on a RedHat Linux box with 48Gb of memory. I am trying to create a model.matrix for a big model on a moderately large data set. It seems there is a size limitation to this model.matrix. > dim(coll.train) [1] 677236 128 > coll.1st.model.mat <-
2004 Jan 21
0
Summary: Changing workspace from within an R session
Thanks to Frank Harrell, Brian Ripley, Andy Liaw, Jeff Laake and Sean Davis for their usefull comments regarding "navigation" between valid R directories. Jeff recommanded the Mark Bravington package that can be found at: (ftp://ftp.marine.csiro.au/software/bravington/). I looked at the package and found that it can do a lot more than what I asked for. At this time I was not prepared
2007 Jul 31
1
Data mining tools
Hello there, apologies for cross-posting my question is not an S/R question but there is so much knowledge concentrated in those lists that I thought someone could point me in the right direction. A few months ago I read an article in a referenced journal comparing some data mining programs, among which there was Insightful's I Miner, SAS' Entreprise Miner, SPSS' Clementine (I think)
2010 Feb 05
2
Importing data coming from Splus into R.
Hello there, I spent all day yesterday trying to get a small data set from Splus into R, no luck! Both, Splus and R, are run on a 64-bit RedHat Linux machine, the versions of the softwares are 64-bit and are as what follows: Splus: TIBCO Software Inc. Confidential Information Copyright (c) 1988-2008 TIBCO Software Inc. ALL RIGHTS RESERVED. TIBCO Spotfire S+ Version 8.1.1 for Linux 2.6.9-34.EL,
2004 Jan 20
3
Changing workspace from within an R session
Hello R-users, is it possible to navigate from one workspace to the other from within an R session or does one has to close R and restart it from the directory where resides the desired workspace? For example from Splus I have this little function, see at the end, which I used all the time to navigate between valid Splus directories. I find this particularly usefull when I develop new
2001 Feb 16
1
different_languages_problem
Hi, what to do with this? thanks in advance [serge@rex serge]$ wine write.exe Invoking /opt/wine/bin/wine.bin write.exe ... For language 'fr' several language ids were found: fr_FR - 040C; fr_BE - 080C; fr_CA - 0C0C; fr_CH - 100C; fr_LU - 140C; Instead of using first in the list, suggest to define your LANG environment variable like this: LANG=fr_FR Wine exited with a successful status
2017 Apr 28
2
Unable to add a particular member to group (Samba 4.6.3)
On Fri, 28 Apr 2017 11:01:14 -0400 Luc Lalonde <Luc.Lalonde at polymtl.ca> wrote: > Hello Rowland, > > Is this what you mean? > > [root at roquefort ~]# echo $LANG > fr_CA.utf8 > What I was trying to get at is, does your username have any of those funny marks above some of the letters (you can tell I am English, I don't know the correct name for them because we
2004 Jan 08
3
Installing R on 64-bit Solaris 2.8 --- follow-up
Hello R-users, thanks to Brian Ripley and Roger Peng for there prompt replies on installing R on a Solaris 64-bit machine. R is now running and seems to be doing fine. I realy would like to have access to the manuals so I can climb most of the learning curve on my own -- I am a long time user of Splus, hence I am not expecting the learning curve to be too steep. On the Sun machine that R is
2006 May 27
0
Correction to ?alist (PR#8904)
Hi, people. ?alist says: 'alist' is like 'list', except in the handling of tagged arguments with no value. As written, this description is misleading. For example: > list(e=3+5) $e [1] 8 > alist(e=3+5) $e 3 + 5 We are not in the situation of tagged arguments with no value, and then, clearly, 'list' and 'alist' behave
2006 Jun 03
0
Irregularity in stem() display (PR#8934)
Hi, R people. Consider the following small R session: ======================================================================> > a <- c(8.48, 9.58, 9.96) > stem(a) The decimal point is at the | 8 | 8 | 5 9 | 9 | 6 10 | 0 > stem(round(a,1)) The decimal point is at the | 8 | 5 9 | 9 | 6 10 | 0
2006 Feb 22
1
Spurious output white line in R script (PR#8631)
I noticed that R scripts produce a spurious white line after output. For example, the following shell script, #!/bin/sh R --slave --vanilla <<EOF cat("Hello\n") EOF when made executable under the name ``hello`` along the search path, behaves like this: $ hello | od -bc 0000000 110 145 154 154 157 012 012 H e l l o \n \n 0000007 The second newline is
2008 Apr 15
0
Small memory leak in plot on OS X (PR#11170)
Full_Name: Arnaud Bergeron Version: 2.6.2 OS: Mac OS X 10.5.2 Submission from: (NULL) (69.157.224.197) When I run the following loop repeat { plot(seq(5), seq(5)) } the memory consumed by the process goes up by a small amout each time. I tried this with the quartz() and pdf() output devices. Only a single output device is created by the process and is repeatedly overwritten by plot(). Also