[R] Rggobi compilation error: display.c

2007-09-05 Thread Yuelin Li
On a ubuntu linux computer (Feisty, i386), I compile R and additional packages from source. The compiler is gcc 4.1.2. The problem is, I can run sudo R and successfully compile all packages (e.g., MASS, lattice) except rggobi. The error seems to be in display.c. My ggobi is in /usr/local/,

Re: [R] xyplot() with segments() superposed?

2007-08-13 Thread Yuelin Li
want to plot each participant's **scheduled** and **observed** smoking pattern over days and mark the quit attempts. Hope this is clear. Yuelin. -- Deepayan Sarkar wrote --|Mon (Aug/13/2007)[09:35]|--: On 8/11/07, Yuelin Li [EMAIL PROTECTED] wrote: In the hypothetical example below, how do

[R] xyplot() with segments() superposed?

2007-08-11 Thread Yuelin Li
In the hypothetical example below, how do I add two segments() into the two panels, respectively? Say segments(x0=5, y0=10, x1=5, y1=20) on the left and segments(x0=15, y0=-10, x1=15, y1=-2) on the right? Many thanks in advance, Yuelin Li. ps. part of the code came from a solution given

Re: [R] Some problems with X11

2007-03-08 Thread Yuelin Li
Since you are running Ubuntu Edgy, you might want look at the Files section in your /etc/X11/xorg.conf file. Perhaps R is looking for fonts not available to the X windows system. You can compare the Files sections between your laptop and desktop. My font path settings are attached. Section

Re: [R] Ubuntu Linux and X11

2007-02-16 Thread Yuelin Li
If you are using edgy, try changing your FontPath settings in /etc/X11/xorg.conf (mine listed below). Reboot, and check to see there are no warnings about missing font files in /var/log/Xorg.0.log. Yuelin. Section Files FontPath/usr/share/fonts/X11/100dpi/:unscaled

[R] strata() in clogit()

2004-06-06 Thread Yuelin Li
() does not automatically summarize the log odds associated with the strata id. I suppose the log odds associated with strata(id) gives me \alpha_k. But I can't seem to get them with summary(). Help is greatly appreciated. Yuelin Li. my R syntax is --- exam2.clog- clogit(resp ~ i5

[R] rl_callback_read_char error on Solaris 7

2003-02-12 Thread Yuelin Li
are appreciated. Yuelin Li. configure:11366: checking for rl_callback_read_char in -lreadline configure:11397: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c -lreadline -ldl -lncurses -lm 5 ld: fatal: symbol `_init' is multiply-defined: (file /usr/local/lib/gcc

Re: [R] plot()

2003-01-06 Thread Yuelin Li
try text(c(1970, 1978, 1990), x=1:3, y=1:3) after you first call plot(c(1, 3), c(1, 3), axes=F, type=n, xlab=, ylab=) to set the plotting area. Yuelin. -- From: Nirmala Ravishankar [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [R] plot() Date: Mon, 6 Jan 2003 20:19:58 -0800 (PST)