Displaying 20 results from an estimated 300 matches similar to: "Problem in Installing Package from CRAN..."
2003 Aug 15
3
How to reinstall rpart?
After entering ?library(rpart)?, I tried to plot an existing rpart tree, and
got this error message: Error: couldn't find function "plot.rpart".
However, ??plot.rpart? does bring up the help for the function. The same
things occur for text.rpart, although print(my.tree) does work.
So, I tried to re-install rpart using Packages | Install from CRAN, but
then I get this
2004 Jul 15
1
lattice (PR#7093)
Full_Name: michael cole
Version: 1.9.1
OS: Windows
Submission from: (NULL) (80.219.153.13)
When trying to install lattice graphics... I receieve the following:
trying URL `http://cran.r-project.org/bin/windows/contrib/1.9/lattice_0.9-16.zip'
Content type `application/zip' length 496618 bytes
opened URL
downloaded 484Kb
package 'lattice' successfully unpacked and MD5 sums
2005 Jul 29
3
Error Downloading Matrix Package
I'm trying to update my Matrix package given the update last night. But
the following error is generated. I've tried restarting R and deleting
my old Matrix package. Can anyone suggest how this might be resolved?
> install.packages('Matrix')
trying URL
'http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.1/Mat
rix_0.98-1.zip'
Content type
2009 Apr 28
1
Cannot update.packages (error message)
When trying to update (various) packages using update.packages() I get the following error message for various packages
package 'fBasics' successfully unpacked and MD5 sums checked
Error in unpackPkg(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib) :
malformed bundle DESCRIPTION file, no Contains field
>
This happens with other packages besides fBasics (Matrix, as well as others) and I
2009 Apr 28
1
R-2.9.0 malformed bundle DESCRIPTION file, no Contains field
When trying to update (various) packages using update.packages() I get the following error message for various packages
package 'fBasics' successfully unpacked and MD5 sums checked Error in unpackPkg(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib) :
malformed bundle DESCRIPTION file, no Contains field
>
This happens with other packages besides fBasics (Matrix, as well as others)
2008 Mar 07
2
Problems installing packages using the inbuilt facility: "Error i n gzfile(file, "r") : unable to open connection"
Hi
I have been trawling the web, FAQs, and R manuals for help on the following issue, but have failed and was wondering if anyone has a solution to the following problem:
After having installed R 2.6.2 for Windows (binary), I tried to install various packages. Every time I try loading a package (any package) via the built-in menu, I run into the following error message.
>
2003 Sep 03
1
Another R syntax question
The file src/library/base/R/print.R
contains this line:
x0 <- xm[okP]==0 != (as.numeric(Cf[okP])==0)
I didn't know R allowed that, and I wonder if it is deliberate?
In mathematics, you would expect x = y not= z to mean
(x = y) and (y not= z).;
In R, it is parsed as (x == y) != z.
While I have to admit that the spacing around == and != in
2003 Jun 23
2
Problem with installation under R 1.7.1 and unzip
Dear all,
i was working under R 1.6.2 but i wanted to install bioconductor under WinXP, and because R 1.7.1 contains the TclTk package and automatic installation of bioconductor packages, so i install it.
Everything is fine except this message which appear after the installation of packages.
"> local({a<- CRAN.packages(CRAN=getOption("BIOC"))
+
2004 Aug 17
1
checkS3methods() change
Hi,
I'm using rw2000dev.exe (Win32) built on August 14.
If this isn't already planned, can I suggest that when
checkS3methods() (called by R CMD check) fails because of
a syntax error in a dependent package listed in the DESCRIPTION
file of the main package being checked, it would be nice if
checkS3methods() reported which dependent package caused it to
fail?
Running R CMD check on my
2007 Jul 18
1
Strange warning in summary.lm
Dear useRs,
Lately I noticed a strange warning in the summary of a lm-object. Any
idea what this warning is about? I'm using R 2.5.1 on Win XP pro.
> x <- rnorm(100)
> y <- rnorm(100)
> summary(lm(y~x))
Call:
lm(formula = y ~ x)
Residuals:
Min 1Q Median 3Q Max
-1,77809 -0,68438 -0,04409 0,63891 2,30863
Coefficients:
Estimate Std.
2004 Apr 29
5
Problems in plot
Hello,
I have R1.9.0 under Windows XP. My program plots several plots using
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
x11()
par(cex = 0.75)
......
Sometimes, one of them generates a small frame only with title area "R graphics: Device X (ACTIVE)". The message in the console window is
Error in plot.new() : Figure margins too large
2003 Sep 16
3
Question in Using sink function
Could anyone please explain to me why the following writes nothing into
"all.Rout"
file? If the "for" loop is removed, t.test output can be written into
"all.out".
Thanks in advance.
Minghua Yao
......
zz <- file("all.Rout", open="wt")
sink(zz)
for(i in 1:n)
{
Cy3<-X[,2*i-1];
Cy5<-X[,2*i];
t.test(Cy3, Cy5)
2003 Sep 26
3
Std. errors of intercept and slope
Dear all,
I have the following output generated by linear regression. Since there is
only one regression intercept and one slope for one set of data, what is the
meaning of std. error for intercept and that of slope? Thanks in advance.
Sincerely,
Minghua
> data(thuesen)
> attach(thuesen)
> lm(short.velocity~blood.glucose)
Call:
lm(formula = short.velocity ~ blood.glucose)
2003 Apr 10
3
A Question on lowess() function
Hi, all,
I want to use lowess(x, y) where x and y are vectors of length of 4000+. In
fact, x and y are log of some vectors. So, some of the elements are NaN.
lowess() can not take away those elements then do the fitting. It will give
the error message and do nothing.
1. Can anybody tell me how to get rid of those NaN's and use lowess()?
2. How to get the LOWESS fitting values for any
2003 Apr 07
3
New window for plot()
Hi,
Can anybody tell me how to open new a new window for plot()? Thanks.
Minghua
2004 Aug 25
5
How to Arrange character vector in alphabetic order
Hi,
Is there any function that can arrange a character in alphabetic order? Thanks for answer
-MY
[[alternative HTML version deleted]]
2003 Jun 27
2
NA points in loess function
Gurus,
I used
predict(loess(Y~X));
where Y and X are of the same length. But there are same NA's in both Y and
X. Those NA's are in the same locations in Y and X. The following is the
error messageI got:
Error in "[<-"(*tmp*, , i, value = predict(loess(Y~X))) :
number of items to replace is not a multiple of replacement length
If I replaced the NA's with a
2004 May 20
2
Get Slot from a Class
Hello, everyone,
I don't quite understand the following message:
> TTT <- t.test(1:10, y=c(7:20))
> class(TTT)
[1] "htest"
> TTT@p.value
Error: Trying to get slot "p.value" from an object whose class ("htest") is not defined
> TTT$p.value
[1] 1.855282e-05
Why the message says the class of TTT is not defined while class(TTT) gets
2004 Aug 20
3
How generate "A01", "A02", ..., "A99"?
Hi,
Anyone can tell me how to generate "A01", "A02", ..., "A99"?
paste("A", 1:99, sep="") generates "A1", "A2",..., "A99". This is not what I want.
Thanks for the help.
-MY
[[alternative HTML version deleted]]
2003 Apr 21
2
How to assigen column of matrix
Hi,
A simple question.
I want to assign values to columns (or rows) of a matrix.
It seems that
AA[,i]<-A; # A is a vector or array;
doesn't work.
How can I accomplish that?
Thanks alot.
-MY