similar to: R as a library

Displaying 20 results from an estimated 3000 matches similar to: "R as a library"

2002 May 15
3
Processing "vignette" files
Is there any way to process the "vignette" documantation files? I have been looking at the bioconductor packages and most of them have *.Rnw files in doc directories. They look like regular TeX but have sections showing R code that seem to choke TeX. Thanks, Andy __________________________________ Andy Jaworski Engineering Systems Technology Center 3M Center, 518-1-01 St. Paul, MN
2003 Jun 24
1
Rcmdr active data set
Hi, This seems a very basic problem, but I cannot seem to find the solution to it. I am trying to use Rcmdr on a data frame I created in my current R session. More specifically, I did x <- data.frame(matrix(0, ncol=3, nrow=5)) library(Rcmdr) Now I would like to be able to edit, view and perhaps analyze x, but I cannot seem to figure out how to make it active. Any hint will be welcome.
2000 Feb 25
1
r-excel interface code
some of you might be interested. i just uploaded the first release of my r-excel interface package to CRAN. it is in contributed extensions nonstandard extensions erich neuwirth -- Erich Neuwirth, Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2000 Feb 25
1
r-excel interface code
some of you might be interested. i just uploaded the first release of my r-excel interface package to CRAN. it is in contributed extensions nonstandard extensions erich neuwirth -- Erich Neuwirth, Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2004 Jul 14
5
RGui Titlebar
In the windows version (RGui), is there a way to set the text displayed in the titlebar of the R window? When I have 2 instances of RGui running, it would be helpul if the titlebar could help to understand which is which. -- Erich Neuwirth, Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-38624 Fax: +43-1-4277-9386
2001 Dec 19
2
readline with R-1.4.0
Hi, I am not sure if this is a bug, so I am posting it here. I also searched the FAQ file for the readline string and did not find anything about the behavior below. I just successfully rsync'ed, compiled and tested R-1.4.0 on my RH 7.2 Linux machine. I encountered one problem though. When running ./configure I noticed that I was getting errors from the readline library. Although
2001 Jul 24
3
strange slowness of plot
I just ran into this strange behavior. y <- rnorm(1000) x <- seq(0, length=length(y)) plot(x, y, type='l', lty=1) - instantaneous plot(x, y, type='l', lty=2) - 18s plotting lines + 15s plotting axes = 33s plot(x, y, type='l', lty=3) - 76s ,, + 75s ,, = 151s plot(x, y, type='l', lty=4) -
2001 Nov 12
3
histogram question
hist(rbinom(1000,10,0.5),col=2,xlim=c(0,10),ylim=c(0,300)) gives a histogram with "touching bars" hist(rbinom(100000,10,0.5),col=2,xlim=c(0,10),ylim=c(0,30000)) gives a histogram with space between the bars. is there a way to control the space betweent he bars easily? -- Erich Neuwirth, Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at
2004 Sep 08
4
factor always have type integer
typeof applied to a factor always seems to return "integer", independently of the type of the levels. This has a strange side effect. When a variable is "imported" into a data frame, its type changes. character variables automatically are converted to factors when imported into data frames. Here is an example: > v1<-1:3 >
2001 Sep 06
2
Compiling 1.3.1 under RH Linux
Hi, I am trying to compile R-1.3.1 under RH-7.2 Linux. I used the old gcc compiler (kgcc) and the compilation went fine. I can start R and run some rudimentary tasks with no problem. However, when I did make check I got the following error in base-Ex.Rout > fa <- file.access(dir(".")) Error in file.access(dir(".")) : file.access is not implemented on
2003 Mar 13
1
small error in regression tests
I just r-sync'ed the r-devel version of R-1.7.0 (2003-03-11), compiled it under RH-8.0 and ran make check. The reg-tests-2 fails at the very end with the message stating that "object cement was not found". It looks like this piece of the regression test is new to version 1.7. The the piece of code generating the error is: if(require(MASS)) { teststep <- function(formula,
2003 Mar 13
1
small error in regression tests
I just r-sync'ed the r-devel version of R-1.7.0 (2003-03-11), compiled it under RH-8.0 and ran make check. The reg-tests-2 fails at the very end with the message stating that "object cement was not found". It looks like this piece of the regression test is new to version 1.7. The the piece of code generating the error is: if(require(MASS)) { teststep <- function(formula,
2001 May 09
3
odesolve check fails
Hi, I just installed the odesolve package and ran the check command on it. It failed trying to execute library(gnlm). Sure enough, there is no gnlm library on my system and I could not find it on the CRAN archive either. Am I missing anything obvious or is gnlm some private library that somehow found its way into the example section of odesolve? Thanks in advance, Andy
2002 Mar 07
2
Statconnector and Excel
Hi, I'm trying to combine a VBA macro and a R package. I've installed the R-(D)COM and the R-excel interface by Neuwirth. They seem to work both. However I would like to display the r-generated data in an Excel sheet as an array but I don't manage. Here is an example of my source: Sub doR() Call RInterface.StartRServer Call RInterface.RRun("library(mdnn)") Call
2001 Dec 27
5
new lattice/grid
I just installed R-1.4.0 on my Win2k machine from SetupR.exe. Everything seems to be fine with the base and recommended packages. However, when I install the lattice and grid packages they do not seem to work. Everything I try results in something like this: Instruction 0x00543f06 refernced memory 0x00000000. The memory cannot be "read". and I am getting kicked out of R. Has
2002 Mar 19
3
Re: Problems with rgl package
I also downloaded the rgl package (after reading recent Uwe Ligges' post) and installed in on my Win2k Pro sp2 machine. It seems to work with no problems. I ran most of the examples, including the hist3d one, and all of them worked fine. A couple of thoughts. I have administrative priviliges on my machine. Could this possible make a difference. The rgl library uses OpenGL. Is it a
2002 Mar 05
2
identify in lattice
Does identify work in lattice plots? I tried this in R 1.4.1 (original release) on my Win2000 machine with lattice 0.4-0 and grid 0.5-1. > xyplot(y ~ x, + panel=function(x, y, ...){ + panel.xyplot(x, y, col=2, pch=20, ...) + panel.lmline(x, y, type = "l") + identify(x, y) + }) I get a change of cursor after the data points and the LS line are plotted
2002 Dec 19
1
New versions of lattice and grid
I just ran package update on my Win2000 R-1.6.1 and it installed new versions of lattice and grid (0.6-7 and 0.7-3 respectively). Then I ran demo(lattice) and noticed that the last plot, which is supposed to illustrate math expression usage, fails in the sense that all expression are shown literally. For example the title of the plot reads " pi*sum(x, i=0, n)", the x-axis label is
2002 Feb 11
1
graph history
Hi everybody. I was just wondering if this is a bug or I am simply doing something wrong. Here is what happened: (1) I typed windows() to get the graph menu bar (2) I turned record on history menu (3) I created a couple of plots (4) I checked with PageUp and PageDown that I can scroll through them (5) I saved the history to a variable, say, hhh (6) I dumped hhh to a file called hhh.R (7) I quit
2001 Nov 28
2
PNG diver problem
Hi, I am having the following problem and I am not sure if this is bug or I am missing something obvious. I have a bunch of R functions that automatically process large data sets. The processing produces several numerical summaries and several graphs which are subsequently put in reports. I usually do my processing in R BATCH mode on a Win2000 machine. All the graphical functions in my package