similar to: Re: s+

Displaying 20 results from an estimated 2000 matches similar to: "Re: s+"

2002 Apr 15
1
Re: Writting R Function
Hi, I think I found the problem. It lies in my Fortran program. Is there a way, after a DO loop, to make sure it does NOT return anything? Cheers, Kevin On Mon, 15 Apr 2002, Ko-Kang Kevin Wang wrote: > Date: Mon, 15 Apr 2002 17:27:20 +1200 (NZST) > From: Ko-Kang Kevin Wang <kwan022 at stat1.stat.auckland.ac.nz> > To: R Help <r-help at stat.math.ethz.ch> > Subject:
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
2001 Sep 19
2
Save/Display R Work
Hi, I was tutoring in the lab when a student asked me this question. Is it possible to save the work done in R, then source it back in AND display all the work within R later? I know that one can save the history (i.e. all the codes in a session) in *.R format, then source it back in at a later stage. However the historical codes will not be displayed within R, only the line source(...) is
2001 Aug 25
2
Writing R Library
Hi there, I'm trying to write an R library (for Windows version) when I encountered this problem. I put in a dataset called mussels into a sub-folder, data (I saw this is how it is done in other libraries). However when I load the library in R and typed: data(mussels) it complains it cannot find the data set in the library. Everything else works fine (so far), am I missing something
2002 Sep 18
2
More on list to data frame (was: Re: List to Data Frame
Hi, Now suppose I have just one list called FOO, which has 25 objects, e.g.: [[1]] 1 2 3 4 5 [[2]] 6 7 8 9 10 . . . And I want to do something like: FRED <- data.frame(cbind(unlist(FOO[[1]]), unlist(FOO[[2]]), # ... for all 25 subsets )) Is it possible to do this, without doing unlist(FOO[[i]]) 25
2002 Jul 03
0
R Guide for Windows Users
I've just completed(?) an R Guide for Windows users. It was extended from my "Compile R for Windows" that I put up a few months ago. To get it go to http://www.stat.auckland.ac.nz/~kwan022/rinfo.php Here is the table of contents: 1 Introduction 2 Installation 2.1 Installing R Base 2.2 Installing packages 3 Running R 3.1 Rgui 3.2 Rcmd 3.3 Rterm 4 Comile
2004 Jul 07
0
Permission denied (if57@student.qut.edu.au)
You have attempted to send a message to a list to which you are not authorised. Your message has been discarded. QUT Help Desk (Postmaster) helpdesk@qut.edu.au Ph: +61 7 3864 4000 --- Original Message --- Received: from mail-router01.qut.edu.au (IDENT:mirapoint@mail-router01.qut.edu.au [131.181.254.7]) by copperhead.qut.edu.au (8.11.6/8.11.6) with ESMTP id i678hKJ30761 for
2002 May 10
1
barplot()
Hi, Is it possible to draw barplot with x-axis being shown? I looked up the help file and I couldn't seem to find it. For example, I tried to do x <- 1:9 p <- log10(1 + 1/x) barplot(p, xlab = "Digit d", ylab = "Probability", ylim = c(0, 0.35), axes = F, main = "Benford's Law Probability") axis(1, 1:9) axis(2, seq(0, 0.35, by = 0.05),
2003 Jun 01
1
Wording of "R Installation and Administration"
Hi, I hope I haven't got this wrong, but I don't think one needs Perl installed if they install the "precompiled" packages for Windows right? I'm just wondering if the first sentence in the "R Installation and Administration" can be re-worded a bit so newbies won't get confused.... ---------- Forwarded message ---------- Date: Mon, 2 Jun 2003 08:56:37 +1200
2002 Apr 09
1
Fortran (77) in R
Hi, I'm learning Fortran and trying to load a Fortran subroutine into R. I've done: R SHLIB Fibonacci.f and it compiled fine. Then I went into R and done: > dyn.load("Fibonacci.so") > Fib <- function(n) { + .Fortran("Fibonacci", + as.integer(n))[[1]] + } > Fib(5) Error in .Fortran("Fibonacci", as.integer(n)) :
2002 May 06
4
Subtitle?
Hi, Is it possible to add a subtitle that appears directly below the main title? I tried the "sub" parameter, but it adds sub-title to the bottom of the plot. Cheers, Kevin ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Postgraduate PGDipSci Student Department of Statistics University of Auckland New Zealand Homepage:
2002 Jun 08
2
More on for() Loop...
Hi, Say I want to do something like fitting 10 different sized trees with rpart() function. The only modification I need to do is to set 10 different cp's, which I have in a vector called foo. Can I do something like: for(i in 1:10) { rpart(y ~ ., cp = foo[i], data = mydata) } My problem is, I wish to save the 10 rpart objects into 10 different names, my.rpart1 ~ my.rpart10, for
2006 Mar 18
0
No subject
What you may need is to compile this package from source. It is explained in one of the R manuals (I can't remember which one though). You can also look at my "R Guide for Windows Users" at http://www.stat.auckland.ac.nz/~kwan022/rinfo.php (Section 5). I'm not sure the exact contents in the labdsv_0.9-1.tar.gz , but in general you can first unpack it with, e.g.: tar zxvf
1995 Sep 26
0
GPM Modula-2 and Oberon-2 Compilers
GPM Modula-2 and Oberon-2 Compilers File locations: ftp.fit.qut.edu.au:/pub/gpm ftp.psg.com:/pub/modula-2/gpm WEB Site: http://www.fit.qut.edu.au/CompSci/PLAS/GPM/ The Gardens Point Modula (GPM) compilers are an ongoing development project for the Programming Languages and Systems Group in the Faculty of Information Technology at the Queensland University of Technology.
2002 May 06
3
Using Object's Name in Function
Hi, Suppose I have a function: myfunc <- function(x, y) { ... } And within the function I want to print out the name of the x, y vectors. For example, if I do: > myfunc(foo, goo) [1] "foo" "goo" It shall return "foo", "goo" (with or without quotes is fine), where foo and goo are two vectors with numbers. I know this sounds strange, but I'd
2001 Mar 21
3
Output Files..
Hi, Somehow I forgot how to do this... Say I have a command that produced a 28 x 28 data matrix. How can I output the matrix into a txt file (rather than copy/paste the matrix)? Thanks... Kevin ------------------------------------------------- Ko-Kang Kevin Wang Statistical Analysis Division Leader Software Developers' Klub University of Auckland New Zealand
2003 May 22
1
Re: dates in chron package, split warning message
> > > Dear All, > > > > I am currently using R for windows. > > > > I am wondering why the dates command in chron package does not work in the > > following situation: > > > > cut(dates(c(23,45,67),origin=c(1,1,2004)),"months") > > > > but will work for: > > > >
2001 Aug 14
1
loess() v.s. lowess()
Hi there, Just out of curious, is there any difference between loess() and lowess() in R (and Splus in fact). Which one is more often used? Thanks, Ko-Kang Wang ------------------------------------------------------------------------------ Ko-Kang Kevin Wang Statistical Analysis Division Leader Software Developers' Klub (SDK) University of Auckland New Zealand
2001 Aug 27
1
Compile from Source.
Hi, Can anyone tell me how I can compile R from source under Windows environemtn (I kind of know how to do it in a UNIX enviroment)? What I mean is, suppose I make some changes in the R base, or reorganising the libraries, and want to compile into a Setup.exe file (like the one located in CRAN), how should I do this? Many thanks in advance... Ko-Kang Wang
2001 Oct 15
1
An Introduction to R - LaTeX Code
Hi, I am interested in seeing the LaTeX version of R manuals (such as An Introduction to R), and I found from CRAN that: "The texinfo sources of the latest version of these documents are contained in every R source distribution (in the subdirectory doc/manual of the extracted archive). " However when I went into that directory I only found the pdf and html version. Are there any