Displaying 20 results from an estimated 6000 matches similar to: "question about scan()"
2002 Oct 25
4
R v/s S-plus
Hi all,
I have Splus and R both on my unix machine. I intend to keep only one of
them. R looks to be a better choice. But I want to confirm. Is there any
function or group of functions in Splus that are absent in R?
Thanks,
Saket.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
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 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 Jan 24
1
Re: coding factor replicates
How about this. Its not as 'swish' as Doug's response, but it might be a
little simpler to think about and adapt...
# show the test vector
> tmp
[1] A B C B C A C B A A B
Levels: A B C
>
# create a named vector to store the number of occurences of each level
> index <- numeric(length=length(levels(tmp)))
> names(index) <- levels(tmp)
> index
A B C
[1] 0 0
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",
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
2010 Oct 06
3
what is the "NOT IN" operator
Good day,
I need to subset a data by removing several rows. I know the %in% operator, i.e.
sub <- mydata[group %in% c("A","B","E","G"), ]
What I need is the opposite, that is remove rows and/or columns. What is the operator for "NOT IN"? I tried (i)! %in% and (ii) ^%in% and both resulted in a "could not find function" error.
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
2007 Aug 21
2
compiling R under cygwin
For various reasons, it suits our workplace to have a cygwin version of
R. I am pretty sure that cygwin is still not a supported environment
for R, but we have managed to compile R-2.5.1 under cygwin without too
many dramas. Our procedure is described below. We still have a few
problems compiling libraries without manually changing files from .so to
.dll, but it seems ok.
I was wondering
2014 Jun 19
2
dovecot 2.2.13 core dump (signal 11)
We just upgraded from 2.1.16 to 2.2.13. One user is experiencing
problems when using the shared namespace. Specifically it happens when
opening/reading a message and when deleting messages. These functions
work for other users. So far, this appears to be only affecting one user.
The shared folder is a local ext4 file system and utilizes acls
# 2.2.13:
2014 Apr 17
2
segfault with shared namespace version > 2.1.16
We're currently running 2.1.16. I've been wanting to update to a 2.2.X
version, but have been running into problems, even with the latest
(2.2.12). I'm not sure at what version this issue appeared, but I
believe I've tried 2.2.10, 2.2.11, and now 2.2.12.
We have a shared maildir setup. With that configuration in place and
with a user in the dovecot-acl file, I can do the
2009 Feb 24
3
using winbind to map existing unix to AD users
On our campus, we have an AD forest. Our particular department has a
number of samba servers that authenticate to one tree of that AD forest.
All of our users have accounts in LDAP for unix and AD for windows.
We don't want/need winbind for authentication. However, we would like the
ability of setting ACLs on the samba server from windows clients. So, I
assume I need a mapping of unix
2016 Mar 01
4
GSOC 2016 Aspirant for Kepler Accelerated Video Encoding;
Hi,
First of all, congratulations to the X.org team for selection into
Google Summer of Code 2016.
I would like to participate to Google Summer of Code 2016 by
contributing to Kepler Accelerated Video Encoding for Nouveau.
I request you to kindly guide me as to how to get started with this project.
Regards,
Saket Sinha
2002 Jun 26
4
evaluate a string
Hello together
i want to execute different commands that are saved in strings (eg: "d
<- 4+7" and some more complicated things). How can i execute/evaluate
them. I know i could save them to a temp-file a read this with source.
But is there a way without a file in the middle?
I know also the 'assign' command but I think it would only the simply
cases.
thanks and gruess
joerg
2002 May 26
3
Read a Time Serie CSV
Hi,
I want to read some Times Series of GDP from OECD-Countrys.
First I call:
> oecd96<-ts(read.csv("oecd96.csv",header=T,sep=";"),start=1950,freq=1)
> summary(oecd96)
gdpcausb gdpcautb gdpcbelb gdpccanb
Min. : 8567 Min. : 4533 Min. : 6616 Min. : 8966
1st Qu.:10771 1st Qu.: 8717 1st Qu.: 9440 1st Qu.:11694
Median
2014 Mar 28
2
Recompiling the Kernel for CentOS 6.5
Hi,
I am working on CentOS 6.5 which has 2.6.32-431 kernel.
I have a problem with my driver and I need to enable Kernel-Memory
leak in the kernel for which I will have to recompile the kernel.
I get the kernel source tree from the the source rpm for my running
kernel from below link-
http://vault.centos.org/6.5/updates/Source/SPackages/kernel-2.6.32-431.11.2.el6.src.rpm
and I try to build
2013 Jul 09
1
[off topic] [research] Interviews for contributors over 50 for Oregon State University research
Hello,
Researchers at Oregon State University are striving to conduct
research to learn more about the free/open source software community
landscape as it relates to older adults. We have identified you as a
leader for a free/open source software community. If you?re
interested, we will either do an in-person interview (if you are local
to the Corvallis or Portland area), or an interview over the
2002 Mar 01
3
Split plot in colors/pch??
Hi all
This seems like a very easy question, but I have not found a simple
answer to it:
If you have a dataframe, how to you plot two of then in different colors
depending on a third variable?
All help appreciated!
/Fredrik
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send