Dear all,
I use Sweave to create my reports. Unfortunately my script crashes whenever I
my R code contains special characters like umlauts.
Is there a way to to escape special characters in Sweave... This is the line
that crashes Sweave:
gl_bybranch = ddply(new_wans,.(period,Branchen),
[utf8x]{inputenc}
\begin{document}
test,echo=TRUE=
x - data.frame(Geschäftslage=1:10)
summary(x)
@
\end{document}
---[END: umlaut.Rnw]---
$ R CMD Sweave umlaut.Rnw
$ R CMD pdflatex umlaut.tex
$ gnome-open umlaut.pdf
Allan
On 22/07/10 13:19, Bunny, lautloscrew.com wrote:
Dear all
in advance
matt
On 22.07.2010, at 16:11, David Winsemius wrote:
On Jul 22, 2010, at 9:39 AM, Bunny, lautloscrew.com wrote:
Sorry all,
for not posting a minimal example. I am running R on Mac OS X snow leopard
with Komodo edit / Sciviews-R. The problem is that the code does
{document}
---[END: umlaut.Rnw]---
$ R CMD Sweave umlaut.Rnw
$ R CMD pdflatex umlaut.tex
$ gnome-open umlaut.pdf
Allan
On 22/07/10 13:19, Bunny, lautloscrew.com wrote:
Dear all,
I use Sweave to create my reports. Unfortunately my script crashes
whenever I my R code contains special
Dear all,
i am trying to get PL / R running on Mac OS X. PostgreSQL is already
running and connects just smoothly to R via DBI / RPostgreSQL .
Despite finding a couple of posts of people with the same problem
(i.e. error message) i could not get it done for me.
I use Mac OS 10.5.7 and
Hi all,
is there a common way to write time series objects generated by ts() to some
.csv or .xls.
write.table does not work by default since it expects a data.frame which a ts
object is not.
Therefore write.table creates a data.frame which basically ignores the rows and
columns of ts
1960,417,391,419,461,472,535,622,606,508,461,390,432
On Tue, Nov 17, 2009 at 4:09 AM, Bunny, lautloscrew.com
bu...@lautloscrew.com wrote:
Hi all,
is there a common way to write time series objects generated by ts() to
some .csv or .xls.
write.table does not work by default since it expects
Dear all,
i have a problem with processing dataframes within a function using the $.
Here´s my code:
recode_items = function(dataframe,number,medium=2){
# this works
q-paste(columna,number,sep=)
# this does not work, particularly because dataframe is not
Sorry for that offlist post, did not mean to do it intentionally. just hit the
wrong button. Unfortunately this disadvantage is not written next to $ in the
manual.
On Apr 29, 2010, at 2:34 AM, Bunny, lautloscrew.com wrote:
David,
With your help i finally got it. THX!
sorry
Nice, thx. Which manual do you use ? an introduction to R ? Or something
special ?
matt
On 29.04.2010, at 15:25, David Winsemius wrote:
On Apr 29, 2010, at 9:03 AM, Bunny, lautloscrew.com wrote:
Sorry for that offlist post, did not mean to do it intentionally. just hit
the wrong
lol. you´re right, the is special.
On 29.04.2010, at 18:34, David Winsemius wrote:
That was copied from the help page the comes up with:
?$
It is rather special.
-- David.
On Apr 29, 2010, at 12:26 PM, Bunny, lautloscrew.com wrote:
Nice, thx. Which manual do you use
Dear all,
i wonder if there´s a command to obtain the actual values of a principal
component or a factor (not as.factor, but factanal) .
test=princomp(USArrests, cor = TRUE)
summary(test)
just outputs, standard deviation, Prop of Variance and cumulative proportion of
variance.
Dear all,
i have a programming problem that should be simple, though i am stuck with it.
Please note that this is not a specific geonames problem, though i use it as an
example - it´s just a basic problem with lapply.
I use the geonames webservices with the R geonames packages which works
Hi all,
I dont know if match is the right approach here. I´d like to match to
data.frames. One big dataframe and one small dataframe. In SQL, what i want to
do what only be simple relation.
The first consists of two columns a) some value b) some key that is explained
in the other dataframe.
Dear all,
I am trying to avoid a for loop here and wonder if the following is possible:
I have a data.frame with 6 columns and i want to get a cross-correlogram (by
using ccf) . Obivously ccf only accepts two columns at once and then returms a
list.
In fact, with a for loop i´d do the
Henrique,
thx, your suggestion worked perfectly fine for me.
On 01.06.2010, at 23:01, Henrique Dallazuanna wrote:
lapply(mydf[-6], ccf, y = mydf[6])
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read
Dear all,
after trying several suggestions from the list for a nice R-Editor / IDE for
MacOS X and really trying some of those that needed to be configured a little
more (such as emacs, aquamacs and StatET / Eclipse), I prefer StatET at the
moment. I found more experienced like John
highlighting and auto-complete /
command+t stuff is really an advantage over the standard editor on a mac and
it´s well worth the hustle.
best
matt
On 04.06.2010, at 11:13, Philippe Grosjean wrote:
On 04/06/10 10:37, Bunny, lautloscrew.com wrote:
Dear all,
after trying several suggestions
) ) ) ) )
( ( ( ( (Numerical Ecology of Aquatic Systems
) ) ) ) ) Mons University, Belgium
( ( ( ( (
..
On 05/06/10 18:54, Bunny, lautloscrew.com wrote:
Philippe,
now I tried to run the SciViews-K / Komodo combo on my Mac. It did work and
I like
Dear all,
I am looking for a a way to set x11 as a default plotting engine instead of
quartz, which I had some troubles with.
If I just called it, like x11() an x11 window pops up and plots every graph
that is called since then. Though I do not want to invoke it manually. I mean I
do not
Dear all,
I haven´t used R for panel data analysis so far, but now I am looking for a
package respectively some starting point for binary choice panel data analysis
in R.
For starters most of my effects are individual and my dependent variable is
just binary. Thanks for any suggestions in
Dear all,
i just wonder if there´s a way to use a two column time index field in plm
package.
the manual says the following concerning data indexing:
a character vector of length two containing the names of the individual and the
time
index,
What would y´all do with a quarterly dataset
Hi all,
i am wondering if there´s any other method to adjust for selection
related bias of estimates except propensity scoring and heckit / mills
ratio approach? i also read documentation of Match and twang package
so far, so i don´t speak of any ATE / ATT related methods,
respectively
Hi all,
though i know this is a simple question, i really hope someone could.
I am just trying to compare percents respectively the difference in
percents by a simple test. t.test usually compares means and is
working like it is supposed to be. Now i wonder how i can use a test
in R to
Hi all,
i am looking to built a simple example of a very basic propensity
score adjustment, just using the estimated propensity scores as
inverse probability weights (respectively 1-estimated weights for the
non-treated). As far as i understood, MLE predictions of a logit model
can
HI there,
i know this is a basic question, though i need some help because this
is somewhat away from my current issue, but nevertheless interesting
to me... Lets assume i have some estimated probabilities, say
estimated by a logit model. i know i can also state them as an odds
ratio.
Hi everybody,
I have a simple regression summary created by summary.lm and I wonder
how i can export it to another file format which can be used on the web.
.pdf would be possible, a html table would be nicer than your momma on
your birthday.
any suggestions ?
thx so much in advance
Hello everybody,
i used xtable to get some latex output, which worked pretty well with
my latex document. But somewhere i missed the part where they explain
how to get these nice significance indicating *** into my latex
table. it just stops right after Pr( |t|)
thanks in advance
Hi everybody,
somehow i dont get the shapiro wilk test for normality. i just can´t
find what the H0 is .
i tried :
shapiro.test(rnorm(5000))
Shapiro-Wilk normality test
data: rnorm(5000)
W = 0.9997, p-value = 0.6205
If normality is the H0, the test says it´s probably not
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
] On
Behalf Of Bunny, lautloscrew.com
Sent: Saturday, July 12, 2008 11:30 AM
To: r-help@r-project.org
Subject: [R] shapiro wilk normality test
Hi everybody,
somehow i dont get the shapiro wilk test for normality. i just can´t
find what the H0
Dear all,
my R files (and the .csv files as well) are saved somewhere pretty
deep down my hard disk.
i have to chage to working directory therefore everytime i run R (i
run it on powerPC mac), which is disgusting.
using the setwd command at the beginning of an R script doesnt really
help
Thanks folks fo all the help.
i just missed the part where to set the initial starting directory. i
´ll try Rprofile.
thanks so much
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Dear all,
i need some help with plotting.
the specific problem is the following:
#FYI
a=100
b=95
d=94.5
e=70
all=c(a,b)
all2=c(d,e)
plot(all,type=b,col=blue,xlim=c(1,4),ylim=c(20,150))
lines(all2,type=o,col=yellow)
this does work so far, but ...
i´d like to have 4 intersects, just named by
Dear all,
meanwhile i found out how to handle the coordinate thing and plot the
lines like i like.
the remaining problem is, i need something like names.arg does in
barplot for my plot.
my plot connects several dots with several lines. and now i like
characters as the names of the
Dear all,
i have a little trouble with cutting an understanding the handling of
dendrogram and hclust.
plotting clusters does work and it delivers a dendrogram. the problem
is that the dendrogram shows lots of pretty small clusters and only
some larger ones.
i know that this has to do with
Hi all,
right now i am simply comparing means. obviously this can be done by
the simple t.test respectively the welch test, if var.equal is set to
FALSE.
just like this
t.test( Y ~ group)
t.test( Y ~ group, var.equal = FALSE)
now that i need to compare weighted means i am using the lm
Hi all,
i am looking from some insights to define own R functions. so far i
found most basics in documentations that are around on the web. except
for one thing:
I´d like to define some function, say:
#assume my data matrix contains vectors like data$myColumn1,data
$myColumn2 etc.
PROTECTED]
project.org] On Behalf Of Bunny, lautloscrew.com
Sent: Tuesday, November 25, 2008 3:18 AM
To: r-help@r-project.org
Subject: [R] basic information defining functions
Hi all,
i am looking from some insights to define own R functions. so far i
found most basics in documentations that are around
Hi all,
just wondered again, if there is some R editor for Mac OS X comparable
to TINN-R on windows.
thx in advance..
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Hi all,
i have a pretty easy indexing question, at least i believe so. The
main reason i post it here, is that brackets and $ are hard to google.
How do I index correctly, if i just want to display the whole dataset
conditioned on the fact that some particular column equals one.
I know i
a given body of
data.
~ John Tukey
-Oorspronkelijk bericht-
Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org]
Namens Bunny, lautloscrew.com
Verzonden: dinsdag 13 januari 2009 10:26
Aan: r-help@r-project.org
Onderwerp: [R] indexing question
Hi all,
i have a pretty easy
Dear all,
I am stuck trying to get RPostgreSQL running on my Mac. PostgreSQL
itself does work fine as it is able to connect with various other apps.
Unfortunately the RPostgreSQL package is not available as a binary for
MAC OS. Thus I´ve been trying to compile the source for quite some
...@stat.berkeley.edu
On Fri, 28 Aug 2009, Bunny, lautloscrew.com wrote:
Dear all,
I am stuck trying to get RPostgreSQL running on my Mac. PostgreSQL
itself does work fine as it is able to connect with various other
apps.
Unfortunately the RPostgreSQL package is not available as a binary
for MAC
Dear all,
Finally, I made it, my RPostgreSQL works. After working through some
tutorials, i was able to plot, get and replace several timeseries.
Still I miss the opportunity (syntax) to add data. Most tutorials are
about: Download some SP data from Yahoo and play around a little.
What I
Dear all,
somehow i am still stuck trying to add data to some existing ts data.
If some new periodical becomes available, i´d like to add these data
to my existing ts object respectively my database. I just want to add
some new data at the end of my ts.
But how can I do this? Dont know why
Dear all,
Trying to test for heteroskedasticity I tried several test from the
car package respectively lmtest. Now that they produce rather
different results i am somewhat clueless how to deal with it.
Here is what I did:
1. I plotted fitted.values vs residuals and somewhat intuitively
Dear all,
i am looking for a possibility to use two lines in the same plot with different
scales. i.e the standard y-axis should represent the line created by vector x
and the vertical line vice versa should be used as a second y-axis for the plot
of vector y. I´ve seen that often,
://stat.ethz.ch/pipermail/r-help/2008-December/182374.html
Best regards,
Christian
Bunny, lautloscrew.com wrotes:
Dear all, i am looking for a possibility to use two lines in the same plot
with different scales. i.e the standard y-axis should represent the line
created by vector x and the vertical
48 matches
Mail list logo