similar to: dots and ldots in R 1.4.0

Displaying 20 results from an estimated 6000 matches similar to: "dots and ldots in R 1.4.0"

2001 Jan 05
2
Why doesn't as.vector() return a vector?
I use as.vector() on a data frame and I get a data frame in return. No warning. I have to use as.matrix() first. Why is that? Doesn't make sense to me. I'm using R 1.2.0 on Linux. > F <- data.frame(a = c(1,2,3), b = c(4,5,6)) > F a b 1 1 4 2 2 5 3 3 6 > V <- as.vector(F) > V a b 1 1 4 2 2 5 3 3 6 > attributes(V)
2001 Oct 12
1
MASS: isoMDS and sammon
If tbl is an object of class 'dist', you can do this: a <- sammon(tbl, k=3) But you can't do this: b <- isoMDS(tbl, k=3) Wouldn't it be sensible to have identical interfaces to sammon() and isoMDS() ? I think all that would be needed is to change this: isoMDS <- function(d, y=cmdscale(d, 2), maxit=50, trace=TRUE) { ...into this: isoMDS <-
2001 Jan 12
2
CRAN unavailable?
Again, CRAN and all of its mirrors are unreachable. My impression is this happens quite often. What is going on? -- Peter Kleiweg http://www.let.rug.nl/~kleiweg/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the
2000 Dec 22
5
(HP-UX) scan: last line gets duplicated (PR#790)
The last line gets duplicated when a file is read like this: a <- scan(file=filename, what="", sep="\n", strip.white=c(TRUE), quiet=TRUE) (This error does not occur on Linux, the only other platform I tested.) Version: platform = hppa2.0-hp-hpux10.20 arch = hppa2.0 os = hpux10.20 system = hppa2.0, hpux10.20 Actually, all binaries are
2000 Aug 15
2
Compiling R on HP-UX
Has anyone succeeded in compiling R on HP-UX? I'm trying to compile R version 1.1.0 on a HP-UX 10.20 machine. I run into the following problems: I got a compile error on src/unix/X11/rbitmap.c which I solved by including setjmp.h. After that, and after editing the Makefiles a bit cause gcc en ld can't find all the libraries, I finally get it to compile. Then I run "make
2000 Dec 20
1
Shortcut for dev.copy2eps
I want to use a shortcut for copying figures to EPS. I defined this function in .Rprofile: ps <- function(file="Rplot.eps", width=7, height=7, ...) { dev.copy2eps(file=file, width=width, height=height, ...) } This doesn't work: > data(cars) > plot(cars) > ps() Error in device(...) : Object "width" not found Can anyone tell me
2003 Oct 12
6
Rd problems
Hola! I have the following in a .Rd file: \eqn{\mbox{coef} = c(\mbox{coef}[1],\ldots, \mbox{coef}[n]) } {coef = c(coef[1], coef[2], \dots, coef[n])} However, both arguments come out in the latex file! Whats happening? Kjetil Halvorsen
2000 Dec 26
1
More on scan: extra field at end of line
Suppose, I have a file "data1" containing: 450 390 467 654 30 542 334 432 421 357 497 493 550 549 467 575 578 342 446 547 534 495 979 479 I can read this file with: scan("data1") Read 24 items [1] 450 390 467 654 30 542 334 432 421 357 497 493 550 549 467 575 578 342 446 [20] 547 534 495 979 479
2000 Dec 29
1
dev.copy2eps: position of figure on page
The definition for dev.copy2eps contains the following line: oc$paper <- "special" The result of this is that the output will be placed in the left bottom corner of the page. Even though dev.copy2eps is meant for creating files that are to be included into other documents, you might want to print the figure directly, just to see how it will look on paper. (Of course, this will
2002 Oct 01
1
Unsolved symbols: meet_ Tcl_EvalObjv (PR#2090)
Running 'make check' I get two errors: running code in 'mva-Ex.R' .../usr/lib/dld.sl: Unresolved symbol: meet_ (code) from /users1/kleiweg/R-1.6.0-source/library/cluster/libs/cluster.sl running code in 'tcltk-Ex.R' .../usr/lib/dld.sl: Unresolved symbol: Tcl_EvalObjv (code) from /users1/kleiweg/R-1.6.0-source/library/tcltk/libs/tcltk.sl Version: platform =
2001 Jan 09
1
Setting fontsize in dev.copy2eps
I have a figure on screen with a legend. I want to copy this image to EPS, and use: dev.copy2eps(file="file1.eps", width=5, height=5) The legend that looks OK on screen doesn't look OK in the PostScript image: the text extends out of the box. I try adding a fontsize command: dev.copy2eps(file="file1.eps", width=5, height=5, pointsize=5) This options seems to
2001 Nov 01
1
Erratic behaviour of sammon()
I'm not sure this list is the right place for this thing. I noticed some erratic behaviour in sammon(). Running sammon on two nearly identical sets of data results in very different results. Below is an example. I create an initial configuration with cmdscale() and store it into 'vec1'. I write this to file, and read it back in again to 'vec2'. According to cor() on the three
2005 Jul 07
2
Brewer colours
Anyone who is interested in using optimal colour palettes should look at the work of Cindy Brewer: www.colorbrewer.org I have written code to use her colour schemes in R. It is included below. Perhaps someone may find this interesting enough to work into a package. Included also is a function showpalette, which was posted here a while back. I don't remember who wrote it. I have copied all
2002 Jun 07
1
Bug list summary (automatic post)
================================================= This is an automated summary of the status of the R-bugs repository. Note that this may be neither complete nor perfectly correct at any given instance: Not all bugs are reported, and some reported bugs may have been fixed, but the repository not yet updated. Some bug fixes are difficult to verify because they pertain to specific hardware or
2001 Jan 23
1
Re: Sys.time dumps core at start-up (PR#822)
Peter Kleiweg skriver... > R dumps core if the first command I use is Sys.time(): > > > Sys.time() > Segmentation fault (core dumped) (peter) ~ R -d gdb [snip] GDB 4.16 (i386-redhat-linux), Copyright 1996 Free Software Foundation, Inc... (gdb) run Starting program: /usr/local/R/lib/R/bin/R.bin R : Copyright 2001, The R Development Core Team Version 1.2.1 (2001-01-15)
2009 Oct 01
1
pass "..." to multiple sub-functions
Dear list, I know I have seen this discussed before but I haven't been successful in searching for "ellipsis", "dots", "..." in the archives. I would like to filter "..." arguments according to their name, and dispatch them to two sub-functions, say fun1 and fun2. I looked at lm() but it seemed more complicated than I need as it modifies the calling
2003 Oct 12
1
Rd problems --- followup
I should'nt have sent the last mail so fast. Same problem with \eqn{u_j = a_j + b x + c x^2, \quad j=1, \ldots, r-1} {u[j] = a[j] + b*x + c*x^2 j = 1,\dots,r-1} I thought the problem in the first case could have to do with the use use of \mbox{} (with the braces) within the arguments of \eqn, but here there are none braces in the arguments of \eqn{}{}. Another case giving the
2002 Sep 21
1
Bug list summary (automatic post)
================================================= This is an automated summary of the status of the R-bugs repository. Note that this may be neither complete nor perfectly correct at any given instance: Not all bugs are reported, and some reported bugs may have been fixed, but the repository not yet updated. Some bug fixes are difficult to verify because they pertain to specific hardware or
2001 Sep 02
0
Install problems R 1.3.1 on HP-UX (PR#1084)
Hi, I installed R 1.3.1 on HP-UX. This caused me quite some problems. These problems did not occur with the previous version I installed, which was R version 1.2.3. First, the result of configure: R is now configured for hppa-hp-hpux10.20 Source directory: . Installation directory: /opt_local/opt/R C compiler: cc -D_HPUX_SOURCE +DA1.1 +DS1.1
2007 Mar 20
1
Symbol and Ellipsis problems
Hi Everyone, When I have a load of functions which have various arguments passed via the ellipsis argument it keeps on assigning them as symbol making them unusable to the function. My current work around involves using do.call but this is rather cumbersome. Does anyone know why it suddenly changes the types to symbol and if there is a way to get the actual data pointed to by the symbol? (I