Displaying 20 results from an estimated 10000 matches similar to: "Output Files.."
2001 Apr 23
4
Time series in R
The help pages of R-1.2.2 include several pages on various
time series functions, but when I try to use these functions
they appear not to be available .... am I missing something
obvious, or are these functions not yet built?
Chris Rogers
-----------------------------------------------------------------------
L C G Rogers, Professor of Probability tel:+44 1225 826224
Department of
2001 Mar 27
2
How do I change the editor in R command window?
Dear R-help,
I have started using R on my Linux box (Debian), and I have some
problems with setting the editor/keyboard for R. The
For instance, arrow-up gives "^[[A", and delete gives "^H". I have a
Norwegian keyboard, but that doesn't cause any
problems for editors like emacs. Could you advice me on how I can set
the editor for R right? I have tried
2001 May 23
4
Matrix manipulation
Hi,
Suppose I have a matrix with, say 12 columns.
I would like to extract out column 2 ~ 8 and 11 ~ 12 then combine them together.
I tried with success to extract out the columns by doing:
foo <- test[,2:8]
goo <- test[,11:12]
However then I am having trouble combining foo and goo.
Helps are appreciated!
Cheers,
Kevin
-----------------------------------
Ko-Kang Kevin Wang
2001 Mar 15
2
Alternative to list()
Hi,
Suppose I have a dataset with 10 columns, let's call it "foo".
Now if I want to extract out only column 2 ~ 8, then I know I can use either:
foo[ ,2:8]
or
fooNew <- list( foo[ ,2:8] )
(Is there any other alternative, just out of curiosity?)
But, if I only want, say, column 1, 4 and 7, I tried:
fooNew <- list( x = foo[ ,1], y = foo[ ,4], z = foo[ , 7] )
2001 May 02
2
rcode and latex
I have discovered the listings package for including code in your latex
documents. The default languages do not include R or Splus, but the
definition is pretty simple, this is what I did for R:
\lst at definelanguage{R}%
{morekeywords={TRUE,FALSE,T,F,NA,NULL,Inf,NaN,library,%
attach,detach,source,while,for,in,%
repeat,switch,break,next,return,stop,function,%
if,else,warning,error},%
2001 Mar 21
2
RPackage
Please, is there anyone who can give me some suggestions?
(1) I have to use a package from R on my work. The package is the
"quantreg" developed by Koenker (Uni Illinois). I have installed the
package in the R library tree /usr/local/lib/R/ library of my Linux
Operating System. I did R CMD INSTALL -l /usr/local/lib/R/ library
/path/to/quantreg_x.y-z.tar.gz. However, when I call any
2001 Mar 16
2
apply()
Hi,
I input this command on a data matrix:
> apply( traffic, 2, function(z){z-mean(z)})
and got the following error messages:
Error in sum(..., na.rm = na.rm) : invalid "mode" of argument
Can anyone tell me what is wrong here?
Running R1.2.2 on Windows ME.
Cheers,
Kevin
-------------------------------------------------
Ko-Kang Kevin Wang
Statistical Analysis Division
2001 Aug 15
2
FORTRAN in R
Hi,
Can anyone tell me what might cause this error message?
Error in .Fortran("swallocate", as.double(mtx), as.double(wt),
as.integer(n), :
C/Fortran function name not in load table
This occurs when I copied the Splus stepwise() function into R. I can
source into R fine, but when I need to call that function on some dataset,
I got the above error message.
Platform
2023 Apr 03
1
Let R compile for libcurl8 ?
On 03/04/2023 14:07, Detlef Steuer wrote:
> Hi!
>
> The same Inar reported for rawhide
> (https://stat.ethz.ch/pipermail/r-devel/2023-March/082482.html)
> is true for SuSE's distros.
>
> Right now R does not compile with libcurl8, but SuSE Tumbleweed/Factory
> switched to 8 a week ago.
>
> Would be great, if the patch Inar provided could be applied to
>
2001 May 02
2
Export to File...
Hi,
I've been reading the Data Import and Export manual (page 25 on Connection
chapter) but somehow I can't manage to get what I want.
I have a 28x28 distance matrix, which I would like to export to a file.
What I did was something like:
zz <- file("ex.data", "w") # open an output file connection
cat( traffic.manDist, file = zz ) # traffic.manDist is my
2001 Mar 20
3
help:too slow
here is a script I use to make overlapping cut of my input "col.dat"
file into a matrix:
#----------------------------------
col2mat<-function(x, sampsz=220, qsamp=2000) {
m<-matrix(nr=qsamp, nc=sampsz)
for(s in 1:qsamp){
print(s)
for(i in 1:sampsz){
m[s,i] <- x[s+i,1]
}
}
m
}
w<-read.table("col.dat", check.names=FALSE)
m<-col2mat(w)
2001 Jan 08
3
Excel-to-R Interface
Hi,
I have some questions about Excel-to-R interface and I hope somebody can help me. Is it possible to call functions in a self-defined package from Excel using the Excel-to-R interface? We created the package successfully and can run all the functions inside R. But when we tried to run them from Excel, we kept running into problems. It seems we can not run anything that is not in the base
2023 Apr 03
1
Let R compile for libcurl8 ?
On 03/04/2023 15:24, Detlef Steuer wrote:
> Am Mon, 3 Apr 2023 15:13:58 +0100
> schrieb Prof Brian Ripley <ripley at stats.ox.ac.uk>:
>
>> On 03/04/2023 14:07, Detlef Steuer wrote:
>>> Hi!
>>>
>>> The same Inar reported for rawhide
>>> (https://stat.ethz.ch/pipermail/r-devel/2023-March/082482.html)
>>> is true for SuSE's
2001 Mar 29
1
screeplot() v.s. plot()
Hi,
Suppose I've got a data set that I found the eigenvalues and eigenvectors. Then I want to draw a screeplot for the eigenvalues. However it returns:
Error in matrix(w.m, nc = NC) : negative extents to matrix
Then I tried a plot() function on the eigenvalues of the data set, and I can successfully draw it! And the output looks like what the screeplot would show to me.
Is there any
2000 Apr 18
4
R : 3D graphics
I am looking for a package that allow to plot 3D set of points (x, y, z) ?
Can someone help me to find it ?
thank for help
anne
--
Anne BADEL-CHAGNON Email:badel at urbb.jussieu.fr
Equipe de Bioinformatique Mol?culaire, Universite Paris 7
Tour 53, 1er etage, case 7113 Tel : 01.44.27.77.14
75251 Paris cedex 05 Fax : 01.43.26.38.30
-------------- next part
2001 Apr 08
1
Random Number Testing...
Hi,
Suppose I want to test a set of random numbers (using the Binormal random
number generator), input the following command to generate a set of random
numbers:
test <- rbinom( 10000000, 1, 0.5 )
How can I, after obtaining the result, export the vector "test" into an text
file?
Then, suppose I want to do something like:
> x <- 1e10
> x
[1] 1e+10
2002 Jan 09
3
Build R Packages (man)
Hi there,
I'm trying to get the manual for an R package (that I'm creating) to
work...
Firstly, I created the *.Rd files (by following the instructions in
"Writing R Extensions" and using prompt() in R, then edit the *.Rd
files. I then copy them into the "pkg/man" directory as suggested by the
manual. However when I load the library (successfully) in R, I cannot
2000 Nov 22
3
Confidence interval
I have this question I hope you can answer. First, lets see this simple example, using the Student's t-test:
> test<-t.test(miTest.data, mu=0.5, conf.level=0.90 )
> test
One Sample t-test
data: miTest.data
t = 0.5222, df = 9, p-value = 0.6141
alternative hypothesis: true mean is not equal to 5
90 percent confidence interval:
3.744928 7.255072
sample estimates:
mean
2000 Jul 31
4
Loop Delaying
Hi there,
I know this question may sounds strange, but here it goes:
Is it possible to delay the speed of a for loop? For example, if I
have:
for (i in 1:100) {
blah blah blah
}
within the for loop I want to draw a series of plots, and combining the
plots together I'll have an animation. Problem is the loop is too fast
and I only see the end result (which is not surprising actually).
2023 Apr 03
2
Let R compile for libcurl8 ?
Hi!
The same Inar reported for rawhide
(https://stat.ethz.ch/pipermail/r-devel/2023-March/082482.html)
is true for SuSE's distros.
Right now R does not compile with libcurl8, but SuSE Tumbleweed/Factory
switched to 8 a week ago.
Would be great, if the patch Inar provided could be applied to
main.
Detlef
--
"Wozu leben wir, wenn nicht dazu, uns gegenseitig das Leben
einfacher zu