similar to: dotcode typo? (PR#7917)

Displaying 20 results from an estimated 2000 matches similar to: "dotcode typo? (PR#7917)"

2014 Apr 18
1
Why did R 3.0's resolveNativeRoutine remove full-search ability?
In versions of R prior to 3.0, by default .C and .Call would find the requested C function regardless of which shared library it was located in. You could use the PACKAGE argument to restrict the search to a specific library, but doing so was not necessary for it to work. R 3.0 introduced a significant change to that behavior; from the NEWS file: CHANGES IN R 3.0.0: PERFORMANCE
2005 Dec 28
2
.Call not counting parameters consistently (PR#8450)
The R_registerRoutines C function allows the number of parameters to a .Call function to be registered. For example, the tools package function md5sum() calls "Rmd5", which has been registered to require just one parameter. But if it is called with the wrong number of parameters, only the first error gets caught: > library(tools) >
2012 Apr 06
1
Compatibility problem with R-2.9.0 and R-2.14.0
Hello all, Using classical glm function with binomial family, I experienced a problem when using predict() over a glm object. I found that family objects built on R-2.14.0 contain elements like : .Call(C_logit_link,...) But on R-2.9.0, the object C_logit_link can not be found. Instead, this prior version used to call more simply : .Call("logit_link",...) which causes no problem. Is
2008 Dec 27
1
Patch to fix small bug in do_External and do_dotcall
I've stumbled upon a small bug/inconsitency in do_External and do_dotcall: Here's an example: % LC_ALL=C R --vanilla < symname-bug.R R version 2.8.0 (2008-10-20) *snip* > options(error=expression(0)) > ## Call 'R_GD_nullDevice' with incorrect parameter count: > .Call("R_GD_nullDevice", 1) Error in .Call("R_GD_nullDevice", 1) :
2005 Aug 26
3
.Call and Segmentation Fault
Hello to everyone! I use .Call to call a C function without arguments wich calls a fortran optimization package. My C function uses others C and Fortran functions and it works fine when I call it from a main() in a C program. But when I call it from R with .Call("name_of_the_c_function"), R gives me some weird output. This weird output is a worng answer to my optimization problem
2001 Jul 13
7
too many arguments in foreign function call
Hi all, I've just been working with a piece of fortran code (Leo Breiman's random forest code) that needs a lot of arguments. When I use .Fortran, I get the message 'too many arguments in foreign function call'. Neither the help page for .Fortran (actually Foreign) nor "Writing R Extensions" explains how many arguments are too many. Looking at the code in
2001 Jul 13
7
too many arguments in foreign function call
Hi all, I've just been working with a piece of fortran code (Leo Breiman's random forest code) that needs a lot of arguments. When I use .Fortran, I get the message 'too many arguments in foreign function call'. Neither the help page for .Fortran (actually Foreign) nor "Writing R Extensions" explains how many arguments are too many. Looking at the code in
2005 Jul 19
2
segfault with grid and null unit (PR#8014)
Full_Name: Jonathan Paisley Version: 2.1.1 OS: Mac OS X 10.4.2 Submission from: (NULL) (81.178.107.67) I was following an example from library/grid/doc/grid.pdf ("Introduction to grid") and had the following code, where I'd mis-typed 1,3 instead of 1,2 as the first arguments to grid.layout. Sourcing this code causes the R GUI to crash. I've enclosed a partial backtrace from
2002 Aug 05
1
pipe and binary i/o
I often want to use "pipe" with "readBin" to read (binary) data from the standard output of a Perl or C program. For that I need "pipe" to work with the "open='rb'" option. It never worked for me, and after a look at the connections.c file, I see that in "pipe_open" the mode gets passed directly to "popen" (I'm using Linux on
2002 Apr 23
2
Bug in read.table() (PR#1477)
The following command, temp <- read.table("c:/rfr/r/test.txt") reads the text file "test.txt", which contains the following lines: 21437 21438 21419-2 21420-2 21421-2 21422-2 and produces the following result: > temp V1 1 21437+0i 2 21438+0i 3 0+0i 4 0+0i 5 0+0i 6 0+0i > These "numbers" are actually sample ID's, and I
2005 Jun 15
1
coding to generate a matrix to prepare for chi-sqr test f or text mining
I would compile a table of all the words in the dataset (maybe you have it already), then create a list where each component is an integer vector of indices of words. That is, replace words by their positions in the table. >From that sparse form you could create binary features to use with standard classification methods, or for example compute the X'X matrix for linear regression
1999 Feb 02
0
Suggestion
I have to write extensions to R regularly. One of them was an interface to a mysql database on a different computer. The best way to do that is to have something like mysql<-function (dbname, host = "zap", user = "nobody", password = "ok") { handle <<- .RC("mysqlconnect", c(host, user, password, dbname)) } and query<-function (cmd) {
2001 Mar 21
1
Is there any help for "Cannot allocate vector size of xxx KB"
Forgive me if this isn't relevant, but: are you stripping off the output you need (e.g., parameter estimates) and throwing away what you don't (e.g., residuals)? Reid Huntsinger -----Original Message----- From: Saikat DebRoy [mailto:saikat at stat.wisc.edu] Sent: Wednesday, March 21, 2001 12:15 PM To: Han Lai Cc: R-help Subject: Re: [R] Is there any help for "Cannot allocate vector
2002 Jul 02
3
mean and array
In general this is what "apply" does. In your example you could use rowMeans(ar) as well, I think. Reid Huntsinger -----Original Message----- From: Olivier Martin [mailto:olivier.martin at inrialpes.fr] Sent: Tuesday, July 02, 2002 10:55 AM To: r-help Subject: [R] mean and array Hi all, I have an array, one say ar, with 3 dimensions. dim(ar) >200 3 4 I would like to
2002 Aug 06
0
pipe and binary i/o (on Linux)
Thanks very much, Professor Ripley. Reid Huntsinger -----Original Message----- From: ripley at stats.ox.ac.uk [mailto:ripley at stats.ox.ac.uk] Sent: Tuesday, August 06, 2002 3:00 AM To: Huntsinger, Reid Cc: r-help at stat.math.ethz.ch Subject: Re: [R] pipe and binary i/o (on Linux) On Mon, 5 Aug 2002 ripley at stats.ox.ac.uk wrote: > pipe predates readBin, and no one has seen a
2015 Feb 05
2
Invalid read of size 8
Hi, I have a R program that call a C function. I define a vector of pointer as int nLC=3; int pownLC = nLC*nLC double *MatCovExtra[nT+1]; for(k=0;k<K+1;k++) { MatCovExtra[k] = (double*)R_alloc(pownLC, sizeof(double)); } where nT>K. Then i put some values on the vector associated with the pointer: for(k=0;k<K+1;k++) { for(i=0;i<nLC;i++)
1997 Apr 11
1
R-beta: Linux Installation Problem
A non-text attachment was scrubbed... Name: not available Type: text Size: 7478 bytes Desc: not available Url : https://stat.ethz.ch/pipermail/r-help/attachments/19970411/ce9d665d/attachment.ksh
2002 Mar 26
1
comparing row by row in matrix
I don't know the Russell-Rao coefficient but maybe this will help: You can compute the number of times y and x are both 1 (that's what your function f does) by counting 1s in y*x, i.e., sum(y*x), aka t(y)%*%x. Ordinary matrix multiplication does this row-by-column, so if M and N are two binary matrices, M%*%t(N) will have (i,j) entry equal to the count of 1s in common to row i of M and
2004 Apr 21
0
RE: [openMosix-general] openMosix and R: File I/O issues?
It's generally said that OM needs lots more swap than plain Linux. There has to be someplace to juggle processes around. We use 4 GB nodes with something like 12 GB swap; that plus round-robin logins to distribute home nodes seemed to solve a lot of our problems. To use oMFS to allow processes to write from the node they've migrated to you also need DFSA enabled. That sounds like a great
2006 Dec 13
2
capturing value of C or Fortran function
Re: src/main/dotcode.c:do_dotCode() The value, if there is one, of a function called by .C or .Fortran is not captured, so one needs a wrapper. To avoid that, the user would have to declare that there is a value, specify its type, and supply an R variable to hold the value. Presumably, all of these could be combined in a new "VALUE=var" parameter. Then do_dotCode could arrange the