Displaying 20 results from an estimated 2000 matches similar to: "How to list R object properties & save workspace?"
2003 Jun 17
1
help.start
Dear R experts,
I would greatly appreciate your help with R's hypertext online
documentation, which I can pass on to our system manager. We are
running version 1.7 on sparc-sun-solaris2.9 using netscape7 browser
for displaying the help. The system is working, but there are a few
frustrating details that I hope might be fixed.
Here are three problems we are having:
1. When the R session
2005 Feb 18
1
eapply weirdness/bug
The following looks like an 'eapply' bug to me:
t/subtest> e <- new.env()
t/subtest> e$tempo <- quote( 1+'hi')
t/subtest> lapply( ls( e), function( x) length( get( x,e)))
[[1]]
[1] 3
# seems reasonable-- e$tempo is a 'call' object of length 3
t/subtest> eapply( e, length)
Error in 1 + "hi" : non-numeric argument to binary operator
2006 Apr 11
1
eapply() fails on baseenv() (PR#8761)
eapply() works on most environments, but not on baseenv(). For example,
> x <- 1
> eapply(globalenv(), function(x) x)
$x
[1] 1
> eapply(baseenv(), function(x) x)
list()
I'm probably not going to have time to work on this before 2.3.0, but I
don't think it's really urgent; if no one else fixes it first I'll do it
after the release.
Duncan Murdoch
2005 Jul 05
2
finding out more about an object, e.g. lm
Hi!
I'm trying to use lm(y~x) amongst others in an automated way; I've
gone through the section on indexing in R-lang and I've looked MASS4.
How do I find out more about the structure of the returned object? In
perl I can look at object structure pretty-printed in the debugger -
is there an R equivalent?
I've used coef(lm(y~x))[[1]] and coef(lm(y~x))[[2]] to extract the
2004 May 19
4
GUI data browsers
Hi R-helpers,
Does anyone know of a good Tk (or other) script that allows somewhat
intuitive viewing of all of the variables (especially complex lists) in
a session? I would also like to delete, save to file, and rename them
graphically. I would also like a lot of supplemental information like
class, atrributes, names, modes, whatever else...
Context: I am running simulations
2014 Dec 19
2
usbhid-ups on OmniOS (Solaris 10 derivate)
Hi Matej,
I've cc'ed the developers mailing list for now...
thanks for your report. Could you please send in some driver debug traces
(starting it manually, using "usbhid-ups -DDDDD ...")?
That would help in troubleshooting the issue.
thx and cheers,
Arno
2014-12-19 8:48 GMT+01:00 Matej Sekoranja <matej.sekoranja at gmail.com>:
>
> Update: driver is not stable. I
2011 Jan 02
8
HVM Networking Issues
I''ve looked long and hard for an answer to this and am stuck.
I have setup a Windows XP DomU on Xen 3.2-1 running on Debian and I
can connect fine to the instance via VNC but I get no networking
within the windows instance as it says the IP address conflicts with
another on the network.
All my linux instances network fine, and I''m confused as to the issue.
Can anybody provide
2014 Dec 19
0
usbhid-ups on OmniOS (Solaris 10 derivate)
Arno,
what version of Solaris or libusb required the interrupt pipe hack?
- Charles
On Dec 19, 2014, at 7:00 AM, Arnaud Quette <arnaud.quette at gmail.com> wrote:
> Hi Matej,
>
> I've cc'ed the developers mailing list for now...
>
> thanks for your report. Could you please send in some driver debug traces (starting it manually, using "usbhid-ups -DDDDD
2008 Mar 19
7
ls() and classes
Dear R People:
I want to get the class of all of the objects in my directory.
I was trying:
do.call(class,list=ls())
but got an "unused argument error".
I'm sure it's simple, but I'm just not seeing it.
Any help would be much appreciated.
Sincerely,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston -
2002 Oct 14
2
Another newbie question: curve of normal distribution
I would like to get a curve of normal distrubtion over the
histogram. Something like the following (which obviously doesn't
work; see attached example).
maluj <- function() {
vrhy=read.csv("pennies.csv",head=TRUE)
hf=table(vrhy$HEADS)
postscript("heads.eps",onefile=FALSE,width=4.134,height=3.445,pointsize=12)
plot(hf,main="Frequency distribution of
2007 Mar 01
1
object is not subsettable
Dear colleagues,
I've just come across a problem with the following command which is a
part of the "metaOverview.R" code file provided as an monography-
accompanying file at
http://www.bioconductor.org/docs/mogr/metadata:
##################################
R> hasChr <- eapply(GOTERM, function(x)
+ x[grep("chromosome", Term(x))])
Error in
2002 Oct 23
7
Counting NA?
Hi,
how to do quickly equivalent of the following?
counter = 0
for(i in 1:length(data$S2)) {
if(!is.na(data$S2[i])) {
counter = counter + 1
}
}
I have imagined something like length(x,na.rm=TRUE).
How can I get values usually taken from tables like z-score,
values of t distribution etc.? I could not find them among
values mentioned in info file.
Thanks,
Matej
--
Matej Cepl,
2002 Nov 13
4
[Newbie] Is there any support for work with grouped frequencies?
Hi,
I have this table (BTW, published by FBI and representing age
distribution of the WTC tragedy victims):
"LABEL" "FREQ" "MIDPOINT"
"1" "Infant (under 1)" 0
"2" "1 to 4" 5
"3" "5 to 8" 1
"4" "9 to 12" 3
"5" "13 to 16" 0
"6" "17 to
2002 Nov 21
1
Pearson's correlation coefficient?
How do I get non-squared correlation coefficient in some more
sensible way than
sqrt(summary(lm(y~x))$r.squared)?
Thanks
Matej
--
Matej Cepl, matej at ceplovi.cz,
Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
The difference between death and taxes is death doesn't get worse
every time Congress meets
-- Will
2004 Apr 22
1
Selection of cities sample
Hi,
I have a question, how to most properly select set of cities
which would be as similar as possible in some particular
variables with the City of Boston (which I use as my base line).
I thought about ordering cities by sum of ((differences between
value of that particular variable for that particular city and
the value of same variable for Boston) divided by the standard
deviation of the
2003 Mar 31
3
can't connect to a samba share with Windows XP
Hi all,
I am having problems with using XP Pro to connect to a samba share.
All I get from XP are repated dialogs asking for my username and password.
My linux box has been joined to the local windows domain.
I am using encrypted passwords and the security level is set to user.
If I set the log level to 10 I can see that LM and NT4 MD password checks failed on the challenge
returned by the XP
2011 Jan 03
7
Saving objects inside a list
Hello there,
any ideas on how to save all the objects on my workspace inside a list
object?
For example, say my workspace is as follows
ls()
[1] "x" "y" "z"
and suppose I want to put these objects inside a list object, say
object.list <- list()
without having to explicitly write down their names as in
object.list$x = x
object.list$y = y
object.list$z = z
Is
2002 Nov 15
2
What's going on? (strange standard deviation)
I have probably misunderstood something (again :-():
> CEMPLOY<-TEMPLOY[!is.na(TEMPLOY)]
> sum(CEMPLOY^2/length(CEMPLOY))-mean(CEMPLOY)^2
[1] 30877.28
> var(TEMPLOY,na.rm=TRUE)
[1] 30981.25
Could anybody tell me, what's going on? I suppose that
var=sum(x^2/N)-xbar^2
or what did I enter wrong?
Thanks
Matej
--
Matej Cepl, matej at ceplovi.cz,
Finger: 89EF 4BC6 288A
2002 Nov 26
4
[NB] lm problems
Hi,
I have probably overlooked something obvious, but could anybody
help me with following, please?
Trying to make regression analysis. I have a huge dataframe with
results from National Opinion Survey on Crime and Justice
(www.abacon.com/fox/) with two variables G5 and N3 which are
imported to R as ordered factors:
> levels(noscj$G5)
[1] "Strongly agree" "Agree"
2020 Sep 08
2
[PATCH] Rescan the entire target on transport reset when LUN is 0
On 28/08/20 14:21, Matej Genci wrote:
> VirtIO 1.0 spec says
> The removed and rescan events ... when sent for LUN 0, they MAY
> apply to the entire target so the driver can ask the initiator
> to rescan the target to detect this.
>
> This change introduces the behaviour described above by scanning the
> entire scsi target when LUN is set to 0. This is both a