Displaying 20 results from an estimated 6000 matches similar to: "ROracle and vector elements"
2002 Aug 23
1
R/SJava/ROracle installation problem
Hi,
I had problem during SJava and ROracle installation. I use "R CMD INSTALL
-c SJava_0.65-0.tar.gz" command to install SJava pakage. After
installation, I start R session and type library(SJava), error happened as:
> library(SJava)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2003 Jul 17
1
line length limitation in ROracle
Hello everybody,
I found that queries (send by "dbExecStatement" ) with more than 4000 characters
length produces an error in ROracle (ver 0.3-3). Maybe there is a limitation of 4kB....
Is this a bug? If yes, is this problem solved in the latest version of ROracle (ver 0.5-0)?
My system information:
platform sparc-sun-solaris2.8
arch sparc
os solaris2.8
2003 May 14
1
ROracle problem with Oracle9i on Red Hat 8.0
Hi,
I have a problem executing "library(ROracle)" in R:
OS/Software:
Redhat 8.0, all available patches applied
Oracle 9i v9.2.0.1.0
R v1.7.0
ROracle v0.5-0
DBI v0.1-5
The compilation and installation of ROracle went fine. However when I try to
load ROracle I get the following:
>> library(ROracle)
>Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable
2004 Aug 20
3
legends on the outside of the "box"
Hi R People:
Here is a simple set of commands:
>x1 <- 1:10
>x2 <- sqrt(x1)
>plot(x1)
>points(x2,col="red",pch=3)
>legend(2,8,legend=c("First","Second"),col=c("black","red"),pch=c(1,3))
>
Fine.
Now, I would like to put the legend box on the outside of the plot itself,
perhaps in the lower
left hand corner.
I've been
2003 Jan 17
1
DBI/ROracle for remote database connection ?
Hello,
I have installed the ROracle and DBI packages, and I want to
access an Oracle database that is not on the same machine
as the one I am running R on.
I can access the database remotely with perl DBI and Java JDBC.
Does anyone know if this is possible using R DBI/ROracle ? I
have looked through the documentation and also tried to guess
at things which might work, but with no success.
I
2004 Jun 22
2
question about window and inserting value
Hi again R People:
I have the following time series:
>x.ts
Jan Feb Mar Apr May Jun Jul Aug Sep
2000 0.95 0.66 0.83 0.66 -1.45 -1.25 0.33 1.03 -0.48
2001 2.55 1.21 -1.10 -0.63 0.01 -2.20 -0.51 1.12 1.11
2002 -1.37 0.55 -0.63 -0.56 0.92 -1.73 0.59 0.77 0.30
2003 0.55 -0.01 -0.54 2.27 -1.29 -0.23 0.09 -0.50 -0.61
Oct Nov Dec
2000 0.84 -1.35
2005 May 03
4
Classes and methods
Hi R people:
I would like to learn about classes, methods, S3 and S4.
Which book would be the most helpful for this info, please: the green one
or the white(and blue) one?
Or is there something that would be even better, please?
Thanks in advance.
Sincerely,
Laura Holt
mailto: lauraholt_983 at hotmail.com
R 2.1.0 Windows.
trying to learn
2005 Jul 10
2
Off topic -2 Ln Lambda and Chi square
Dear R :
Sorry for the off topic question, but does anyone know the reference for
the -2 Ln Lambda following a Chi Square distribution, please?
Possibly one of Bartlett's?
Thanks in advance!
Sincerely,
Laura Holt
mailto: lauraholt_983 at hotmail.com
2004 Aug 11
2
str and Surv objects
Dear R People:
I used the "Surv" function to produce the following object:
>a <- Surv(1:4,2:5,c(0,1,1,0)) a
[1] (1,2+] (2,3 ] (3,4 ] (4,5+]
>str(a)
Error in "[.Surv"(object, 1:ile) : subscript out of bounds
>
Why does str(a) give an error, please? Or did I do something wrong?
Thanks in advance.
R Version 1.9.1 Windows
Sincerely,
Laura Holt
mailto: lauraholt_983
2005 Feb 23
3
and [ESS] Starting ESS
Dear R People:
I have finally seen the error of my ways and have decided to use ESS for R
and S + stuff.
However, I have a question right from the beginning. I'm somewhat confused
by the installation instructions.
Do I install XEMACS or ESS first, please?
Windows XP
R Version 2.0.1
(S + 6.2)
Thanks so much!
Sincerely,
Laura Holt
mailto: lauraholt_983 at hotmail.com
2002 Aug 12
1
No subject
does anyone?add ROracle package on UNIX so far,
does anyone know what the requirement for adding ROracle on UNIX, if I have
my ORacle server on separate UNIX server, what I need to run install to
install ROracle package
thanks
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2004 Nov 16
2
changing character to a vector name
Dear R People:
I would like to generate a vector/variable name from within a loop to be
passed to a table
function.
This is what I have so far:
>assign("p1",paste("raw3.df$",rw2$V1[3],sep=""))
>p1
[1] "raw3.df$CITIZEN"
>
Essentially, I want to use the raw3.df$CITIZEN along with another value to
generate a table.
However, I'm stuck here. I
2004 Jun 21
2
question about latex command in Hmisc
Hi R People:
I got the following error from using the "latex" command from Hmisc;
>latex(bbm)
'latex' is not recognized as an internal or external command,
operable program or batch file.
Warning message:
cmd execution failed with error code 1 in: shell(cmd, wait = TRUE, intern =
output)
>
I was printing a matrix to a Latex File. This worked fine in Version 1.8.
This
2004 Jun 11
2
question about Rcmd SHLIB
Dear R People:
I'm trying to use the Rcmd SHLIB to produce a dll.
Rcmd SHLIB -o test2.dll test2.f
make[1]: *** [libR.a] Error 255
make: *** [libR] Error 2
Where do I go to find out about the "make" errors, please?
I suspect that I might be missing something. I have the tools for creating
new packages, but
maybe I left out something.
This is for R version 1.9.0 on Windows.
2005 Feb 28
1
number formatting
Dear R People:
I have used the command round(x,3) to produce values with 3 places to the
right of the decimal.
Is there any command to remove the leading zero before the decimal point,
please: that is, if I have 0.375, how do I produce just .375, please?
Thanks in advance
R 2.0.1 for Windows
Sincerely,
Laura Holt
mailto: lauraholt_983 at hotmail.com
2004 Jul 07
1
question about seq.dates from chron vs. as.POSIXct
Dear R People:
Here is an interesting question:
>library(chron)
>xt <- seq.dates(from="01/01/2004",by="days",length=5)
>xt
[1] 01/01/04 01/02/04 01/03/04 01/04/04 01/05/04
>
#Fine so far
>as.POSIXct(xt)
[1] "2003-12-31 18:00:00 Central Standard Time"
[2] "2004-01-01 18:00:00 Central Standard Time"
[3] "2004-01-02 18:00:00 Central
2004 Nov 16
3
Changing zeros to NAs in a data frame
Dear R People:
I have a data frame with some columns that are numeric and some which are
factors.
There are zeros in the numeric columns and I would like to change them to
NAs. However, there are zeros in some of the factor columns, and I would
like them to be left alone.
Is there a "global" way to do this, please? I was thinking about use the
results from "str" but am
2004 May 30
2
zipping a new package
Dear R People:
I have finally created a little R package.
Do I need to do anything special to create a zip file for that package, or
just use Winzip, please?
thanks so much
R Windows Version 1.9.0
Thanks,
Laura
mailto: lauraholt_983 at hotmail.com
2004 Jul 14
1
subsets in data frame
Hello R People:
I have a data frame with 2 numeric variables and 1 factor.
There are 3 levels of the factor.
I would like to get sums/means/etc of the numeric variables with respect to
the factor level.
I tried "table" and "subset" but have not hit upon a solution.
I thought maybe "apply" would be the answer but can't figure out how to
break out by factor.
2004 Oct 11
1
Puzzled on nlm
Dear R People:
Here is a function to minimized:
>mfun1
function(x,a) {
x[1] <- a[1]*x[2] + a[3] - a[2]*(a[1]-a[2])*a[3]
x[2] <- a[1]*x[1] - a[2]*a[3]
return(x)
}
Here is my first try:
>nlm(mfun1,c(1,1))
Error in f(x, ...) : Argument "a" is missing, with no default
>
>nlm(mfun1,c(1,1),a=c(0.8,0.5,1))
Error in nlm(mfun1, c(1, 1), a = c(0.8, 0.5, 1)) :