Displaying 20 results from an estimated 6000 matches similar to: "problem with download.packages"
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
2005 Jan 23
5
How to use "identify"
I can't get identify to work, using R 2.0.1 under windows xp pro,
service pack 2. Here's what I enter, and the result:
> plot((our.frame2$c1),(our.frame2$c9)) # Produces desired plot
> identify(our.frame2$c1) # Plot comes to forefront, so I select a point
warning: no point with 0.25 inches
numeric(0)
Is my call to identify correct? The help page for indentify (from
2003 Feb 24
2
trellis.datasets help
I've looked every way I can think of for help on trellis.datasets, but nothing comes
up for me. Please help me find information on what is included, and how to get at
those data. Thanks.
Dave Parkhurst
2005 Jan 20
2
font size in console
I'm using R in a statistics class, and when I project the console, the
font is smaller than ideal. I've checked the faq's, the manual, and the
help system as best I can, and I don't see how to change the font size.
Can it be changed from within a session, or will I have to ask the folks
who installed the program on the server I use in classes to set it
(assuming that can be
2003 Mar 14
6
length() misbehaving?
I'm having a weird problem with length(), in R1.6.1 under windows2000. I have a
dataframe called byyr, with ten columns, the first of which is named cnd95.
summary(byyr) shows that byyr$cnd95 contains the factor level "tr" 66 times. Also,
when I enter byyr$cnd95 at the command line, I can count 66 "tr" elements in the
resulting vector. However, when I enter
n95trt <-
2003 Aug 26
1
rfImpute (for randomForest) crashed
In trying to execute this line in R (Version 1.7.1 (2003-06-16), under
windows XP pro), with the randomForest library (about two weeks old) loaded,
the program crashed:
bost4rf <- rfImpute(TargetDensity~.,data=bost4rf0)
Specifically, an XP dialog box popped up, saying ?R for windows GUI
front-end has encountered a problem and needs to close.? That was the
dialog saying asking whether I
2004 Apr 14
3
mvtnorm problems (II)
Thanks a lot for your help!
Obviously I've tried to load it before by using the install.packages
function but it didn't work. This is what I got
> install.packages("mvtnorm")
trying URL `http://cran.r-project.org/bin/windows/contrib/1.7/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length 12485 bytes
opened URL
downloaded 12Kb
Warning message:
No package
2003 Aug 05
1
na.action in randomForest --- Summary
A few days ago I asked whether there were options other than
na.action=na.fail for the R port of Breiman?s randomForest; the function?s
help page did not say anything about other options.
I have since discovered that a pdf document called ?The randomForest
Package? and made available by Andy Liaw (who made the tool available in
R---thank you) does discuss an option. It is an implementation of
2005 Jan 26
2
graphsheet substitute in R?
I'm using R 2.0.1 in a class I teach, with most students working under
windows XP. We have a data frame with the first column containing the
factor "site," and five water-quality variables at each site. As one part
of exploring these data, I'd like the students to run
by(ourdata,site,pairs).
When I try that, however, the pairs plots for the first 10 sites scroll
past, and
2005 Oct 14
3
zip package
Dear all
I can not understand how to install the package lpsolve_1.1.9.zip
I have read the FAQ and the help pages carefully, but it still not
clear for me.
I have tried the following (and obtained the respective error
messages):
>install.packages("c:/ProgramFiles/R/rw2011/library/lpSolve_1.1.9",destdir="
c:/ProgramFiles/R/rw2011/library/lpSolve")
Mensagem de aviso:
2004 Aug 23
2
Reading GAL file
Greetings:
I am trying to work with spdep (everything is "brand new" downloaded this morning). OS = Windows 2000 (also up to date). The code I am using follows:
#example
gal.county=read.geoda("lnpilnd.GAL", row.names=NULL, skip=0)
summary.nb(gal.county)
Error in summary.nb(gal.county) : Not a neighbours list
#end
The gal file works just fine in GeoDa (also up to date).
2004 Oct 17
4
Descriptive statistics table
Greetings:
I would like to make a table with descriptive statistics for a data.frame. I guess the question is how can I put together, in a table, the results from, say:
apply(df, 2, mean, na.rm =T)
apply(df, 2, median, na.rm =T)
.......
Thanks,
Mihai Nica
Jackson State University
155 B Parkhurst Dr.
Jackson, MS 39202
601 969 5423
601 914 0361
[[alternative HTML version deleted]]
2003 Mar 14
1
Fw: length() misbehaving?: More
With the problem below, I've discoved that
n95trt<-length(byyr$cnd95[byyr$cnd95=="tr"&!is.na(byyr$cnd95)])
does give me the correct count for the number of "tr" entries. (The same behavior
occurs for the "c" level of the cnd95 factor.) It appears that
byyr$cnd95=="tr"
is finding both "tr" AND NA entries. Is this a bug, or is it to be
2003 Aug 04
2
na.action in randomForest
The help page for randomForest shows na.action=na.fail as a parameter, and
does not describe other possibilities for na.action.
I have a regression problem, with about 1000 rows in my data frame, and with
an NA in occasional predictor variables, in about 5% of rows. I would like
to have all rows included in the analysis, to the extent possible. (That
seems to be possible in rpart, for example.)
2004 Feb 29
1
graphics device problems
I'm using R 1.8.0 under windows XP. I can't get certain of the graphics devices set up. For example, when I copy this line directly from the "postscript" help screen, I get the error messages that follow it:
> postscript("foo.ps")
Error in PS(file, old$paper, old$family, old$encoding, old$bg, old$fg, :
unable to start device PostScript
In addition:
2005 Jan 26
1
Converting yr mo da to dates
I'm using R 2.0.1 in windows XP (and am not currently subscribed to this
mailing list).
I have a USGS dataset, a text file with fixed width fields, that includes
dates as 6-digit integers in the form yrmoda. I could either read them that
way, or with yr, mo, and da as separate integers. In either case, I'd like
to convert them to a form will allow plotting other "y"
2005 May 30
24
stable / unstable parallel install?
Hi,
Is there some easy way to install both 2.x and unstable xen
tools at the same machine? Seems /usr is hardcoded everythere
in the tools Makefiles, looks like there is no easy way to put
them to different paths (say, prefix /opt/xen2 and /opt/xen3)
:-/
Gerd
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
2017 Apr 12
3
"table(droplevels(aq)$Month)" in manual page of droplevels
The last line of the example in droplevels' manual page seems to be incorrect to me. I think it should read: "table(droplevels(aq$Month))". Amazingly (I don't understand) both variants seem to produce the same result (R 3.3.3):
---
> aq <- transform(airquality, Month = factor(Month, labels = month.abb[5:9]))
> aq <- subset(aq, Month != "Jul")
>
2009 Nov 04
2
error in install.packages() (PR#14042)
Full_Name: Michael Spiegel
Version: 2.10
OS: Windows Vista
Submission from: (NULL) (76.104.24.156)
The following error is produced when attempting to call install.packages. Here
is the results of the traceback:
> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Error in f(res) : invalid subscript type 'list'
> traceback()
7: f(res)
6: available.packages(contriburl =
2017 Jun 26
2
Odd behaviour in within.list() when deleting 2+ variables
>>>>> peter dalgaard <pdalgd at gmail.com>
>>>>> on Mon, 26 Jun 2017 13:43:28 +0200 writes:
> This seems to be due to changes made by Martin Maechler in
> 2008. Presumably this fixed something, but it escapes my
> memory.
Yes: The change set (svn -c46441) also contains the following NEWS entry
BUG FIXES
o