Displaying 20 results from an estimated 10000 matches similar to: "Thanks and Summary (was par(new=T) with xyplot)"
2002 Jun 05
2
par(new=T) with xyplot
I know I should not mix base plotting functions with grid/lattice functions,
but I have used a "quick-and-dirty" trick of par(new=T) in the past for
annotating a trellis-drawn graph in various versions of S-PLUS. The
sequence goes something like this:
> windows(width = 5, height = 5, pointsize = 10) # open up the device
> xyplot(y ~ x)
> par(new=T)
> xyplot(y2 ~ x)
>
2005 Mar 14
0
fixed/ initialising trellis device {lattice}/ postscript
Thanks Andy
out<- xyplot(....)
print(out)
did the trick nicely.
Sam
----
Sam McClatchie,
Biological oceanography
South Australian Aquatic Sciences Centre
PO Box 120, Henley Beach 5022
Adelaide, South Australia
email <mcclatchie.sam at saugov.sa.gov.au>
Telephone: (61-8) 8207 5448
FAX: (61-8) 8200 2481
Research home page <http://www.members.iinet.net.au/~s.mcclatchie/>
2003 Jan 29
2
browser() misbehavior ?
Under v1.6.2, Windows NT4 OS, when a function contains an execution error
and I have placed browser() in inside the function body, the call to browser
is ignored. A brief example to illustrate:
> foo <- function(x) {
+ y <- x ^ 2
+ browser()
+ foo2(x) ## Intentional error
+ x ^ 3
+ }
>
> foo(30)
Called from: foo(30)
Browse[1]>
Error in foo(30) : couldn't find
2003 Jan 02
0
Summer Internship at Merck (Domestic USA)
(Apologies for cross-posting this job announcement to those on both R-help
and S-news.)
2003 SUMMER INTERNSHIP POSITION
Domestic United States residents / visitors only.
Merck Research Laboratories
Rahway, NJ, USA (approx. 30 miles from New York City)
1 position, Ph.D. or Masters student
Deadline for Applications: February 14, 2003.
Brief Description:
Help provide data analytic &
2001 Nov 14
0
Fitting Pareto dist in a mixture
Dear all:
First, apologies for cross-posting multiplicities and for a query that is
more
analytically related than S-language related.
The bottom-line wish is:
Could you please provide and advice, references, etc on S software
approaches for
fitting a distribution with density:
p*g(x) + (1-p)*f(x)
where g(x) is the familiar lognormal 2-parameter density
and f(x) is Pareto as defined below?
2002 Dec 03
1
Plotting Speed: R vs Octave
Thank you. Guess it's a plausible explanation.
> -----Original Message-----
> From: Liaw, Andy [mailto:andy_liaw at merck.com]
> Sent: Tuesday, December 03, 2002 08:05 AM
> To: 'Chunlou Yung'
> Subject: RE: [R] Plotting Speed: R vs Octave
>
>
> If I'm not mistaken, Octave does not have its own graphics system, but
> rather rely on gnuplot, which is
2002 May 12
0
still trouble (RE: Compiling R-1.5.0 failed on AIX4.3)
Dear R-help,
I deleted `methods' from the list of packages in Makeconf.in and was able to
get through the compilation. However, `make check' fails, and R seems to
have trouble loading share libs. When starting R, it complained about not
finding the X libs and quits. If I specify --gui=none, then it starts but
complains about not being able to load the shared lib for `ctest'.
2005 Nov 10
0
Windows UNC''s
Hi Graham,
In that case I''ll have to redefine File.delete and Dir.rmdir in the win32-file
package and win32-dir packages, respectively.
Please add a feature request on the project page so I don''t forget. I should
have it done this weekend.
Dan
Foster, Graham wrote:
> I want to create a long UNC based path.. Server and top level will exist,
> but subdirectories
2004 Apr 26
1
Lost graph contents using Copy as metafile
Dear colleagues:
I use R 1.9.0 on Windows XP. One of my common tasks is to get R graphs into
Word documents. A open windows() device, almost always trellis.device() for
me, provides great convenience with the right-click shortcut menu item "Copy
as metafile". I typically have the History > Recording feature turned on as
well.
Since upgrading to 1.9.0, I have experienced an
2002 Jun 18
1
can't find array overruns (was: help debugging segfaults)
Dear R-devel,
Last week I got several responses to my question about debugging segfaults
in my code (original post below). After I changed the S_alloc() calls to
Calloc()/Free(), the symptom was gone, but I was told to keep looking. So I
did:
o Switched to Calloc/Free. Electric Fence did not find any problem.
o Put assert(index < bound); assert(index >=0); everywhere in the C routine
2009 Apr 21
1
Polyspline Integration
Hello,
I wrote the function below to integrate polysplines and thought that it
may be useful to others. Please consider this code released under the
GPL2 or later.
Thanks,
Bill
<<integrate.polySpline.R>>
Notice: This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or
2004 Jan 15
1
Winbind + Acl problem
Hello everybody
When I try to connect (net use) a samba share (Acl protected) from a windows
XP workstation I obtain the following message in the
"/var/log/samba/workstation_name.log" :
. . .
[2004/01/15 11:12:44, 0] smbd/sec_ctx.c:initialise_groups(244)
Unable to initgroups. Error was Operation not permitted
. . .
The network connection to this share run sucessfully but when I
2004 May 15
0
" cannot allocate vector of length 1072693248"
Andy;
Well, that about does it....
I'm copying this one back to the list for the benefit of those who may hit
this thread while searching the archives. Your changes to the code run just
fine on the my Windows machine, but gives the vector length error on the G4
whether I'm using the OS X build of R (as in Raqua) or the X11 build (for
Darwin). It is worth noting that I have nearly twice
2005 Jun 02
0
Thanks! (was panel.axis() & grid/lattice settings)
Deepayan, Paul:
Thanks very much for the very useful leads. I just spent some time this
afternoon implementing your suggestions and my early test results are very
encouraging.
Paul, I understand the potential device re-sizing issue with the convert
family of functions in grid, and will be in touch in case it becomes
problematic for my applications. I very much look forward to your upcoming
2002 May 03
0
Compiling R-1.5.0 failed on AIX4.3
Dear R-help,
I've having some trouble building R on AIX. I'm using gcc/g77/g++. The
error occurs when building the methods package:
gmake[4]: Entering directory
`/.../merck.com/fs/user/liawand/R-1.5.0/src/library
/methods'
dumping R code in package 'methods'
Fatal error: The X11 shared library could not be loaded.
The error was
gmake[4]: ***
2002 Jun 13
3
[R] help debugging segfaults
Hi all,
Thanks to Prof. Ripley, Prof. Gentleman, and Simon Wood (did I miss
anyone?). The problem seemed to have gone away.
Everyone suggested using some malloc debugger (such as Electric Fence). All
I did was following half of what BDR suggested below, i.e., changing all the
S_alloc() calls to Calloc() and Free(). I didn't get to try efence, and the
problem seems to have disappeared!
As
2004 Mar 18
0
sd(): why error with NA's?
R 1.8.1 with Windows XP.
I have a question about how sd() behaves with NA's:
> mean(c(1,2,3,NA))
[1] NA
> median(c(1,2,3,NA))
[1] NA
> mad(c(1,2,3,NA))
[1] NA
> sd(c(1,2,3,NA))
Error in var(x, na.rm = na.rm) : missing observations in cov/cor
>
What is so special about the standard deviation, relative to
other descriptive statistics, that the presence of NA's
deserves an
2002 Oct 04
1
items in Rd file
Dear R-devel,
I'm encountering a strange problem in a Rd file that I'm working on. In the
"Value" section, I have something like:
=====================
\value{
An object of class \code{randomForest}, which is a list with the
following components:
\item{call}{the original call to \code{randomForest}}
...
For classification problem, the following are also included:
2003 May 09
3
Re: R-help Digest, Vol 2, Issue 26
With the same system configuration (WinNT4 SP6 and 1.7.0), I get such a Dr
Watson crash each time I try to use the Change dir... command in the File
menu of Rgui.exe. I doesn't seems to happen if I do this immediately after
starting R but well if I already did some computation.
I don't have any problem by using directly setwd().
At 12:10 23/04/03, you wrote:
>Date: Tue, 22 Apr 2003
2003 Aug 13
0
re: two dimentional hierarchical clustering algorithm
Dear Dr. Liaw Andy:
I have a few more questions about your heatmap function. actually heatmap is
what I am looking for.
heatmap(x, Rowv, Colv, distfun = dist, hclustfun = hclust, add.expr,
scale=c("row", "column", "none"), na.rm = TRUE, ...)
my data is a XNEW,
> dim(XNEW)
[1] 554 335
554 genes, 335 samples.
now I want to use 1-CORR as a distance