Displaying 20 results from an estimated 3000 matches similar to: "ROracle SQL length limitation"
2004 Nov 11
1
RSPerl problem with testing
Hi,
I'm trying to install de RSPerl module and i have some problems trying
to test it. I've tried to contact with the author but the e-mail address
seems not to exist. Hope that anyone in this list could explain me a
little about this problem. I have a bash shell and what i do is the
following:
#PERLLIB=/usr/lib/R/library/RSPerl/share/blib/arch:/usr/lib/R/library/RSPerl/share/blib/lib
#
2004 Nov 11
1
"<<-" assignment no long work in class methods
Hi-
I used to use "<<-" to do assignment inside a class method, and
just found that now it is broken in R 2.0. For example, the
following code
-----------------------------------------------------------------------
setClass( "myclass", representation(x="numeric") )
setGeneric("incrXByOne", function(obj) standardGeneric("incrXByOne"))
2004 Nov 10
1
Basic Q on coercing factors in data frames to numeric
Hi there,
I'm running R 2.0.0 on Windows 95. I'm trying to coerce a column of factors within a data frame to numeric. This is not a problem with a vector, but I can't find a way to index a column within a data frame to achieve this. All the examples from 'An introduction to R', 'S-plus 6 programmers guide', etc, use simple vectors. I'm sure I'm missing
2004 Nov 11
1
substitute/paste question for using Greek in plot titles
Hi all
I am having troubles making sense of why code (1)
below fails but code (2) below works.
Code (1):
> phi.1 <- 1
> plot(0 ~ 0,
+ main=substitute(paste("A vaue for ",phi," = ",phival),
list(phival=phi.1)) )
Error in paste("The two deviances for ", phi, " = ", 2) :
Object "phi" not found
But this works:
Code (2):
>
2004 Nov 10
1
"conditional duplicates"?
Hi,
i would like check a repeated measurement dataset, whether
cases (which (id) could be more than one time included and not all same
times included.)
have more than one times the same SMONTH!?
#This pseudo code didn't work with a for loop, because the [i+1] isn't
known.
How i could refer to [i+1] ?
if(ID[i] == ID[i+1] & SMONTH[i] !=[i+1]) {res[i] <- 0 }
if(ID[i] == ID[i+1]
2004 Nov 10
2
fSeries
Good morning everyone,
I use for the first time the package fSeries and i try to run the example
given by Diethelm Würtz. But when i run its example which is the following
#
# Example:
# Model a GARCH time series process
#
# Description:
# PART I: Estimate GARCH models of the following type ARCH(2)
# and GARCH(1,1) with normal conditional distribution functions.
# PART II: Simulate
2006 Dec 21
1
: newbie estimating survival curve w/ survfit for coxph
I am wondering how to estimate the survival curve for a particular case(s)
given a coxph model
using this example code:
#fit a cox proportional hazards model and plot the
#predicted survival curve
fit <- coxph(
Surv(futime,fustat)~resid.ds+strata(rx)+ecog.ps+age,data=ovarian[1:23,])
z <- survfit(fit,newdata=ovarian[24:26,],individual=F)
zs <- z$surv
zt <-
2003 Jul 24
3
trellis plot question
Greetings,
Does anyone know how to get an id number in the little header
above each individual plot within a trellis plot? The default
seems to be to print the word id and add a line indicating on
a linear scale where the current id sits.
Thanks in advance for any help you can send,
Suzette
=================================
Suzette Blanchard, Ph.D.
Research Scientist
Frontier Science
2006 Dec 20
2
\Sexpr in MikTex
Greetings, \Sexpr{} has worked on MikTex with earlier versions of R, I can not seem to get it to work with
R-2.4.0. I run Sweave with MikTex using the following statement in Run under Accessories.
latex -include-directory="C:\Program Files\R\R-2.4.0\share\texmf" "C:\Documents and Settings\Suzette\Desktop\MyFile\MyProgram.tex"
Any advice would be much appreciated,
Suzette
2004 Oct 25
4
CRAN packages
I am not able to download packages ("xtable") from CRAN
not even just a .zip file, I get that the page can not be
found. Please could you help?
Suzette
=================================
Suzette Blanchard, Ph.D.
Research Scientist
Frontier Science
2004 Nov 10
2
cubic spline/smoother with nlme
Greetings, I would like to use a cubic spline
or smoother to model the fixed effects within
nlme. So far the only smoother I have been able
to get to run successfully in nlme is smooth().
I tried smooth.spline:
fixed=list(lKa~1,lCL~smooth.spline(BSA, df=3))
the error I got was the following.
Error in model.frame(formula, rownames, variables, varnames, extras,
extranames, : invalid
2006 May 08
3
GARCH SIMULATION
Hi All,
I,m trying to do a GARCH simulation in R 2.3.0 release
in Windows XP. I've seen garchsim function but that is
for garch (1,1) and ?garch gives an example for ARCH
simulation. Can anyone help me how can i extend the
help shown in ?garch to GARCH simulation? Please help
me in this regard.
Thanks,
Sumanta Basak.
2008 Feb 26
0
RSPerl on OS X Server 10.4.11
Hello,
I tried the R-Sig-Mac list with this query, but had no takers. I hope
that the following isn't too far off the mark for this list. Many
thanks in advance if someone can help me out!
Quick summary: I can't get RSPerl working on a PPC G5 with the
pre-compiled binary for Mac OS X, but it does work if I compile R from
source with the "--enable-R-shlib" flag. If I
2004 Dec 17
1
reading the seed from a simulation
Greetings,
I have a simulation of a nonlinear model that
is failing. But it does not fail til way into the simulation.
I would like to look at the run that is failing
and maybe I could if I could capture the seed for the
failing run. The help file on set.seed says you can do it
but when I tried
rs<-.Random.seed
print(paste("rs",rs,sep=" "))
I got 626 of them so I
2008 Jun 12
1
adding horizontal lines to a trellis plot
I would like to add two horizontal lines representing acceptible drug levels to a trellis plot.
I tried using abline and I get an error that "plot.new has not been called." See below.
xyplot(FK~WEEK|Event1/MRN, data=FKdat.o1)
abline(h=5)
abline(h=10)
Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) :
plot.new has not been called yet
Any help that can be provided
2005 Mar 22
1
Writing R documentation
Greetings,
I used latex type code in my Rd files.
The pdf version using
R CMD Rd2dvi --output=PKtools.pdf --pdf --title="PKtools" PKtools man
came out quite nice.
However, my current HTML version does not tex the latex so there is
latex code in the files and looks bad.
example problem code:
AIC$_c$
or
\begin{itemize}
\item NLME:
\begin{itemize}
\item population level:
2008 Apr 08
2
Error: expected the collection operator c error pos 98 (error on line 1)
Greetings,
I implemented BRugs to run the EWOC model with a cohort size N=1. I output the simulation data using bugsdata(data), where data is the following list.
> data
$Dose
[1] 140
$Y
[1] 0
bugsdata(data) puts out the file data.txt as follows.
list(Dose=1.40000E+02, Y=0.00000E+00)
after I type the following line
modelData("data.txt")
2004 Jun 18
1
Problems running RSPerl w. SuSe 9.0 / Perl 5.8.1
Hi,
installation of RSPerl works fine without errors.
Running RSPerl does not work at all.
If I start R, and then enter this command:
library(RSPerl)
this error appears:
-----------------
> library(RSPerl)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
"/usr/local/lib/R/library/RSPerl/libs/RSPerl.so":
2009 Oct 29
1
Error installing RSPerl.
Dear list,
I have updated to version R-2.10.0. When I try to load the RSPerl
library I get the following error:
> library(RSPerl)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
'/usr/local/lib/R/library/RSPerl/libs/RSPerl.so':
/usr/local/lib/R/library/RSPerl/libs/RSPerl.so: undefined symbol:
boot_DB_File__Glob
Error: package/namespace load failed
2011 Jun 27
0
Errors when installing RSPerl-0.92
Hello,
I am having errors when I try to install RSPerl-0.92 under fedora 14.
I have the following rpms installed:
R-devel-2.13.0-1.fc14.x86_64
R-core-2.13.0-1.fc14.x86_64
perl-5.12.3-143.fc14.x86_64
perl-devel-5.12.3-143.fc14.x86_64
perl-ExtUtils-* (all of them from yum)
Now I get the following errors:
# R CMD INSTALL RSPerl_0.92-1.tar.gz
* installing to library ‘/usr/lib64/R/library’
*