similar to: sum(is.na(c(...)) -> negative number; bug or feature?

Displaying 20 results from an estimated 1000 matches similar to: "sum(is.na(c(...)) -> negative number; bug or feature?"

1999 Apr 19
1
Algorithm used by glm, family=binomial?
Does anyone know what algorithm R uses in glm, family=binomial (i.e. a logit model)? I assume that it's in the source somewhere, but I wasn't able to find it. I'd like to know what file it's in (in a unix distribution of R). Thanks for your help. --------------------------- Barnet Wagman wagman at enteract.com 1361 N. Hoyne, 2nd floor Chicago, IL 60622 773-645-8369
1999 Apr 25
1
Catching errors?
Is there anyway (other than 'repeat'') of catching the errors that R throws? Thanks, ------------------- Barnet Wagman wagman at enteract.com 773-645-8369 1361 N. Hoyne Chicago, IL 60622 -------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
1999 Apr 25
1
Neophyte question re using dyn.load and accessing c functions
I'm have what's probably a trivial &| silly problem trying to access a c-function in a shared library ( R 0.64, under redhat linux 5.2). R COMPILE rctest.c R SHLIB -o libRC.so rctest.o produce a reasonable looking shared library ('nm libRC.so' shows that the function 'rctest' is present). In R, the command dyn.load("/fullpathname/libRC.so")
1999 Apr 30
1
Question on the idiom: start <- coef; start[fit$pivot] <- coef
I wonder if someone could explain how the following R idiom works (it's used in glm.fit). start <- coef start[fit$pivot] <- coef coef is a vector of coefficients, set by .Fortran("dqrls", ...). fit$pivot is a vector of integer indexes (indicating how dqrls permuted the columns of x). If coef has n elements, fit$pivot is a permutation of seq(1,5). start[fit$pivot]
1999 Apr 19
2
A couple problems installing 0.64 (under linux, redhat 5.2)
I'm encountering a couple problems configuring and making R 0.64 under linux, redhat 5.2 These problems didn't occur when I build 0.63.2 Any suggestions would be greatly appreciated. (1) configure generates the warning: "configure: warning: Cannot determine how to create shared libraries. Please set CPICFLAGS, FPICFLAGS and SHLIBLDFLAGS in `config.site'." I'm not
1999 Jun 15
2
ESS and R
For anybody who uses ESS with R, how do you invoke the vsize and nsize options when you call R. I can't find any appropriate variables from an apropos. Thanks, Jord -- Jordan Howarth CSIRO Mathematical and Information Sciences mailto:jordan.howarth at cmis.csiro.au -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2003 Oct 19
1
Running RMySQL with SuSE 8.2?
Since there doesn't appear to be an RMySQL rpm for SuSE 8.*, does anyone know if the 7.3 version will work with the SuSE 8.2 rpms of R and DBI? The package installs without complaint, but when I try to run con <- dbConnect(dbDriver("MySQL"),dbname="test") I get the error Error in dbConnect(dbDriver("MySQL")) : couldn't find function
2016 Mar 23
2
r-base installation fails on Ubuntu 14.04
On 03/23/2016 10:23 AM, Dirk Eddelbuettel wrote: > On 23 March 2016 at 09:35, Barnet Wagman wrote: > | I am unable to install R on an up to date (i.e. apt upgraded) Ubuntu > | 14.04 system. According to > | https://cran.r-project.org/bin/linux/ubuntu/README (and many other sources), > | R is available for this version of Ubuntu (which is a stable version). > | > | I currently
2003 Oct 21
1
Patches for DBI/RMySQL "valueClass" problem?
According David Jame's response to my earlier question, there is a problem with setGeneric.setMethod in R 1.8.0 that affects DBI and RMySQL. Is there a fix for this? David Jame's refers to an 'R-patched version' but I haven't seen anything like this on CRAN. Would going back to an older version of R solve the problem? Thanks, Barnet Wagman "David James wrote:
2003 Oct 23
1
Can you create a MySQL database with RMySQL?
Is it possible to create a database in MySQL via RMySQL? Also, is the format for the authorization field 'userName/password at databasename'? I saw an example like this somewhere in the documenation, but I haven't found the actual specification. Thanks, Barnet Wagman
2016 Mar 23
2
Fwd: Re: r-base installation fails on Ubuntu 14.04
-------- Forwarded Message -------- Subject: Re: [R-sig-Debian] r-base installation fails on Ubuntu 14.04 Date: Wed, 23 Mar 2016 13:07:44 -0700 From: Barnet Wagman <bdwgen at gmail.com> To: Dirk Eddelbuettel <edd at debian.org> > Lastly, and please don't take this the wrong way: I think I am helping way > more people like you who for one reason or other insist on older
2002 Apr 11
1
Need help decyphering 'make check' errors
I haven't been able to find any documentation explaining what these errors mean (and if they're serious). If anyone can give me some guidance on this, I'd very much appreciate it. The error messages are make[4]: *** [ctest-Ex.Rout] Error 1 make[3]: *** [test-Examples] Error 2 make[2]: *** [test-Examples] Error 2 make[1]: *** [test-all-basics] Error 1 make: ***
2000 May 10
0
Polynomial Distributed Lags?
Has anyone writtent an R function for estimating linear models with polynomial distributed lags? Thanks, Barnet Wagman wagman at enteract.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not
2016 Mar 23
2
r-base installation fails on Ubuntu 14.04
On 23 March 2016 at 11:38, Barnet Wagman wrote: | It's a Dell XPS 13. | | Obviously I don't understand what's in libcmanager0. I wonder if I can | safely replace it. I'm a bit uneasy about replacing things Dell | installed. I gather there are some specialized drivers for the monitor | on this system. i) Apply common sense ii) If that fails do 'apt-cache show
2006 Nov 12
2
segfault 'memory not mapped', dual core problem?
I encountered a segfault running glm() and wonder if it could have something to do with the way memory is handled in a dual core system (which I just set up). I'm running R-base-2.4.0-1, installed from the SuSE 10.1 x86_64 rpm (obtained from CRAN). (My processor is an AMD Athlon 64 x2 4800+). The error and traceback are *** caught segfault *** address 0x8001326f2b, cause 'memory not
2004 Feb 14
1
How to configure ess-5.2.0beta3-1.i586.rpm, Xemacs and SuSE 9.0?
I'm trying to get R and ESS to work with Xemacs on a newly installed SuSE 9.0 system. Is some setup required beyond installing the rpms? I've installed the Xemacs packages from SuSE xemacs-info-21.4.13-35 xemacs-packages-el-20030629-37 xemacs-21.4.13-35 xemacs-el-21.4.13-35 xemacs-packages-info-20030629-37 xemacs-packages-20030629-37 ess-5.2.0beta3-1.i586.rpm
2012 Mar 25
1
Nonparmetric statistics with weighted data set?
I'm doing some work with a weighted data set (the CPS) and I'd like to use nonparametric techniques. Is there an R package that supports this? The np package doesn't appear to have provisions for weighted data. (Or have I missed something?) I need to perform both density estimation and regressions. thanks, bw
1999 Apr 07
2
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
2004 Feb 14
1
PLEASE IGNORE PREVIOUS: How to configure ess-5.2.0beta3-1.i586.rpm, Xemacs and SuSE 9.0?
Please ignore (and excuse) my previous message - it is incomplete. I'm trying to get R and ESS to work with Xemacs on a newly installed SuSE 9.0 system. Is some setup required beyond installing the rpms? I've installed the Xemacs packages from SuSE xemacs-info-21.4.13-35 xemacs-packages-el-20030629-37 xemacs-21.4.13-35 xemacs-el-21.4.13-35 xemacs-packages-info-20030629-37
2016 Mar 23
0
Fwd: Re: r-base installation fails on Ubuntu 14.04
He was suggesting to upgrade to 15.10 if you needed the newer fortran for some reason (or other newer things only in backports or not even there). I also mostly run LTS versions of Ubuntu, especially in my research group where I manage our cloud/servers. Which also matches the computer cluster available to me. That said I also stick to the stock packages for all the basic underlying libraries