similar to: why is text being rasterized with text()

Displaying 20 results from an estimated 8000 matches similar to: "why is text being rasterized with text()"

2009 Jun 05
1
Antialiasing plots and text on different devices
I have a question about antialiasing when R generates bitmaps. (This follows a thread on the ggplot2 mailing list.) I mostly use R on Linux, although I sometimes use it in Mac and Windows as well. On Linux, I've found that plotting shapes 15-18 via cairo results in bad-looking output. The points are not antialiased, and they are jagged and misshapen. Plots generated in Windows also aren't
2006 Dec 13
4
Effect.Opacity on Firefox Mac Dims text
Hey everyone, I have a series of thumbnails that have a loading overlay placed over them when they''re clicked on. The overlay is set to an opacity of .7.. .The onclick code looks basically does this: var loading = document.createElement(''div''); loading.id = ''loading_image''; $(loading).addClassName(''thumb_loading'');
2007 Aug 16
3
multiple colors within same line of text
Hi, I'm interested in using mtext(), but with the option of having multiple colors in the same line of text. For example, creating a line of text where: Red is red and blue is blue How do you create a text argument that lets you do this within mtext()? Thanks, Andrew MGH Cancer Center [[alternative HTML version deleted]]
2001 Aug 02
4
pictex driver and bargraph shading
I'm trying to use the pictex driver for bargraphs, and the shading isn't showing up. Is there any way to get some sort of shading in the plots? A hatch or stipple would be fine, too; just some way to differentiate the bars. The postscript driver won't do, since I'm trying to embed this in a LaTeX document which I'll use pdflatex on and \includegraphics for pdftex doesn't
2006 Jun 20
1
An application's icon raise "Invalid ico file format" during setup
Hi! Installing an application of mine under Wine 0.9.15, the application icon doesn't appear in the desktop and in the Wine -> Programs -> <application> menu because diring the setup I get the following error: --- err:menubuilder:ExtractFromICO Invalid ico file format err:menubuilder:InvokeShellLinker failed to fork and exec winshelllink --- The icon is obviously ok under
2009 Oct 23
2
how do you know which functions are being debugged?
This is kind of a dumb question: I know you can use isdebugged() to find out if a specific function is flagged for debugging, but is there a way to list all the functions that are flagged for debugging? Thanks, Andrew [[alternative HTML version deleted]]
2005 Jan 08
1
Simple Samba Guest printer setup problem
OK, I have a very simple setup problem. I have a server and three printers which I want to share. These printers should need no password. This does not work However when I login and map a network drive I can print just fin How do I bypass the need for a password or network login on these printers. Thanks I am running Fedora 3 core and samba Thanks Chip Here is the printers section of my
2018 Jan 29
0
Rasterize plot in PDF output
Hello everybody out there using R, When putting multiple plots with thousands of data points into a single PDF file, this file can get huge and take a long time to open. The following post describes exactly the same problem in Matplotlib, as well as a nice fix for it: Matplotlib: multipage PDF with rasterized plots Particularly nice about it is, that it only rasterizes the points without
2010 Mar 06
1
converting multiple lines of text to a data frame
I'm trying to find a way for converting multiple lines of text into a table. ?I'm not sure if there's a way where you can use read.delim() to read in multiple lines of text and create the following data frame with something akin to rehape()?. Apologies if there is an obvious way to do this. A: 1 B: 2 C: 10 A: 34 B: 20 C: 6.7 A: 2 B: 78 C: 35 Convert the above lines into the
2004 Apr 13
1
postscript image problem (PR#6763)
Full_Name: Jonathan Lees Version: 1.8.1 OS: GNU/Linux 2.4.20-20.8smp #1 SMP Submission from: (NULL) (152.2.75.114) I am having trouble with the postscript output of images. They have lines on them that are not supposed to be there. I have noticed this on numerous trials of printing various images. I looked at the postscript and I see that it appears to plot each individual block - so perhaps
2008 Oct 29
4
How to get the duplicated elements from a vector?
Dear all, How can I get the duplicated elements from a vector? For example, x <- c("yes", "no", "yes", "yes", "no", "not sure"), how can I filter out all the elements which occured >=2 times? Thanks for any help! Regards, Leon
2004 Aug 20
8
wxruby-swig: where does wxclasses-2.4.2.xml comes from?
Was trying to understand more about the internals of wxruby-swig, where does the big chunk of XML comes from? I saw something similiar in Python, is that massaged out of there? The codes produced by extractxml.rb and wxclasses-2.4.2.xml is quite different from the original header files. Just for example the WxDialog class. OnXXX are non-virtual in WxWidgets, but virtual in wxruby-swig
2010 Aug 16
2
re-order the rows of a data frame accroding to a specified order of some column
Dear all, I have a data frame with several columns, and I have the specified order of a given column. How can I re-order the rows of my data frame accroding to this specified order? for example, x = data.frame( num = 1:26, alpha = letters[1:26], stringsAsFactors=FALSE) z = sample(x$alpha, replace=FALSE) Can I re-order x accroding to z ? Thanks, Leon [[alternative HTML version
2018 Dec 13
2
Documentation examples for lm and glm
Hello, something that has been on my mind for a decade or two has been the examples for lm() and glm(). They encourage poor style because of mismanagement of data frames. Also, having the variables in a data frame means that predict() is more likely to work properly. For lm(), the variables should be put into a data frame. As 2 vectors are assigned first in the general workspace they should be
2008 Jul 18
2
with lapply() how can you retrieve the name of the object
In the following code, I'd like to be able to create a new variable containing the value of the names of the list. a <- data.frame(var.1 = 1:5) b <- data.frame(var.1 = 11:15) test.list <- list(a=a, b=b) # in this case, names(test.list) is "a" and "b" # and I'd like to use lapply() so that # I get something that looks like # var.1 var.2 # 1 a # 2
2010 Apr 09
3
using as.numeric() without generating warning message
I'm interested in testing whether or not a character string is numeric or not as follows: is.na(as.numeric('3')) # returns F is.na(as.numeric('A')) # I'd like this to return T without issuing a warning about NAs introduced by coercion. I guess you could suppress the warning with options(warn=-1), but I was wondering if there's an alternative. Or perhaps an
2009 Feb 21
1
Extracting xy from raster based on raster value
I have a raster (which I called glc), which I read into R as a raster with "raster.create.from.file" from the raster package (R-forge). Values in glc range between 1 and 27 (whole numbers only). I'd like to extract all cells with a value of 1 to create a new raster with only the cells that have a value of 1, or to extract the xy values of all raster cells with a value of 1. Could you
1999 Aug 30
3
model.matrix()
Hi, In R I get the following: > x <- 1:9 > f <- as.factor(1:9) > i <- model.matrix(~x+f) > > attr(i, "assign") [1] 0 1 2 2 2 2 2 2 2 2 whereas in S I get the following: > attr(i, "assign") $"(Intercept)": [1] 1 $x: [1] 2 $f: [1] 3 4 5 6 7 8 9 10 Has anybody written a model.matrix function to get the same result as S?
2004 May 12
1
Antialiasing?
Does wxRuby support font antialiasing on Linux or does it depend on the underlying toolkit? If not, are there plans to include it? If I use wxGTK, is antialiasing automatically enabled? Do I have to do something to make my fonts antialiased? Bill
2018 Dec 14
7
Documentation examples for lm and glm
FWIW, before all the examples are changed to data frame variants, I think there's fairly good reason to have at least _one_ example that does _not_ place variables in a data frame. The data argument in lm() is optional. And there is more than one way to manage data in a project. I personally don't much like lots of stray variables lurking about, but if those are the only variables out