Displaying 20 results from an estimated 300 matches similar to: "Accessing the elements of a list"
2008 Jan 22
1
install ncdf package on a 64-bit machine
Dear All,
I recently got a 64bit machine and had netcdf-3.6.2 installed. Then I tried
to install ncdf package but got the following error message when using
netcdflib:
gcc -std=gnu99 -I/home/ljin/share/R-2.6.1/include
-I/home/ljin/share/R-2.6.1/include
-I. -I/usr/local/include -fpic -g -O2 -c ncdf2.c -o ncdf2.o
gcc -std=gnu99 -I/home/ljin/share/R-2.6.1/include
2009 May 09
2
need help with chisq
I am very new to R. I have some data from a CVS stored in vdata with 4
columns labeled:
X08, Y08, X09, Y09.
I have created two new "columns" like so:
Z08 <- (vdata$X08-vdata$Y08)
Z09 <- (vdata$X09-vdata$Y09)
I would like to use chisq.test for each "row" and output the p-value
for each in a stored variable. I don't know how to do it. Can you
help?
so far I have
2006 Jun 09
4
HTML nsmall vector format problem
Hello All
I am having a bit of trouble formatting my HTML with the desired number
of digits after the decimal place. Am I doing something
wrong/misunderstanding or is it a bug?
Looking at the example supplied with ?HTML.data.frame:
HTML(iris[1:2,1:2],nsmall=c(3,1),file="")
Gives html output that includes the lines:
</tr> <tr><td
2007 Nov 16
7
sorting factor levels by data frequency of levels
using an example from r online help
> state <- c("tas", "sa", "qld", "nsw", "nsw", "nt", "wa", "wa",
"qld", "vic", "nsw", "vic", "qld", "qld", "sa", "tas",
"sa", "nt", "wa", "vic",
2006 Sep 26
2
Vectorise a for loop?
Hi R guru coders
I wrote a bit of code to add a new column onto a "topTable" dataframe.
That is a list of genes processed using the limma package. I used a for
loop but I kept feeling there was a better way using a more vector
oriented approach. I looked at several commands such as "apply", "by"
etc but could not find a good way to do it. I have this feeling there
2018 Sep 17
11
[patch V2 00/11] x86/vdso: Cleanups, simmplifications and CLOCK_TAI support
Matt attempted to add CLOCK_TAI support to the VDSO clock_gettime()
implementation, which extended the clockid switch case and added yet
another slightly different copy of the same code.
Especially the extended switch case is problematic as the compiler tends to
generate a jump table which then requires to use retpolines. If jump tables
are disabled it adds yet another conditional to the existing
2008 Jan 13
1
Hmisc latex() does not want to work
I seem to have a problem getting latex (Hmisc) to
work.
Any suggestions as to what I am doing wrong?
Thanks
library(Hmisc)
aa <- data.frame(aa=1:10, bb=rnorm(10, 5, 2),
cc=rnorm(10, 20, 4))
rr <- lm(cc~aa+bb, data=aa); rr
latex(rr)
> latex(rr)
'latex' is not recognized as an internal or external
command,
operable program or batch file.
Warning messages:
1: In cbind(cx, cxk) :
2007 Aug 24
2
problem loading package 'gplots'
Dear R community,
I am using R version 2.4.1 GUI 1.18 on an iBook G4 with OS 10.4.10.
When I try to load package 'gplots' I get the following message:
> library(gplots)
Loading required package: gdata
Attaching package: 'gdata'
The following object(s) are masked _by_ .GlobalEnv :
reorder.factor
Loading required package: gtools
Attaching package: 'gtools'
2006 Jul 18
2
R-2.3.1.tar.gz does not contain VR bundle (PR#9084)
Full_Name: Jarno Tuimala
Version: 2.3.1
OS: Solaris / Linux
Submission from: (NULL) (193.166.2.98)
Today I downloaded the latest source code release R-2.3.1.tar.gz, and it seems
not to contain the VR bundle. After running ./configure I get the following
error message:
checking for recommended packages... ./src/library/Recommended/VR_*.tar.gz: No
such file or directory
no
configure: error: Some
2008 Jul 10
2
false discovery rate !
Dear All,
It is not a typical R question (though I use R for this) but I thought someone will help me. For the list of P values, I have calculated FDR using p.adjust() in R (bioconductor). But my FDR values are same for all the P values. When do we get same FDR values? Does the smallest P values should less than 1/N? (where N is the number of P values)
Thanks in advance.
Kind regards,
Ezhil
2000 Oct 16
2
ssh2 authentication and ip forwarding
I'd been hoping to move all of our site to ssh protocol 2 whilst we are
still small enough to do this without serious pain, however the lack of
authentication and connection forwarding is making that difficult at
present.
I see the current (2.2.0p1) code base does not have the code on either
client or server side for ssh2 to handle tunneled connections or
authentication agent. Is this
2006 Nov 09
2
Closing R fails
Hello All
I cannot close R easily:
>
> q()
Error in .Last() : could not find function "finalizeSession"
>
This seems to have started after I used the R.utils package. If I load
the R.utils package I can close R successfully. But I do not want to
have to do this every time I run R.
Is there any way I can switch off /reverse this behaviour? (I have had a
look in the
2018 Sep 14
24
[patch 00/11] x86/vdso: Cleanups, simmplifications and CLOCK_TAI support
Matt attempted to add CLOCK_TAI support to the VDSO clock_gettime()
implementation, which extended the clockid switch case and added yet
another slightly different copy of the same code.
Especially the extended switch case is problematic as the compiler tends to
generate a jump table which then requires to use retpolines. If jump tables
are disabled it adds yet another conditional to the existing
2018 Sep 14
24
[patch 00/11] x86/vdso: Cleanups, simmplifications and CLOCK_TAI support
Matt attempted to add CLOCK_TAI support to the VDSO clock_gettime()
implementation, which extended the clockid switch case and added yet
another slightly different copy of the same code.
Especially the extended switch case is problematic as the compiler tends to
generate a jump table which then requires to use retpolines. If jump tables
are disabled it adds yet another conditional to the existing
2005 Jan 03
3
spreadsheet addiction
There's a new page on the Burns Statistics website
http://www.burns-stat.com/pages/Tutor/spreadsheet_addiction.html
that looks at spreadsheets from a quality assurance perspective. It
presents R as a suitable alternative to spreadsheets. Also there are
several specific problems with Excel that are highlighted, including
the status of statistical functionality in Excel.
Patrick Burns
Burns
2013 Apr 05
1
Bug in SeaBIOS virtio-ring handling bug with vhost-scsi-pci
Hi Paolo & Co,
So I've been running into another bug with SeaBIOS w/ virtio-scsi +
vhost-scsi-pci code..
During the last weeks debugging on the QEMU vhost memory re-mapping bug,
my seabios builds have been using a smaller target ID (16) for scanning
than the default hard coded value of 256 in init_virtio_scsi().
After bumping this value back to 256 recently, a bogus out_num value
from
2013 Apr 05
1
Bug in SeaBIOS virtio-ring handling bug with vhost-scsi-pci
Hi Paolo & Co,
So I've been running into another bug with SeaBIOS w/ virtio-scsi +
vhost-scsi-pci code..
During the last weeks debugging on the QEMU vhost memory re-mapping bug,
my seabios builds have been using a smaller target ID (16) for scanning
than the default hard coded value of 256 in init_virtio_scsi().
After bumping this value back to 256 recently, a bogus out_num value
from
2008 Jan 08
1
unable to start (D)COM server, error in RConsole
Dear friend,
I am trying to use R in Excel, I installed R-(D)COM (RSrv250_pl1)., and
the rcom package (rcom_1.5-2.2). But when I try to start R in Excel, I
got an strange error "error in C:\Program Files\R\R-2.5.1\etc\RConsole
line 69". The line 69 is "language=". I modified it to "language=en"
and that didn't help.
Has anyone seen this, and what should I do??
2007 Jul 04
2
Loop and cbind
Hi, I would like to apply the following function for i between 1 and 12, and
then construct a list of the return series.
for (i in 1:12){
ewma[i] <- emaTA(calm[[i]]^2,0.03)
standard[i]<- calm[[i]]/sqrt(ewma[i])
standard <- cbind(standard[i])
}
But it does not work. Could anyone give me some advice how can I achieve
this? Many thanks
--
View this message in context:
2000 Nov 27
1
StrictHostKeyChecking
Long ago, when I wrote the ssh config file on my desktop box, ssh
(which might have been the non-openssh one) took 3 possible values for
the StrictHostKeyChecking option - yes, no & ask.
Today, when I attempted to connect to a new machine, with no DNS
entries (so using IP address) from my desktop box, ssh (now 2.3.0p1)
SEGVed. Looks like there is some subtle interaction between having an