similar to: Why color changed in ps.file?

Displaying 20 results from an estimated 20000 matches similar to: "Why color changed in ps.file?"

2000 Aug 04
1
xlab=expression(...) won't work.
Dear all, I found that the plotmath seems won't work on xlab in plot (and other plot functions including matplot, contour, ...): > plot(1:10, 1:10, xlab=expression(alpha)) the plot shows nothing for x-label. My R-version is R.1.1.0 > version _ platform Windows arch x86 os Win32 system x86, Win32 status major 1
2004 Oct 21
2
How to calculate a double integral ...?
Dear R-Friends, How can I calculate a double integral like \int_a^b \int_c^y g(x, y) dx dy where a, b, c are constants, g(x, y), e.g., g(x, y) = tan(x + y). I tried to nested integrate() and adapt(), but none of them working, seemingly due to the limits can not be specified constants. Best regards, C. Joseph Lu Department of Statistics National Cheng-Kung University Voice:
2002 Sep 08
2
Error on "Load source file" of iESS
Dear R and ESS users, I got the following error when trying to load a source file (smart.R in directory E:\R\) into XEmacs through the menu iESS and "Load source file": Error in file(file, "r") : unable to open connection In addition: Warning message: cannot open file `E:Rsmart.R' It seems the slash "/" or "\" being missing, but I don't know
2000 Dec 20
1
Question about coplot() ...
Dear R-friends, For the following data: > xy x y i 1 731 0.313 2 2 739 0.340 2 3 790 0.373 2 4 855 0.451 2 5 980 0.608 2 6 575 0.156 1 7 608 0.207 1 8 630 0.249 1 9 670 0.332 1 10 838 0.377 1 11 964 0.466 1 > coplot(y ~ x|i, data=xy) coplot gives 3 panels, rather than 2, namely one for i=1 and one for i=2. Futhermore, when I extand data fram xy to have i=3 as follows:
2000 Dec 22
1
Found "answer" to my question on MTB's INDICATOR
Dear R-Friends, Sorry to bother everyone with my earlier question: "Do we have similar R function to work like Minitab's INDICATOR?" I found the way to make things work: e.g., > x <- c(2,2,5,3,6,5,NA) > model.matrix(~ factor(x) - 1) factor(x)2 factor(x)3 factor(x)5 factor(x)6 1 1 0 0 0 2 1 0 0 0
2001 May 01
1
How to use install.packages()
Dear R-friends, As the binary windows version of R being distributed, what is the correct way to install contributed packages without using winst.exe as before? The answer in "R for Windows FAQ" says: "You can install pre-compiled packages either from CRAN or from a local .zip file by using install.packages: see its help page." But the information available in
2006 Oct 23
1
Color eps/ps output from specialized plots?
Hello, First a disclaimer :) I am very new to using R. I am generating some plots and eventhough I can get colored output in the encapsulated postscript files in the simplest of commands (e.g. plot(1:10,1:10, type="l", col="red") ), it does not work for the particular plots I want. It works on the screen. Here is an example taken out from "Mixed-Effects Models in S and
2005 Oct 11
3
Is this correct?
Dear userR, With the following results, are they correct or acceptable? > x <- c(1.4, 1.2, 2.8) > sum(x) [1] 5.4 > sum(x) == 5.4 [1] FALSE > (1.4 + 1.2 + 2.8) - 5.4 [1] -8.881784e-16 > (1.4 + 1.2) - 2.6 [1] -4.440892e-16 > 2.6 - 1.5 - 1.1 [1] 0 > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor
2002 May 11
4
Is this a bug of pweibull()?
In rw1050, I found that > pweibull(3:10, 2) [1] 0.9998766 0.9999999 1.0000000 1.0000000 NaN NaN [7] NaN NaN Warning message: NaNs produced in: pweibull(q, shape, scale, lower.tail, log.p) more surprisingly, > pweibull(3:10, 2.1) [1] 0.9999566 1.0000000 1.0000000 -Inf NaN NaN [7] NaN NaN Warning message: NaNs produced in: pweibull(q,
2000 Dec 26
1
A "bug" in Rconsole?
Dear R-friends, After change (and saved) font style to "bold" in GUI preferences from menu-bar Edit, R 1.2.0, Win98, the "buflines" in the file Rconsole changed to "bufiles" and that causes error in invoking R next time. Is this a bug? Merry Christmas & Best regards, C. Joseph Lu Department of Statistics National Cheng-Kung University Tainan, Taiwan
2000 Dec 22
1
Do we have similar function to Minitab's INDICATOR?
Dear R-Friends, Do we have a similar R function to work like Minitab's INDICATOR? INDICATOR C2, C11-C15 C2 C11 C12 C13 C14 C15 2 1 0 0 0 0 2 1 0 0 0 0 5 ------> 0 0 0 1 0 3 0 1 0 0 0 6 0 0 0 0 1 5 0 0 0 1 0 * * * * *
2002 Jan 10
0
xyplot() in Package lattice seems won't work?!
Please forgive me if this has been asked and answered, since I just can't find out. As I try the example given in the help page of xyplot() as follows: > library(lattice) Loading required package: grid Attaching package `lattice': The following object(s) are masked from package:base : levels > data(quakes) > xyplot(long ~ lat , data = quakes) R crashed!
2003 Oct 04
1
How to use panel.qqmathline?
Dear R users: How can I use panel.qqmathline, in package lattice, to add straight lines onto the plots generated by qqmath? I read help pages of qqmath, panel.qqmathline, xyplot, ..., but just can't one example that shows how to make it work. For example, > data(sleep) > qqnorm(~ extra | group, data=sleep, aspect=1) how can I use panel.qqmathline? Thanks very much for your help,
2005 Mar 07
2
How can we ring a bell in Windows?
Hello useRs, Is there a way to write code in R to ring a bell in Windows? Best regards, C. Joseph Lu Department of Statistics National Cheng-Kung University Tainan, Taiwan ROC _______________________________________________________________________
2002 Jan 10
1
When the "official" copy will be corrected?
Since I just experienced another crash on R 1.4.0 for Windows (this time is on plot(x, y) after using gls() of package nlme) and am told (thanks Andy) that is might due to the "official" version of binary copy. I am also told that "The one provided by Prof. Ripley is known to work. This has been asked several times on the list." Then, I am wondering when the
2000 Dec 18
1
How can I get "A$Title"?
Dear R-friends, I have whole bunch of objects, say, A, B, ..., Z, all of them are "list" and haveing "Title" (a character string) as their first element. E.g., > A$Title [1] "Airplane Component" What I like to do is to find a way to printout all the Titles at one time. I tried the following: > paste(LETTERS, "Title", sep="$") ->
2004 Mar 29
1
White background in PS pictures
Hi all I am using R to produce postscript pictures via the postscript command. I have never had any problems... until now, when I want to inlcude my .ps file is a LaTeX document *without* a white background. (If it's important, I'm using the prosper class with the whitecross option, so the background in blue.) I would like my .ps file to have a white background. If I read the help
2003 Jun 05
1
dev.copy2eps: Why did the colors come into my postscript output?
On a RedHat 7.3 system with R-1.6.1, I did this > x11(width=3.5,height=4,colortype="gray") Then plotted (with matplot) a nice looking no-color graph on the screen, then I did this: > dev.copy2eps(file="test.eps",height=4,width=3.5) I was surprised that the output in the eps file included the colored lines from the plot, even though the screen device was set to
2002 Aug 06
1
Questions about lexical scope
Dear R-users, The numerical integration example given in Gentleman and Ihaka (2000), "Lexical Scope and Statistical Computing," JCGS, 9, 491-508, is very interesting and helpful in understanding how lexical scope is about. However, I got some questions that I just can't figure out. First all, allow me to copy the two functions given by the authors: midpoint <- function(f, a,
2004 May 06
1
Printing ps pictures with transparent b'ground
Hi all I wish to create a ps file of a picture produced in R. With my limited R, I see two ways: 1. Print direct to the postscript device 2. Print to the screen, and save to ps using dev.print. I want a white (not transparent) background. Option 1 above works fine, but 2 does not: even when I say I want a white background, I get transparent; perhaps I misread the help files. Here's some R