similar to: printing ISO/8859-1 characters

Displaying 20 results from an estimated 1100 matches similar to: "printing ISO/8859-1 characters"

2005 Jan 05
4
make R package for windows on Linux
Hi, I made a package on a linux box. All worked fine. The package contains only R code (no C). I then wanted to make a zip file so that I could test the package on a windows machine. I have tried all the obvious ways to do this (and even some that are not!), but to no avail. The only instructions I find about building packages for windows (e.g. mypkg.zip) seem to imply that the build be done
2004 Nov 29
1
problems with R-2.01 build with Mandrake 10.1
I recently installed Mandrake 10.1 on my laptop, downloaded the latest version of R, compiled it and ran it. To my surprise I discovered that the X11() command returned an error to the effect that X was not available. Examining R config.log I noticed that there were several complaints about X and tcl in there. Basic include files, such as X11/X.h were not found. I have previously compiled
2005 Jan 21
2
Windows plots & fontsize
I recently wrote a package that runs on both Linux and Windows. The functions fetch data to an SQL database and make diverse plots, usually with many labels and annotations. I recently noticed that on SOME windows computers the fonts in the plots were too large, which caused labels to overlap. On other windows computers this does not happen. However on both computers the command
2005 Jun 22
2
A polar.plot BUG in plotrix 1.3.3 ?
Hi, I just updated to R-2.1.1 and updated packages acordingly However, after the update, routines that use polar.plot did not function as correctly. In plotrix 1.3.3 the polar.plot function does scale label.pos to radians prior to calling radial.plot Hence, the command polar.plot(c(5,10,5,0),c(-10,0,10,20),rp.type='P',
2005 Jun 15
1
Getting the character set
Hi R-gurus, In python one can do >>> import string >>> print string.letters and get the characters in the local character set. This feature is often useful in Python, and if I could find it in R I could make good use of it. In R both Sys.getlocale() and localeToCharset() can tell me which charset I am using, but I haven't found a way to print out the actual characters.
2006 Aug 08
1
locating intervals (corrected version)
I have corrected a typo in my previous posting. In what follows the line with the inequality is correct Hi , I have two sorted vectors X and Xi, where the range of Xi lies within the range of X. For an element in Xi, I want to find the neigbouring data in X, e.g. find an index ix so that for element number k, then X[ix[k]] < Xi[k] < X[ix[k] +1] # also OK with "<=" on either
2006 Aug 08
1
locating intervals
Hi , I have two sorted vectors X and Xi, where the range of Xi lies within the range of X. For an element in Xi, I want to find the neigbouring data in X, e.g. find an index ix so that for element number k, then X[ix[k]] < X[k] < X[ix[k] +1] # also OK with "<=" on either one, but not both This is easy to code by looping over the data in X,Xi, but I suspect there may be a
2004 Dec 14
2
plot with dates
Hi, I am trying to understand the behaviour of the plot function. If I have novdate <- as.Date("2001/11/1") + (0:29) y <- 1:30 b <- data.frame(novdate,y) then plot(b$novdate,b$y) will produce a plot where the x-ticmarks are given as dates (Nov 04, Nov 09 etc), but plot(b) will produce a plot where the x-tickmars are integer values (#day since Jan 1st 1970) In the first
2016 Mar 09
2
How to install Avaya 4610SW in Asterisk?
Hi ! I want to install a Telephone IP Avaya 4610SW in my Asterisk 11, but I cant install. It asks a TFTP/HTTP Server, but is necessary I install it in mu Asterisk Server for works my Telephone? The manual is here https://downloads.avaya.com/css/P8/documents/003880182 Thanks in advanced.
2001 Feb 04
4
Grim Fandango in wine
Hey all, It's a thorn in my side, I had monkey island 3 running in wine, but this one just doesn't cooperate. The setup program exits with a problem copying install files (error 112, if it means anything). If anyone has got it working, let me know. Thanks
2017 Oct 05
0
working with ordinal predictor variables?
I would consider this is a question for a statistics forum such as stats.stackexchange.com, not R-help, which is about R programming. They do sometimes intersect, as here, but I think you need to *understand what you're doing* before you write the R code to do it. Obviously, IMO. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and
2010 Dec 13
1
predict.lm[e] with formula passed as a variable
Dear all, In a function I paste a string and convert it to a formula which I pass to lm[e]. The idea is to write a function which takes the name of the response variable and the explanatory variable and the data frame as an argument and calculates an lm[e]. (see example below) This works fine, but if I want to make a prediction on this model, R complains that the object holding the formula
2010 May 04
1
Lazy evaluation in function call
Hi everybody, how is it possible to refer to an argument passed to a function in the function call? What I like to do, is something like f <- function(x,y) x+y f(2, x) # should give 4 The problem is of course that x is only known inside the function. Of course I could specify something like f(z<-2,z) but I'm just curious whether it is possible to use a fancy combination of eval,
2010 Jun 21
2
list() assigning the same value to two items
Hi everybody, I'd like to have a list with two elements, where both elements have the same value: z <- list(a=1, b=1) If it happens, that I've to change the value, I've to assure that I change both. This is error prone. Hence, a better way to achieve this is to define: tmp <- 1 z <- list(a=tmp, b=tmp) Now, I'm wondering if it is possible to make this more compact: z
2011 Jan 05
1
Minimum of an ordered factor
Hi everybody, Is there a particular reason, why this code does not work as intended: z <- factor(LETTERS[1:3], ordered = TRUE) u <- 4:6 min(z[u > 4]) Error in Summary.factor(2:3, na.rm = FALSE) : min not meaningful for factors I agree that min is indeed not meaningful for not ordered factors, but it makes sense for ordered factors. Especially since z[3] <
2012 Jul 02
5
ggplot: dodge positions
Dear all, I want to get a series of boxplots (grouped by two factors) and I want to overlay the original observations and the following code does almost what I want: library(ggplot) ddf <- data.frame(x=factor(rep(LETTERS[1:4], each=30)), y = runif(120,0,10), grp = factor(rep(rep(1:3, 10), 4))) ggplot(ddf, aes(x, y, colour=grp)) + geom_boxplot() + geom_point() Yet the position of the points
2012 Oct 31
1
aggregate.formula: formula from string
Dear all, I want to use aggregate.formula to conveniently summarize a data.frame. I have quiet some variables in the data.frame and thus I don't want to write all these names by hand, but instead create them on the fly. This approach has the advantage that if there will be even more columns in the data.frame I don't have to change the code. I've hence tried to construct a formula
2009 Jul 06
3
Speed up code, profiling, optimization, lapply vs. loops
High everybody, currently I'm writinig a package that, for a given family of variance functions depending on a parameter theta, say, computes the extended quasi likelihood (eql) function for different values of theta. The computation involves a couple of calls of the 'glm' routine. What I'm doing now is to call 'lapply' for a list of theta values and a function, that
2005 Jan 06
4
ices config problems
*** the following config: <input> <module>playlist</module> <param name="type">script</param> <param name="file">/radio/getnextsongpath</param> </input> gets me: Could not find a valid playlist file. Ices Exiting... *** the following header of the config file: <?xml
2010 Jul 20
1
Telling R CMD check where to find libraries
Hello everybody, Currently I'm developing a library, which uses some functions from another package (namely plotrix). Consequently, I listed this dependency in the DESCRIPTION file. When I try to run "R CMD check mypackage", the check fails, for the library plotrix cannot be found on the system. As far as I understood "R CMD check" uses --vanilla implicitly, thus, no