similar to: Ordered factors and DBMS

Displaying 20 results from an estimated 4000 matches similar to: "Ordered factors and DBMS"

2002 Feb 01
1
Sampling from a database
I use RODBC and RpgSQL quite a lot to access files stored in another machine under PostgreSQL. Since I am now using files which do not fit into R's memory, I would like to take random samples. What I would like is to issue a query such as SELECT * FROM file WHERE runif > 0.9 with "runif" being a uniformly distributed random number, generated on the fly; but I cannot
2002 Jan 28
4
Multivariate response trees
I would like to know if someone has done work on trees with multivariate response. I need something like rpart but for vector responses. If someone has code that he/she is willing to share, I would be grateful. If not, even guidelines for writing my own starting from rpart would be welcomed. ft. -- Fernando TUSELL e-mail: Departamento de
2000 Jun 20
5
Compiling R on an Alpha
Sorry to be such a nuisance but after asking for help with compiling R-1.1.0 on an Intel-based machine I now have another problem on the Alpha DS-10 server which my students use. Compilation and instalation proceed perfectly, but when I invoke R I get: [etdx01:bin]$ ./R Fatal error: The X11 shared library could not be loaded. The error was /home/etptupaf/R/lib/R/bin/R_X11.so: undefined
2000 Jun 19
1
Problem compiling R-1.1.0
I just downloaded R-1.1.0.tgz and attempted installation as usual with ./configure ./make Everything run fine until I hit the following error: gcc -I. -I../../../src/include -I../../../src/include -I../../../src/include/R_ext -I/usr/X11R6/include -I/usr/local/include -DHAVE_CONFIG_H -mieee-fp -D__NO_MATH_INLINES -fPIC -g -O2 -c rbitmap.c -o rbitmap.o rbitmap.c:239: parse error
2000 Apr 28
2
Dumping functions to RCS
To keep track of an ongoing programming project, I would like to dump all my functions to individual ASCII files named xxx.R, yyy.R, etc. Presently I do so manually in order to use RCS (on a Linux machine), so I can keep track of all versions, differences, snapshots, etc. Is there any easy way to dump all functions in the workspace to individually named files? Thank you very much for
2000 Mar 30
1
slice.index
Porting a package from S-Plus to R I find missing the S-Plus function slice.index(). Before I hack a (probably ugly an inefficient) replacement, has anyone done so? Is there a similar function in R that I have overlooked? Many thanks, ft. -- Fernando TUSELL e-mail: Departamento de Econometr?a y Estad?stica etptupaf at bs.ehu.es Facultad de CC.EE.
2000 Dec 19
1
update.packages()
I have recently upgraded to R-1.2 and update.packages() gives the following error on my system. Am I doing something wrong? ft. -- Fernando TUSELL e-mail: Departamento de Econometr?a y Estad?stica etptupaf at bs.ehu.es Facultad de CC.EE. y Empresariales Tel: (+34)94.601.3733 Avenida Lendakari Aguirre, 83 Fax:
1999 Dec 23
1
rpart on Alpha under OSF
Running on an Alpha machine which reports (uname -a) OSF1 bsdx01.bs.ehu.es V4.0 878 alpha and using the binary distribution put together by Albrecht Gebhardt (in http://cran.at.r-project.org/bin/osf/osf4.0/tar/alpha_ev5/) I obtain core dumps whenever I try to use package rpart. I have R REMOVE'd the rpart package, downloaded the source rpart_1.0-7.tar from CRAN and
2002 Sep 11
1
Problem with leaps (long)
I am generating a bunch of examples for my students and when I type R BATCH demo10.R (file demo10.R reproduced below) I get an error: ------------- Error message ------ > plot(mods$size,mods$Cp, + main="Cp versus talla modelos", + xlab=expression(p), + ylab=expression(C[p])) Error in plot.window(xlim, ylim, log, asp, ...) : need finite ylim values In
2005 Jan 18
1
"Attach" for S4 objects?
When passing a list as an argument to a function, I find it convenient to attach it in the first line of th function code, then refer to the components as A, B, etc. rather than as list$A, list$B, etc. If I pass a S4 class object, is there a way to "attach" it, or do I have to refer to the slots as object at A, objetc at B, etc.? I could always make copies, A <- object at A
2004 Mar 31
2
Failure to compile source packages in Debian
As of quite recently I experience failures to compile source packages. Messages like * Installing *source* package 'dse1' ... ** libs g77 -mieee-fp -fPIC -g -O2 -c dsefor.f -o dsefor.o gcc -shared -o dse1.so dsefor.o -L/usr/lib/gcc-lib/i486-linux/3.3.3 -L/usr/lib/gcc-lib/i486-linux/3.3.3/../../.. -lfrtbegin -lg2c-pic -lm -lgcc_s -L/usr/lib/R/bin -lR /usr/bin/ld: no se puede
2004 Jun 10
1
Failure to compile on Itanium
I am trying to compile R on an Itanium machine running Red Hat 7.2 and gcc version 2.96. The build fails with the following symptoms: g77 -fPIC -g -O2 -c cmplx.f -o cmplx.lo g77 -fPIC -g -O2 -c cmplxblas.f -o cmplxblas.lo gcc -shared -L/usr/local/lib -o libRlapack.so dlapack0.lo dlapack1.lo dlapack2.lo dlapack3.lo cmplx.lo cmplxblas.lo -L/usr/local/lib
2004 Nov 03
2
Princomp(), prcomp() and loadings()
In comparing the results of princomp and prcomp I find: 1. The reported standard deviations are similar but about 1% from each other, which seems well above round-off error. 2. princomp returns what I understand are variances and cumulative variances accounted for by each principal component which are all equal. "SS loadings" is always 1. 3. Same happens
2001 Mar 19
3
generic database access methods
I've been putting together a package that defined generic methods for database access. The packages is called "Rdbi." It borrows as much as possible from existing database packages / proposals. I'd like to start a discussion about the proposed interface. Here's what I've come up with so far: # # Rdbi: connectionMethods.R # dbConnect <- function(dbObj, ...)
2004 Jun 15
4
"Glueing" factors together
Hi folks, Suppose I have a series of cases each with categorical factors A, B. What is the best way to "glue" A and B together into a single factor? For example, given A0 B1 ... A1 B1 ... A0 B2 ... A1 B0 ... A0 B0 ... A1 B2 ... then I'd like to end up with a single factor with levels A0B0, A0B1, A0B2, A1B0, A1B1, A1B2 according to all the combinations which actually occur in
2001 Nov 27
2
R/S and large datasets - Database access (also Re: SAS and S/R)
A consensus seems to emerge : R would excel to exploratory work on small/middle-sized datasets, while SAS would be able to munch much larger datasets. However, I see the "size" problem as a red herring. The objects that have to stay "in core" are usually much smaller than the dataset. For example, for problems involving fixed-effects linear models, you need only some
1998 Dec 17
0
Cannot read .rda data
Below the line is (slightly edited, to remove irrelevant stuff) the transcript of a session in R. Seems that data is read in, but I cannot print or use it. I have looked inside the data directory of MASS, and see that the format of the data is different than the one from other libraries I have. It may be that this particular format is not read correctly, or my setup may be faulty. I
1999 Oct 25
1
Summary: SQL-Interface
Some days ago I asked for general methods to access SQL-Databases. Thanks to: Terry Westley [twestley at buffalo.veridian.com], partha_bagchi at hgsi.com, F.Tusell [etptupaf at bs.ehu.es], Michael Lapsley [mlapsley at ndirect.co.uk], Robert Gentleman [rgentlem at jimmy.harvard.edu], Torsten Hothorn [hothorn at statistik.uni-dortmund.de] Several solutions were suggested: (1) using Michael
2009 May 19
4
nlrwr package. Error when fitting the optimal Box-Cox transformation with two variables
Dear all: I'm trying to fit the optimal Box-Cox transformation related to nls (see the code below) for the demand of money data in Green (3th Edition) but in the last step R gives the next error message. Error en `[.data.frame`(eval(object$data), , as.character(formula(object)[[2]])[2]) : undefined columns selected. ?Any idea to solve the problem? Thanks in advance,
2000 Jul 06
0
R-1.1.0 on Alpha?
Has anyone succeeded in compiling R-1.1.0 on a Digital (Compaq) Alpha running OSF4.0F (or E)? Everything seems to compile OK (except the frequent "Warning: Unresolved:" at link time - this threw me off the scent for a while!), but then at run time I get: Fatal error: The X11 shared library could not be loaded. The error was dlopen: cannot load