Displaying 20 results from an estimated 8000 matches similar to: "how to study the code of R"
2004 Sep 21
3
how to take this experiment with R?
How about:
x <- data.frame(matrix(rnorm(1550),c(50,31)))
model <- step(lm(x[,1] ~ as.matrix(x[,2:31])))
--Matt
-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of rongguiwong
Sent: Monday, September 20, 2004 20:52 PM
To: r-help at stat.math.ethz.ch
Subject: [R] how to take this experiment with R?
This message uses
2005 Mar 30
2
about memory
here is my system memory:
ronggui at 0[ronggui]$ free
total used free shared buffers cached
Mem: 256728 79440 177288 0 2296 36136
-/+ buffers/cache: 41008 215720
Swap: 481908 60524 421384
and i want to cluster my data using hclust.my data has 3 variables and 10000 cases.but it fails and saying have not
1999 Oct 07
2
Tree connect failed: ERRSRV - ERRbadpw (2nd try)
Hi all together,
all answers to my first posting didn't help to solve my
problem.
Maybe this can help you.
When I'm doing: smbclient -L MYLINUX -U MYUSER
I get the following message:
Added interface ip=195.90.254.xxx broadcast=295.90.254.255
nmask=255.255.255.0
Password: <enter password for myuser>
Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 2.0.5a]
Tree connect failed: ERRSRV -
2004 Nov 06
3
how to read this matrix into R
the following the the lower.tri matrix in a file named luxry.car
and i want to read it in R as a lower.tri matrix.how can i do?
i have try to use help.search("read"),but no result what i want.
1.000
0.591 1.000
0.356 0.350 1.000
2004 Nov 03
2
how to compute condition index?
is there any existing function for computing condition index?
" analysing multivariate data" say that we can use condition index to check
multicollinearity.saying that we can get it via SVD. The elements of the
diagnoal matrix are the standard deviations of the uncorrelated vectors. the
condition index is the ratio of the largest of these numbers to the smallest.
so if i have a data
2008 May 14
2
basename/dirname produce incorrect results
The incorrect result incurs when the file path contains Chinese character.
It seems that dirname/basename action on unit of byte instead of char, so
the result in the following example is half of what is expected.
> g<-"d:\\$BG!2L4^M-CfJ8(B\\$BG!2L4^M-CfJ8(B.txt"
> dirname(g)
[1] "d:/$BG!2L4^(B"
> basename(g)
[1] "$BG!2L4^M-(B"
--
HUANG Ronggui,
2008 Dec 11
1
Sorting problem
Sys.setlocale(,"C")
x1 <- as.character(date()) # I use date to record the time, and save
it to sqlite database, to it converted to character
x1_2 <- strptime(x1, "%a %b %d %H:%M:%S %Y")
x2 <- as.character(date())
x2_2 <- strptime(x2, "%a %b %d %H:%M:%S %Y")
X<-c(x1_2,x2_2)
order(X) ## I want to get the permutation other than the sorted vector.
##
2003 May 17
1
WinXP. Samba and Router connection problem
Hi,
I have samba-2.2.8 installed on Slackware 9.0. I'm able to use
smbclient from this linux machine to access all the services defined in
smb.conf.
I installed the WinXP_SignOrSeal.reg patch to my WinXP Pro machine.
When I attempt to access samba services from the WinXP PC, it fails:
c:> net use L: \\MYLINUX\tmp
System error 53 has occurred.
The network path was not found.
I have
2005 Nov 27
2
multilevel models and sample size
It is not a pure R question,but I hope some one can give me advices.
I want to use analysis my data with the multilevel model.The data has 2 levels---- the second level has 52 units and each second level unit has 19-23 units.I think the sample size is quite small,but just now I can't make the sample size much bigger.So I want to ask if I use the multilevel model to analysis the data set,will
2005 Dec 27
0
can not setup ie and fonts problem
My operating system is fedora 4 for x86_64 and the linux kernel is
2.6.14.My wine version is 0.92.After complete installation,I try to
setup ie6 sp1.But I get the following message.How can I solve it?And the
fonts in winefile explore look so ugly.I show the snapshot in
attachment.By the way my system locate is seted to be zh_CN.
WINEDLLOVERRIDES="advpack=n" wine ie6setup.exe
2011 Jan 12
1
how to change strip text of effect plot
Dear r heper,
How can I change the strip text, for example (16,23] in the following
example, to other more informative text such as "high level" on the
fly?
library(effects)
Cowles$ex2 <- cut(Cowles$extraversion,3)
mod.cowles <- glm(volunteer ~ sex+neuroticism*ex2,data=Cowles, family=binomial)
eff.cowles <- allEffects(mod.cowles)
plot(eff.cowles,
2007 Jan 19
1
Where can I get the latex format manual?
In www.r-project.org I can find html and pdf format, and the
R-x.x-x/doc/manual has texinfo format only.
I can not find latex format manual. Am I miss something? Thanks for your hints.
--
Ronggui Huang
Department of Sociology
Fudan University, Shanghai, China
??????
????????????????
2006 Feb 22
2
does multinomial logistic model from multinom (nnet) has logLik?
I want to get the logLik to calculate McFadden.R2 ,ML.R2 and
Cragg.Uhler.R2, but the value from multinom does not have logLik.So my
quetion is : is logLik meaningful to multinomial logistic model from
multinom?If it does, how can I get it?
Thank you!
ps: I konw VGAM has function to get the multinomial logistic model
with logLik, but I prefer use the function from "official" R
2006 May 09
1
Fwd: Re: read.table (Error in file(file, "r") : unable to open connection)
or use forward slashes, exactly the same as in Unix. This has the advantage
of being portable, especially if you make it relative to a starting directory.
read.table("c:/a/b/c.dat")
read.table("c:\\a\\b\\c.dat")
---- Original message ----
>Date: Tue, 9 May 2006 09:42:03 +0800
>From: ronggui <ronggui.huang at gmail.com>
>Subject: Re: [R] read.table (Error in
2008 Dec 12
1
How to mimic select.list using RGtk2/gWidgetsRGtk2?
I want to write a function mimic the function of select.list(), here
is my preliminary version.
select <- function(x,multiple=TRUE,...){
ans<-new.env()
g <- gwindow(title=title,wid=200,heigh=500)
x1<-ggroup(FALSE,con=g)
x2<-gtable(x,multiple=multiple,con=x1,expand=TRUE)
gbutton("OK",con=x1,handler=function(h,...){
value <- svalue(x2)
if (length(value)==0)
2011 Apr 26
1
rJava Help
I believe this posting is placed, and I take the liberty to re-direct
to the r-help mailing list.
Regards,
Ronggui
On 26 April 2011 12:33, <gopala at mail.gvsu.edu> wrote:
> ?I am trying to create a web user interface using RApache. I need to install rJava packge but I am getting the following error message
>
> RApache Warning/Error!!!
>
> Error : .onLoad failed in
2008 Jun 07
1
Problem of installing Matrix
[wincent at PC-BSD]export MAKE=gmake
[wincent at PC-BSD]sudo R
.....
> install.packages("Matrix")
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://bibs.snu.ac.kr/R/src/contrib/Matrix_0.999375-9.tar.gz'
Content type 'application/x-gzip' length 1483674 bytes (1.4 Mb)
opened URL
2005 May 31
1
is there material about Longitudinal Data Analysis with R?
i am studying Longitudinal Data Analysis and want to carry it with R.anyone knows any materials about Longitudinal Data Analysis with R in the internet which i can download?
thank you.
2008 Jan 21
3
Need suggestions about GUI
What I want to do is:
1, creat a text box, insert text into that box.
2, select chunk of of the text by mouse, and link it to a lable. so I would
like a way to get that chunk of text.
Can I do such job with tcltk? Any relavant tutorial materials?
Thanks
--
HUANG Ronggui
Bachelor of Social Work, Fudan University, China
Master of sociology, Fudan University, China
Ph.D. Student , CityU of
2004 Sep 26
2
how to set options (variables) permanently
Hi,
after starting Emacs/ESS/R environment I tried to launch "edit" or
"fix". This normally should fire up the $editor, isn't it.
Instead of this I regularily I run into an error that there something
wrong with $editor.
-----------------------------------------------
> op <- options(); str(op)
Amongst many entries you'll find this:
$ editor