Displaying 20 results from an estimated 4000 matches similar to: "run R under linux"
2003 Oct 10
3
command line limit under unix?
Dear all,
I have made my testing program to run successfully under unix in the
background. However, my simulation work does not work. I read the
foo.results file, I found it only have part of my code and not any output I
want. Is there any line limit? My code is nearly 400 line. I can cut some of
them, but I want to know whether there is any limit or exactly the number of
limit is. Thanks.
2004 Oct 16
7
sapply and loop
Dear all,
I am doing 200 times simulation. For each time, I generate a matrix and
define some function on this matrix to get a 6 dimension vector as my
results.
As the loop should be slow, I generate 200 matrice first, and save them into
a list named ma,
then I define zz<-sapply(ma, myfunction)
To my surprise, It almost costs me the same time to get my results if I
directly use a loop
2004 Oct 16
7
sapply and loop
Dear all,
I am doing 200 times simulation. For each time, I generate a matrix and
define some function on this matrix to get a 6 dimension vector as my
results.
As the loop should be slow, I generate 200 matrice first, and save them into
a list named ma,
then I define zz<-sapply(ma, myfunction)
To my surprise, It almost costs me the same time to get my results if I
directly use a loop
2004 Sep 30
1
Vectorising and loop (was Re: optim "a log-likelihood function")
>From: Sundar Dorai-Raj <sundar.dorai-raj at PDF.COM>
>Reply-To: sundar.dorai-raj at PDF.COM
>To: Zhen Pang <nusbj at hotmail.com>
>CC: r-help at stat.math.ethz.ch
>Subject: Vectorising and loop (was Re: [R] optim "a log-likelihood
>function")
>Date: Wed, 29 Sep 2004 18:21:17 -0700
>
>
>
>Zhen Pang wrote:
>
>>
>>I also use
2003 Oct 09
2
run R under unix
Dear
I used to use R under windows. I always save my code in a txt file. When I
want to run something, I just copy and paste to the windows.
I recently need to do a big simulation work which will cost 5 or 6 days. I
am afraid the memory of windows can not cope with this situation.
I now want to run the code under unix. However, I do not know how to run
this code in txt file under unix. I
2015 May 28
3
S4 inheritance and old class
Hey everyone,
I would like to develop a package using S4 classes.
I have to define several S4 classes that inherits from each others as
follow:
# A <- B <- C <- D
I also would like to define .DollarNames methods for these class so, if I
have understood well, I also have to define an old class as follow:
# AOld <- A <- B <- C <- D
setOldClass(Classes = "AOld")
2003 Dec 10
2
OT: BibTex year-only citation in text?
Sorry for the off-topic question, but I know there are some talented
LaTeX users out there. Which bibliography style gives only the year in
text citations (e.g "for further details, see Anderson (1992)" )?
Thanks
Jason
--
Indigo Industrial Controls Ltd.
http://www.indigoindustrial.co.nz
64-21-343-545
jasont at indigoindustrial.co.nz
2003 Nov 01
2
Question about the high dimensional density estimation
Hi,
I found that the R package "KernSmooth" can deal with only 1D and 2D data. But now I have a collection of 4-dimensional data (x1,x2,x3,x4) and would like to estimate the "mode" of the underlying density. What can I do about it ?
Thanks a lot.
--
Ying-Chao Hung
Assistant Professor
Graduate Institute of Statistics
National Central University
Chung-Li, Taiwan
TEL:
2003 Dec 21
3
Sweave/LaTeX Problem with EPS PDF
Dear List:
I am unsure if my problem is with Sweave or LaTeX. Anyhow, I am using the MikTeX distribution and TexnicCenter.
I can easily create Sweave files and all goes well until I try to incorporate graphics. I use the same code as found in the examples found in the users manual.
In R, the graphics I want are created as Sweave is creating the .tex file. When I examine the .tex file
2003 Dec 04
4
bug in as.POSIXct ?
I think that there is a bug in the as.POSIXct function on Windows.
Here is what I get on Win2000, Pentium III machine in R 1.8.1.
> dd1 <- ISOdatetime(2003, 10, 26, 0, 59, 59)
> dd2 <- ISOdatetime(2003, 10, 26, 1, 0, 0)
> dd2 - dd1
Time difference of 1.000278 hours
Now, the 26th of October was the day that change to the standard time
occurred, so I suspect that this has
2001 Jan 24
5
trouble with netCDF (PR#824)
Having trouble with netCDF since I upgraded to 1.2.1 (did directly
from 1.1.1). Package was recompiled after the upgrade.
Symptoms:
open.netCDF returns cleanly, but read.netCDF causes R to segfault
and dump core. What else do you need me to write to help?
--please do not edit the information below--
Version:
platform = i586-pc-linux-gnu
arch = i586
os = linux-gnu
system = i586, linux-gnu
2003 Oct 28
3
ts vs. POSIX
OK.
What if I have a time series which is collected every Monday, please?
What is the proper way to use the start option within the ts command
in order to indicate that this is Monday data, please?
Thanks again!
Sincerely,
Erin
2003 Dec 18
2
diagnostic information ....
Paul E. Johnson wrote:
> I handed out some results from glm() and the students ask "how many
> observations were dropped due to missing values"?
>
> How would I know?
>
> In other stat programs, the results will typically include N and
> the number dropped because of missings. Without going back to R and
> fiddling about to find the total number of rows in
2003 Dec 19
1
iterative proportional fitting
Dear all,
I wonder if there are some function or package in R which can do the
iterative proportional fitting.
In the exponential model
f(y1,...yn)=exp(a'yi+b'(yi*yj)+.....+c'(y1*...*yn)+constance),
instead of the canonical parameters, I use maginal probability instead of a
and log odds ratio instead of b. and for the order higher than 3, I use the
canonical way or even assume
2002 Dec 18
6
Can I build an array of regrssion model?
Hi,
I am trying to use piecewise linear regression to approximate a
nonlinear function. Actually, I don't know how many linear functions I
need, therefore, I want build an array of regression models to automate
the approximation job. Could you please give me any clue?
Attached is ongoing code:
rawData = scan("c:/zyang/mass/data/A01/1.PRN",
what=list(numeric(),numeric()));
len =
2002 Apr 29
3
how to trap any warnings from an R function
Within an user function, how are the warnings from an R function be trapped
(such that some proper actions can be taken)? 'last.warning' is returned
only at the top level. Pointers are appreciated.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2003 Nov 06
4
building r-patch
Hi,
I am building r-patch from the sources (rsync-ed today).
make check produced the following message:
running tests of Internet and socket functions
expect some differences
make[3]: Entering directory `/usr/evahome/vograno/R/tests'
running code in 'internet.R' ... OK
comparing 'internet.Rout' to './internet.Rout.save' ...18c18
< Content type `text/plain;
2003 Dec 02
3
check WARNING...
I've been developing a package and have been getting the following warning
when running the check command:
* checking S3 generic/method consistency ... WARNING
plot:
function(x, ...)
plot.summaries:
function(trees, sp)
* checking for replacement functions with final arg not named 'value' ... OK
* checking Rd files ... OK
...blah, blah, blah...
* checking examples ... OK
*
2003 Sep 03
3
help.start( )
Dear R experts,
I installed R-1.7.1 on Linux (Red Hat 9.0) starting from R-1.7.1.tgz without a problem. Then I fired up R and tried things and found that help.start( ) does not work. I downloaded Sun Java j2re1.4.2, installed that and re-installed R-1.7.1 from scratch. I tried help.start( ) again and the browser (Mozilla 1.2.1) crashed.
I read about copying libjavaplugin_oji.so into
2003 Oct 01
5
lda source code
I am new to R. Trying to find out how lda() {in MASS R1.8.0 Windows} was
implemented in R. Does anyone know where to find out lda source code ?
Thanks.
Wei