Hi,
I am trying to use the gettext() function to translate some text. I have
never used this function before, so, it's entirely possible that I am
doing something wrong. The issue that I am encountering is that
gettext() properly translates some text, but not some other.
Natural language was
Hello,
Do you have a 64-bit version of Java?
rJava says to you:
call: stop("No CurrentVersion entry in '", key, "'! Try re-installing
Java and make sure R and Java have matching architectures.")
Regards,
Pascal
Le 04/02/2013 14:27, Spencer Graves a écrit :
Hello:
rJava works for m
Hello:
I get "Wide character in print" from trying
read.xls("22_data.xls") in the gdata package, with "22_data.xls"
downloaded from "Varieties_Country_A-E.xls" at
"http://www.reinhartandrogoff.com/data/browse-by-topic/topics/7/":
> library(gdata)
> read.xls("22_data.xls")
Wide charac
Hello:
rJava works for me under 32-bit but under not 64-bit R; see below.
Suggestions?
Thanks,
Spencer
> library(rJava)
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: stop("No CurrentVersion entry in '", key, "'! Try re-installing
Java and ma
Hi,
May be this helps:
df1<-read.table(text="
V1 V2 V3 V4 V5 V6
chr1 18884 C C 2 0
chr1 135419 TATACA T 2 0
chr1 332045 T TTG 0 2
chr1 453838 T TAC 2 0
chr1 567652 T TG 1 0
chr1 602541 TTTA T 2 0
",h
Hi, it seems to be a problem about using aes both in ggplot as also in geom_bar.
You could specify fill property for your geom_bar in ggplot
initialization, in order to avoid this issue
(you could also do the same thing for ymin and ymax properties for
errorbar :P), i.e:
dodge <-position_dodge(wi
Hi,
Did you install the Xcode Developer Tools on your machine?
HTH,
Pascal
Le 04/02/2013 03:14, londonphd a écrit :
Hi, I installed R in Mac OS X, and trying to installa package. R is not
allowing me to install the meboot package. Below is the exact message I got
from R:
installation of p
eliza botto hotmail.com> writes:
>
>
> Dear UseRs,
> How can i connect my FTN95 fortran compiler with R in window 7?
Take a look at the R extensions manual
http://cran.r-project.org/doc/manuals/R-exts.html
section 5 ...
__
R-help@r-project.org ma
Hi,
i'm using this lines of code:
dodge <-position_dodge(width=0.9)
ggplot(dfm,aes(x = X,y = value)) +
geom_bar(aes(fill = variable), position=dodge, stat="identity") +
geom_errorbar(aes(ymin=value-er, ymax=value+er),width=0.25,
position=dodge,stat="identity")
to plot this data frame
Hi,
If you need to extract only the columns `m1` and `n1` which satisfy the
condition.
res2[,1:2][res2$cterm1_P1L<0.01 & res2$cterm1_P1L!=0,]
# m1 n1
#20 3 2
#21 3 2
# If you wanted structure() as shown below for `d`, use dput(res2)
A.K.
- Original Message -
From: "zjoanna
Hi, I installed R in Mac OS X, and trying to installa package. R is not
allowing me to install the meboot package. Below is the exact message I got
from R:
installation of package ‘meboot’ had non-zero exit status
trying URL 'http://cran.ma.imperial.ac.uk/src/contrib/meboot_1.1-5.tar.gz'
Content
Hello
I have a data frame as below
V1 V2 V3V4 V5 V6
chr1 18884 C C 2 0
chr1 135419 TATACA T 2 0
chr1 332045 T TTG 0 2
chr1 453838 T TAC 2 0
chr1 567652 TTG 1 0
chr1 602541 TTTAT 2 0
on which
glm() will handle fractional logit with some tweaks. below is copied from
my blog in a python example. however, you should be able to see the R code
from it.
In [12]: # Address the same type of model with R by Pyper
In [13]: import pyper as pr
In [14]: r = pr.R(use_pandas = True)
In [15]: r.r_d
Dears,
Unfortunatelly, the packages relaimpo and relimp do not seem to work with
plm function (plm package). Have anyone know about any workaround for those
incompatibilities, or at least of any ideas on that?
Thanks in advance!
Richard A.
[[alternative HTML version deleted]]
__
Neither of your questions meets the Posting Guidelines (see footer of any
email).
1) Not reproducible. [1]
2) Very operating-system specific and a FAQ. You have not indicated what your
OS is (via sessionInfo), nor what reading you have done to address memory
problems already (use a search engine
Dear All,
For a data mining project, I am relying heavily on the RandomForest and
Party packages.
Due to the large size of the data set, I have often memory problems (in
particular with the Party package; RandomForest seems to use less memory).
I really have two questions at this point
1) Pl
Thanks Jim, William and Patrick for your ideas. I appreciate your help.
Avoiding a circle of the R Inferno sounds good, so I'm going to use
Patrick's 2nd suggestion for now but I learned something from the others
too.
Cheers, Mark
On Sun, Feb 3, 2013 at 12:33 PM, Patrick Burns wrote:
> My at
My attempt similar to Jim's is:
which(sapply(datalist, function(z) all(z == x)))
However, a safer approach is:
which(sapply(datalist, function(z) isTRUE(all.equal(z, x
This latter approach avoids Circle 1 of 'The R Inferno'.
http://www.burns-stat.com/documents/books/the-r-inferno/
Pat
Try
> datalist %in% list(x)
[1] TRUE FALSE FALSE FALSE
Both arguments, e1 and e2, of e1 %in% e2 should be of the same type:
e1 %in% e2 is comparing e1[i] and e2[j].
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
> -Original Message-
> From: r-help-boun...@r-project.org [mail
try this:
> x<-c(1,2,3)
> datalist<-list(c(1,2,3),c(2,3,4),c(3,4,5),c(4,5,6))
>
> result <- sapply(datalist, function(.vec){
+ all(.vec == x)
+ })
>
> result
[1] TRUE FALSE FALSE FALSE
>
On Sun, Feb 3, 2013 at 1:15 PM, wrote:
> Hello R-helpers,
>
> I have a vector
>
> x<-c(1,2,3)
>
> and
Hello R-helpers,
I have a vector
x<-c(1,2,3)
and a list that contains vectors
datalist<-list(c(1,2,3),c(2,3,4),c(3,4,5),c(4,5,6))
and I would like to identify those list elements that are identical to x.
I tried
> datalist %in% x
[1] FALSE FALSE FALSE FALSE
but I am obviously using %in% inc
Dear R-ers,
I have a list of data frames such that the length of the list is unknown in
advance (it could be 1 or 2 or more). Each element of the list contains a
data frame.
I need to loop through all rows of the list element 1 AND (if applicable)
of the list element 2 etc. and do something at each
Hi,
Does anyone know of a function in R that can handle a fractional variable as
the dependent variable? The catch is that the function has to be inclusive of
0 and 1, which betareg() does not.
It seems like GLM might be able to handle the fractional logit model, but I
can't figure it out.
Dear experts,
I am encountering a version-dependent issue.
My laptop runs Ubuntu 12.04 LTS 64-bit, R 2.14.1; the issue explained below
never occurred with this version of R
My desktop runs Ubuntu 11.10 64-bit, R 2.13.2; what follows applies to this
setup.
The data I'm clustering is constituted by
On Feb 3, 2013, at 8:15 AM, aminreza Aamini wrote:
Dear Coleagues ,
As my friend John mentined,* the measure of association from a
logistic
regression is the odds ratio, not the relative risk*. but the point
is in
follow-up studies, it is commonly preferred to estimate a risk ratio
rathe
Amin,
It is incorrect to use the relative risk as a measure of association in a
logistic regression. The measure of association in a logistic regression is
the odds ratio. The odds ratio is an approximation of the relative risk. The
approximation becomes progressively better as the disease beco
Dear Coleagues ,
As my friend John mentined,* the measure of association from a logistic
regression is the odds ratio, not the relative risk*. but the point is in
follow-up studies, it is commonly preferred to estimate a risk ratio rather
than an odds ratio. Thats why im looking for RR in logistic
On Sun, Feb 3, 2013 at 1:50 AM, Bert Gunter wrote:
> A related approach which, if memory serves, was originally in S eons
> ago, is to define a "doc" attribute of any function (or object, for
> that matter) that you wish to document that contains text for
> documentation and a doc() function of
Hi, Michael
Thank you very much!
> Looking at args(split.xts) I think you actually do want split(..., f =
> ) here, not split(..., frequency = ), which would ignore and default
> to months.
yes, split(...,f=) is what I want.
> so I think it's likely a timezone issue. Try setting
> indexTZ(tmp)
On Sun, Feb 3, 2013 at 6:57 AM, Seimizu Joukan wrote:
> Would you please paste the following codes to R console and make a
> confirmation?
>
Indeed, well done and much appreciated.
> #Codes start from here
>
> library("quantmod")
> tmp<-structure(c(112.34, 112.89, 112.75, 113.5, 115.16, 115.21,
At 10:49 30/01/2013, aminreza Aamini wrote:
Hi all,
I am very grateful to all those who write to me
1) how i can obtain relative risk (risk ratio) in logistic regression in R.
@TECHREPORT{lumley06,
author = {Lumley, T and Kronmal, R and Ma, S},
year = 2006,
title = {Relative risk regres
Hi, Jeff
Thank you for your advice.
> Your example of the problem is not reproducible [1]. This behavior could
> arise due to small discrepancies in the index values, or from specifying
> "frequency" instead of "f" as the second argument, our perhaps you have found
> a bug that only your data
On 02-02-2013, at 17:38, Brett Robinson wrote:
> Hi
> I'm trying to set up a simulation problem without resorting to (m)any loops.
> I want to set entries in a data frame of zeros ('starts' in the code below)
> to 1 at certain points and the points have been randomly generated and stored
> in
33 matches
Mail list logo