Displaying 20 results from an estimated 10000 matches similar to: "R v/s S-plus"
2002 Aug 06
1
timing predict.tree()
Hi all,
I am running R1.5.0 under Unix.
I am repeating my earlier question with a few details added.
I have the following tree fitted as the tree object 'my.tree':
node), split, n, deviance, yval
* denotes terminal node
1) root 5807 0.9998 0.0001722
2) V604 < 0.5 5798 0.0000 0.0000000 *
3) V604 > 0.5 9 0.8889 0.1111000 *
And I have a data.frame called
2002 May 15
3
question about scan()
Hi,
I am using the scan function to read from a file. In
general the syntax I am using is as follows:
scan("myfile", list(a = "", b="", c="", d=""), sep=",")
The file I am trying to read contains a #< in the 'd'
field. When the file is read into an object, the d
field comes as "" for that particular string.
I
2002 Aug 31
1
bug in garbage collector function gc() documentation (PR#1970)
Full_Name: Saket Joshi
Version: 1.5.0
OS: Solaris 5.8
Submission from: (NULL) (128.193.38.91)
According to the documentation obtained by entering: help.search("gc"), the
command gc() forces garbage collection and gives the memory usage statistics
along with the trigger values in bytes also interpretted in megabytes. However
when I ran gc(), the result was a list giving the memory usage
2002 Aug 23
2
why delete.response?
Hi all,
I am running R1.5.0 under unix.
I recently used the function 'predict.tree' to make predictions with a
tree object and a dataframe of numeric items. The predict.tree internally,
calls a function 'delete.response'.
When I removed this function call from the source code of predict.tree, it
ran 10 times faster without any differences in the result obtained.
The
2002 Jun 02
1
predicting non-numeric values
Hi all,
I had asked a question a few days ago on this list. I did not receive an
answer. Since it was important to me, I looked for the answer in some
references but as I am not really a statistics guy, the jargon was
overwhelming for me. I apologize if this question is too trivial.
Here is the question again:
I used the lm() function to fit a linear model to a set of items that I
got from a
2006 Jun 02
1
documentation bug as S-Plus catches up (PR#8933)
# R for Windows will not send your bug report automatically.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs at r-project.org
#
######################################################
The R documentation for "is.R" says
"## 'which()' only exists in R:"
This is no longer true. In S-Plus 8.0
>
2006 Mar 29
7
S-PLUS 8 beta program [repost]
[Sorry about the duplicate posting; this one comes from the correct address.
Please respond to me with any questions about this -- David.]
Dear R-help readers,
As Insightful announced at the DSC2005 meeting in Seattle, the next
release of S-PLUS will introduce a new package system. Our goal is to provide
package authors the means to create cutting-edge statistical methods
currently available
2002 Aug 02
1
question
Hi all,
I am running R1.5.0 on Unix.
I fitted a tree model my.tree on some data my.data and the tree has only 2
leaves. Now I have some test data new.data
When I run
predict(my.tree, new.data)
it does give a reasonable answer but it takes 60 to 90 seconds to come up
with the answer.
I had expected it to take far less than that considering that the predict
function has just to traverse a tree
2002 Aug 29
3
2 questions
Hi all,
I am using R1.5.0 under Unix,
I have a couple of questions here.
1. My program is running out of memory. I am writing a program to grow a
list of trees using rpart() on a subset of a large dataset(5807x693) with
a different response for every tree. I saw that after each tree was
constucted, 116 MB of data was being added to the Vcells. I have no idea
what this data is. My dataset is
2002 Dec 04
1
Converting R help files to S-Plus 6 sgml,html
I have help files in several formats. Up until now I have converted nroff files to S-Plus 6 sgml and html files using
Splus doc_to_S ... (creates .sgml file)
Splus HINSTALL ... (creates .sgm and .html files)
I maintain master help files in R .Rd files, and for some of my functions converting from .Rd to .sgm using R CMD Rdconv --type=Ssgm ... produces better .sgm files than beginning with
2008 Jun 04
1
Splus/R typedef for C equivalent of S "integer"
We've been working on making it easier to write
packages that work in both R and Splus. One issue
is that R and Splus use different internal representations
of integers and this makes a difference on their 64-bit
versions: R uses ints (32 bits on 32-bit and 64-bit versions
of R) and Splus uses longs (32 bits on 32-bit Splus and
64 bits on 64-bit Splus). The obvious ways to deal with
the
2006 Jan 26
3
How do you convert this from S Plus to R - any help appreciated . thanks
exportData(MU.Cost,paste("C:/RAUDSL/S",as.character(MU.Cost$Run.Id[1]),"
.",as.character(MU.Cost$MU.Id[1]),".MU.PRICE.OUTPUT.txt",sep=""),append
= FALSE,type="ASCII",quote=FALSE)
[[alternative HTML version deleted]]
2004 Jun 29
1
RE: [S] Different behaviour of unique(), R vs. Splus.
The source of the incompatibility:
In S-PLUS 6.2:
> methods("unique")
splus splus menu splus
"unique.data.frame" "unique.default" "unique.name" "unique.rowcol.names"
In R-1.9.1:
> methods("unique")
[1] unique.array unique.data.frame unique.default unique.matrix
2004 Feb 05
2
Available in S-plus, also in R1.8.1?
Hello all,
I'm looking for the R-equivalent of the S-option "Connect type: half
horiz first". Link:
http://miner.stern.nyu.edu/Splus/help/guihelp/__hhelp/connect_type.htm
I'm plotting with type="s" or type="S"; this is giving me a stairstep
starting, or ending with the value on the x-axis (as documented). But, I
want the x-value in the middle of the step,
2002 May 27
0
fitting a model for enumerated datatypes
Saket Joshi asks:
> -----Original Message-----
> From: Saket Joshi [mailto:joshi at engr.orst.edu]
> Sent: Monday, May 27, 2002 6:15 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] fitting a model for enumerated datatypes
>
> Hi,
>
> I have used the scan() function to read data from a file as follows:
>
> x <- scan("myfile",
1997 Aug 20
1
R-alpha: R-0.50-a3: [logical, drop = FALSE] -- bug in R (and S-plus)
This is a bug both in R and S-plus (in R it's "worse"), I think.
Look at this :
ma <- cbind(1,1:8); logi <- rep(c(T,F),4)
ma[logi,]
##> [,1] [,2]
##> [1,] 1 1
##> [2,] 1 3
##> [3,] 1 5
##> [4,] 1 7
##-- now the same with [ , drop = FALSE]
## R (-0.50-a3) :
ma[logi, drop = F]
##>> Error: invalid subscript type
##
2008 Jan 04
5
I need arguments pro-S-PLUS and against SAS...
I need arguments pro-S-PLUS and against SAS for a meeting I will
have next week. S-Plus is (90 - 99)% compatible with R, so using
S-Plus will make things much easier for everyone. But I can't use
this argument. What other arguments could I use?
Alberto Monteiro
2006 Jul 27
2
Moving from Splus to R - advice/opinions request from a management perspective
Hi,
I've looked through the archives and seen several posts discussing technical differences between R and S(plus). It appears to me that R can likely functionally replace Splus for my situation, but I'm more interested in looking at the risks and benefits of moving from Splus to R from a (project) management point of view.
Background (a bit wordy, I'm afraid):
-
1999 Jan 25
1
COMMERCIAL: S-PLUS Data Analysis Software now Available on Linux (fwd)
I thought R users might be interested (surprised) to hear that R will have
some competition on Linux now.
Bill
---------- Forwarded message ----------
Date: Sun, 24 Jan 1999 01:37:15 GMT
From: Cheryl Mauer <cmauer at statsci.com>
Newsgroups: comp.os.linux.announce
Subject: COMMERCIAL: S-PLUS Data Analysis Software now Available on Linux
Followup-To: comp.os.linux.misc
-----BEGIN PGP
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