similar to: CRAN unavailable?

Displaying 20 results from an estimated 6000 matches similar to: "CRAN unavailable?"

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 Dec 19
1
dots and ldots in R 1.4.0
I have a package with in the documentation: in \usage : \dots in \arguments: \ldots This is how I interpreted "Use \dots for the dots in function argument lists ..., and \ldots for ellipsis dots in ordinary text" in "Writing R Extensions". When I did `R CMD check' in R version 1.3.1 all was fine. With R version 1.4.0 I get : * checking for undocumented arguments
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
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 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 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
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
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 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
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)
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 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
2004 Jan 16
1
feature request: multi-language support
Could it be possible for packages to have manuals in multiple languages? I'm not saying all manuals should be in multiple languages, but I think there should be a mechanism for package writers to add manuals in multiple languages, if they think it useful. -- Peter Kleiweg
2005 Oct 06
1
Building packages on Windows fails
What has changed in R for Windows from version 1.7.1 to 2.2.0 that won't allow me to build binary packages? On 1.7.1 I built a packge with this command: Rcmd build --force --binary iL04 On 2.2.0 this fails. First I had to copy sh.exe from d:\bin to c:\bin. This got me over the first hurdle. But then I got stuck at a later point. Here are the last lines of output: ---------- Making
2002 Oct 01
1
X11 font at size 22 could not be loaded
I'm not sure this is a bug in R. Since a few weeks I have a new PC, SuSE 8.0 installed. When running demo(graphics) I get after a few graphs: Error in title(main = "January Pie Sales", cex.main = 1.8, font.main = 1) : X11 font at size 22 could not be loaded And the demo stops. This is in R 1.6.0. I get the same in R 1.5.1 on HP-UX, but using my PC as the X-server.
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
2002 Jul 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