Displaying 20 results from an estimated 600 matches similar to: "Fw: length() misbehaving?: More"
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 <-
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
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 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
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
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
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 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 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"
2003 Aug 06
1
problem with download.packages
R Version 1.7.0, under windows XP pro
The help page for update.packages says that {
`download.packages' takes a list of package names and a
destination directory, downloads the newest versions of the
package sources and saves them in `destdir'. If the list of
available packages is not given as argument, it is also directly
obtained from CRAN. If CRAN is local, i.e., the URL starts with
2004 Nov 26
1
Coplot Given text
Greetings:
I am unsuccessful in suppressing "Given : myvariable" from a coplot. There was such a question in the past but the thread breaks down. I am sure this is a "for dummies" question :-). I tried:
coplot(myvar~myvar | myvar, show.given=FALSE, xlab="....", ylab="...", main=" ")
and some other variations (including without main=" ")
2005 Feb 19
1
scales argument in lattice plots
I'm using R 2.0.1 under windows XP. I'd like to produce an xyplot with
lattice, in which the x axis shows normally (with tics and numbers), but
there are neither tics nor numbers for y. (I'm using layout=c(1,10),
and ylab="".)
From the html help for xyplot, it appears I need to use the scales
argument, but I don't fully understand the description there, about
how to
2005 Feb 02
1
A modified log transformation with real finite values for negatives and zeros?
Does anyone have any ideas (or even experience) regarding a
modified log transformation that would assign real finite values to
zeros and negative numbers? I encounter this routinely in a couple of
different situations:
* Physical measurements that are often lognormally distributed
except for values that are less than additive normal measurement error.
I'd like to take
2003 Jun 03
2
winMenuAdd misbehaving?
Microsoft Windows R users,
I am operating Windows 2000 (build2195) with R1.7. It may be pertinent that
I am using a dual head screen with the initial RGui filing the entire area
of both screens.
When starting R I use the .First() function to add menu items to the RGui
interface using winMenuAdd() and winMenuAddItem(). The menus do not display
until the RGui window is physically manipulated in
2019 Nov 10
0
Intel Wireless 3160 adapter misbehaving
Hi folks
I'm having some hard time troubleshooting a Wifi issue
Centos7, fully up to date, with an Intel Dual Band 3160 Wireless adapter
After the machine boots, the Wifi connects and runs ok for a few hours
After this, the Wifi just stops
[root at orbex ~]# lspci -v | grep Wireless
04:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83)
Subsystem: Intel Corporation
2008 Jul 07
0
ActiveRecord in Rails 2.1.0 misbehaving for Aggregate Attr.
I am not sure if this is a bug in ActiveRecord or is this the intended
behavior. If it is then it does not make sense to me.
In a nutshell: If you change an aggregate object attribute created via
composed_of method (see Agile Web Development - Second Edition Chapter
17 page 313 onwards) and then save the model, the change to the model
(composite attribute specifically) will not be saved UNLESS