Displaying 20 results from an estimated 1000 matches similar to: "Recursion error after upgrade to R_2.11.1 [Sec=Unclassified]"
2009 Jun 29
1
S4 and connection slot [Sec=Unclassified]
Hi all,
I am having a problem trying to declare a slot representation to hold a file connection.
With V2.8.0 I had been using:
setClass("Element",
    representation(
        [other slots removed],
        datafileConn    = setOldClass(c("file","connection"))
    )
)
This resulted in a warning but still ran okay.
No however with V2.9.0 I am getting
2009 Jun 23
3
V2.9.0 changes [Sec=Unclassified]
Hi all,
Prefix: I am a frustrated Java coder in R.
I am coding a medium sized ecosystem modelling program in R.  I have changed to using S4 objects and it has cost me an order of magnitude in execution speed over the functional model.  I cannot afford this penalty and have found that it is the result of all the passing-by-value of objects.
I see that you can now safely inherit from
2010 Oct 13
1
Wierd nlm behaviour in 2.10.1 and 2.12.0 [Sec=Unclassified]
Hi all,
When upgrading to 2.11.1 recently I noticed different results being produced by my code.
After much digging I have finally narrowed it to a call to nlm().
This can be replicated by:
FixedRemovals<-1836180125888
AbStageInitial<-2223033830403
Rates<- 0.3102445
nlm(function(rootM,Abund,Loss,OtherM)
     {(Loss-(rootM/(rootM+OtherM)*
      (1-exp(-(rootM+OtherM)))*
     
2010 Oct 04
1
S4 class help pages [Sec=Unclassified]
Hi,
I am working on producing an R package containing mostly S4 classes and methods.
I have generated and filled out all the necessary .Rd files but find that once installed I am unable to access help pages for the classes using the ?package::classname-class syntax that is suggested when using the ?? apropos search.  This lists my package classes and the class help pages.  Instead, the
2009 Jun 02
1
S4 Objects [Sec=Unclassified]
I am new to R programming but have dived into a medium sized modelling software development project.
Having come from a Java OO background I have a couple of questions about S4 objects.
Is there a way to make S4 slots (and methods) private and hence force the use of accessor methods?
Is there a straight-forward way to implement pass-by-reference for method parameters?
I am currently
2008 Mar 17
1
generalized linear mixed models with a beta distribution [Sec=Unclassified]
Craig A Faulhaber wrote:
 
>I am interested in using a generalized linear mixed model with data 
> that best fits a beta distribution (i.e., the data is bounded between 
> 0 and 1 but is not binomial).
..
>For clarification, here's what I'm trying to model:
>I have a beta-distributed response variable (y).  I have a fixed-effect
>explanatory variable (treatment),
2018 Oct 03
2
Non-matching linkedid on CDR Records [SEC=UNCLASSIFIED]
Hi asterisk-users,
We have recently moved to the 13.x branch of Asterisk from 11.x, and we're trying to correlate CDR records from multiple-legs for billing purposes.
As part of this change we have added 'linkedid' to our CDR table schema in an attempt to join the multiple records into one billable record.
The call path can be simplified as (transport types in brackets):
SIP
2005 Feb 24
4
r: functions
hi all
i have a function that uses two inputs, say xdata and ydata. An example
is the following,
simple1<-function(xdata,ydata)
{
	ofit<-lm(ydata~xdata)
	list(ofit)
}
say i use arbitray number for xdata and ydata such that
D = 
x1	x2	y
1	1	10
2	6	6
3	10	7
x<-D[,1:2]
and 
y<-D[,3]
if one uses these inputs and rund the program we get the following:
>simple(xdata=x,ydata=y)
2009 May 05
0
S4 slot of type connection [Sec=Unclassified]
I am having trouble declaring a slot of type "connection" or "file" in which to store a file connection.
I get a warning message when class definition is loaded:
In .completeClassSlots(ClassDef, where) :
  undefined slot classes in definition of "Element": datafileConn(class "file")
Can anyone suggest what type I should be using for the slot.  Type
2012 Mar 22
0
Disable AD checking per share in smb.conf [sec=unclassified]
Hi,
Is it possible to have non-authenticating shares on an server with security=ADS  ?
I have a RHEL server, with Centrify Express, and joined to a domain, but I would 
like to have a samba share that doesn't request a username/password for machines 
not on the domain.
When I have a plain windows XP machine (not on the domain) attempt to connect, I 
get asked for a username/password.
Is
2008 Sep 10
3
writing simple function through script
Hi all,
 
I try to write a simple function in a script. The script is as follows
 
yo<-function(Xdata)
{
n<-length(Xdata[,1])
 
Lgm<-nls(formula=LgmFormula,
  data=Xdata,
  start=list(a=1500,b=0.1),weights=Xdata$Qe)
return(Lgm)
}
 
After the execution of the script, when I call the function yo on data
called NC60.DATA I get an error.
 
#yo(NC60.DATA)
Erreur dans eval(expr, envir, enclos)
2012 Apr 23
1
Disable AD checking per share in smb.conf [sec=unclassified]
Hi,
Is it possible to have non-authenticating shares on an server with security=ADS  ?
I have a RHEL server, with Centrify Express, and joined to a domain, but I would 
like to have a samba share that doesn't request a username/password for machines 
not on the domain.
When I have a plain windows XP machine (not on the domain) attempt to connect, I 
get asked for a username/password.
Is
2012 Dec 27
2
Bootstrap
Hola, buenas tardes
estoy intentando hacer un bootstrap de un modelo, pero me da el siguiente
error:
"Error in FUN(newX[, i], ...) :
  unused argument(s) (list(age = c(33, 47, 49, 56, 60, 64, 64, 66, 68, 69,
71, 71, 72, 73, 74, 75, 75, 76, 78, 81, 83, 83, 36, 43, 46, 47, 49, 49, 51,
51, 52, 52, 53, 54, 54, 54, 55, 56, 56, 57, 57, 58, 58, 58, 58, 59, 59, 60,
61, 62, 63, 64, 65, 65, 66, 66,
2011 Oct 05
2
AsOf join in R
Hi,
I tried to google for any solution for asof join operator in R. But I
couldn't find one. The asof join operator AsOf(A,B) merges 2 time
series by looking for latest available value of B prior to each time
point in A. For example,
A <- xts(c(10,15,20,25),
order.by=as.POSIXct(c("2011-09-01","2011-09-09","2011-09-10","2011-09-15"))
B <-
2008 Dec 18
1
using jackknife in linear models
Hi R-experts,
I want to use the jackknife function from the bootstrap package onto a
linear model.
I can't figure out how to do that. The manual says the following:
# To jackknife functions of more  complex data structures, 
# write theta so that its argument x
#  is the set of observation numbers  
#  and simply  pass as data to jackknife the vector 1,2,..n. 
# For example, to jackknife
#
2008 Aug 27
1
ifelse() fill order and recycling rules [Sec=Unclassified]
Hi all,
Using R v2.7.1, platform i386-pc-mingw32
Can someone please shed some light on the behaviour of ifelse() for me?
My intent is to calc relative proportions of z$b, at the same time
subsetting z$b based on z$a. I could attack the problem other ways
(suggestions welcome) but I am also intrigued by the _order_ in which
ifelse seems to assign values, and how recycling works. For instance, 
	
2005 May 17
3
locator() (PR#7873)
Full_Name: Sascha Frydman
Version: 2.1.0
OS: Windows XP
Submission from: (NULL) (147.66.131.10)
when Esc is pressed while a plot with locator running has the focus, R crashes.
eg.
plot(1)
locator(1)
I am running in SDI mode
2012 Sep 13
1
[LLVMdev] Parsing C++ template parameters using cindex.py
Hi,
I am parsing a C++ file using cindex.py and want to get the template
parameters to a specific node. However, the tree seems to be different
depending on if the template parameter is a struct/class or a simple
type such as int or float. In the first case the template type is
appended as a child to the VAR_DECL node (the TYPE_REF node seen in
the example below), but this is not the case with
2008 Jun 24
2
persp plot
I have a set of data in the form
x1, y1, z1
x1, y2, z2
...
x1, yN, zN
x2, y1, z(N+1)
x2, y2, z(N+2)
...
x2, yN, z(2N)
...and so on...
xM, yN, val(M*N)
I have been trying to figure out how to get R to use this data in a  
persp plot.  So far the only thing that I can figure out to do is to  
break the data file into three different files.  The first file  
contains the x-coordinate data:
x1
x2
2009 Jun 25
2
Error: system is computationally singular: reciprocal condition number
I get this error while computing partial correlation.
*Error in solve.default(Szz) :
  system is computationally singular: reciprocal condition number =
4.90109e-18*
Why is it?Can anyone give me some idea ,how do i get rid it it?
This is the function i use for calculating partial correlation.
pcor.mat <- function(x,y,z,method="p",na.rm=T){
    x <- c(x)
    y <- c(y)