Displaying 20 results from an estimated 20000 matches similar to: "duplicate row importing issue"
2004 Jul 14
3
(no subject)
Hello,
I'm new to R, and I'm having trouble importing a text file (I'm
on Windows XP)
> m <- read.table("/Desktop/work/128_L")
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `/Desktop/work/128_L'
do you know why this isn't working? All I have is a bunch of text files,
each with a
2004 Jul 19
2
hclust error
Hello,
I'm trying to do a cluster analysis on a large data set. I
tried it out with a smaller one first, but I got this error:
> hc<-hclust(dist(x),"ave")
Error: cannot allocate vector of size 4129151 Kb
The data sample used (i.e. "x") is a numerical data set of size 32513 by 31
Does anyone know how I can do this analysis? Is R capable of this
2004 Jul 15
2
row naming
Hello,
If I have a four column data set (with thousands of rows), that
doesn't have a header, how do I load in this text file, WITHOUT a row added
for naming(i.e. numbering the rows, 1 2 3 4 5......).
Also, if a row is added for naming, then will it be actually included in the
data? That is, will that numbered row be included in analysis I run? (like
PCA)
Thanks!
2004 Jul 14
2
PCA in R
Hello,
I'm attempting to run a PCA on an example data set. I ran it
just fine, but I don't know how to few the output? I listed what the
variable got stored in it, but I don't know how I can get anything else out
of it. Are there other ways to view the results?
Also, I'm confused about the last line "6 variables and 8 observations"
Aren't the rows the
2007 Dec 06
2
Any package for deconvolution?
I want to run deconvolution of a time series by an impulse or point-spread function through Wiener filter, regularized filter, Lucy-Richardson method, or any other approaches. I searched the CRAN website and the mailing list archive, but could not find any package for such a deconvolution analysis. Does anybody know an existing R function for deconvolution?
TIA,
Gang
2005 Mar 23
3
nested random effects
Hi
I am struggling with nested random effects and hope someone can help.
I have individuals (ID) who are nested within families (FAM). I want to
model an outcome variable, and take account of the intercorrelation of
individuals within each family.
I think this amounts to two random effects, one nested within the other.
How can I model this in R?
So far I have tried using the
2002 Dec 26
3
questions from a newbie
I have several newbie questions - any help much appreciated:
1. I run a combination Windows 98 and XP home network - have been looking at
Linux on two boxes at home - one desktop - one laptop - RH 7.3
2 I can get samba to run okay and in each of the two Win98SE machines can
see them as localhost
3. I cannot access any resources on the Linux machines - Win98 asks for a
password - \\localhost\IPC$
2003 Jul 30
6
reverse array indexing
Hi,
Suppose I have a multidimensional array:
tmp <- array(1:8, c(2,2,2))
is there a function out there that, given a one-dimensional array index,
will
return the separate indices for each array dimension?
for instance, tmp[8] is equivalent to tmp[2,2,2]. I'd like to derive the
vector (2,2,2)
from the index 8.
thanks,
Brad Buchsbaum
1999 Feb 16
3
graphics bug: type="l" (PR#120)
The following commands illustrate a problem with graphing relatively large
data sets using the "line" option to plot:
temp <- runif(200000) # or whatever other numbers you like;
# same thing happens with a sine wave
plot(1:200000, temp) # everything fine
plot(1:200000, temp, type="l") # data gets cut off
The number of points isn't crucial. The cutoff point
2010 Oct 05
2
Using as.polynomial() over a matrix
Hello All
First - a warning. I'm not very R or programming savvy.
I am trying to do something without much luck, and have scoured help-pages, but nothing has come up. Here it is:
I have a matrix (m) of approx 40,000 rows and 3 columns, filled with numbers.
I would like to convert the contents of this matrix into another matrix (m_p), where the numbers of (m) have been coerced into a
2004 Jul 27
1
Re: R-help Digest, Vol 17, Issue 25
hello,
I'm trying to use R to take an image matrix and paint it into a
tcltk canvas. I'm using R-1.9.0 within ess-5.2.0 on a linux
machine running the 2.4.30-31.9smp kernel. I'm using the
ActiveTcl8.4.6.1-linux-ix86 tcltk libraries.
When I run the following comands, however, I get an R segmentation
fault:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2000 Dec 13
1
comparing ancova models
Hello, all.
I've got what is probably a simple question about comparison of models
using anova, specifically about the situations in which it's valid. I
understand, I think, what's going on when the models are strictly
nested (as most are in the demo(lm) examples). My question involves
what happens when the models aren't strictly nested.
In my particular case, I'm doing
2015 Oct 19
1
R 3.2.2 - make check and install package hang
Below is the output. Thanks for the help.
> Sys.getenv()
BASH_FUNC_module() () { eval
`/cm/local/apps/environment-modules/3.2.10/Modules/$MODULE_VERSION/bin/modulecmd
bash $*` }
COLUMNS 152
CPATH /cm/shared/apps/uge/8.2.1/include
CVS_RSH ssh
DISPLAY localhost:10.0
EDITOR
2000 Feb 18
1
splitstr problem
Hi, all.
Using the patched version of R-0.99.0, I cannot reproduce the following
example from the strsplit documentation:
(Example)
unlist(strsplit("a.b.c", "."))
## [1] "" "" "" "" ""
## Note that `split' is a regexp!
## If you really want to split on `.', use
unlist(strsplit("a.b.c", "\."))
1999 Nov 15
1
xlim, ylim problem in barplot (PR#325)
Hi, all.
The lower bound in a barplot (or the left bound if you're making a
horizontal barplot) is -0.01 no matter what. This causes problems if
you're making a barplot of small values (say, < .001), as most of the plot
is taken up with blank space beneath the axis, and the bars are squeezed
in at the top. The fix seems to be simple: replace lines
41: xlim <- range(-0.01,
2001 Jun 15
1
R equivalent for Splus "peaks"
Hi, all.
Does anyone have an equivalent to Splus "peaks", which finds local maxima
(with locality defined by a parameter "span")? I thought I'd check
whether anyone has done it already before trying to put something together
myself.
Thanks,
Matt Wiener
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
1999 Sep 17
1
lambda error update
Two more details:
Someone else who works here, and hasn't used 0.65.0, thinks he's seen the
error before. He restarted R, and it went away.
Second, I think the relevant code is in
SEXP do_function, in eval.c in the main directory.
line 695: WrongArgCount("lambda")
Beyond that I'm afraid I'm getting in over my head.
Matt
1999 Nov 03
1
editing in R
Hi.
I'm having a problem with disappearing comments when I transfer files
(entire .RData files) from one machine to another, and I'm not sure
whether it's an R problem or an ESS problem. Since ESS seems more likely,
I'm trying this list first. (However, it seems to me this problem only
showed up when I upgraded to R-0.65.0 or R-0.65.1.)
Functions originally shows up fine -- if
2004 May 16
1
importing text file with duplicate rows / indexing rows and columns
Could somebody advise me about importing a txt file as a frame? I am using the command:
test <- read.delim ("~/docs/perl/expr_ctx.txt2", header=T, sep = "\t", row.names = 1)
This gives me an error because there are duplicate rows.
In the txt file, the columns are unique subjects and the rows are variables, so I had planned to transform the file after importing. The first
2000 Oct 25
1
problem with "breaks" in histogram (PR#710)
Full_Name: Matthew Wiener
Version: 1.1.1
OS: linux
Submission from: (NULL) (156.40.248.102)
I've come across a glitch in hist. I can reproduce it on linux for Intel, linux
for
PPC, and Irix 6.5.
t1 <- c(41, 42, 42, 43, 43, 43, 44, 44, 45, 46)
hist(t1, breaks = 10) (OK)
hist(t1/50, breaks = 10)
Error in hist.defauilt(t1/50, breaks = 10):
some 'x' not counted; maybe