forums with
a reproducible example. If it turns out to be a bug in the package, keep in
mind that that is a Bioconductor package and they, too, have their own support
forum.
---
Jeff NewmillerThe
Read the help page for the names function:
?names
... note particularly the examples section.
You might also find the fact that the paste0 function works on vectors to be
helpful:
paste0( "bp_", 1:6 )
---
Jeff
ry but not sufficient... you need to
supplement with the book and/or lots of examples/training.)
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
other list message. This will avoid our seeing a mangled version if
your message and being perplexed.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: #
tical opinion, not from
experience.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Pl
o you know what we will see.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:
g guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:
You seem to be writing in a jargon that is not typical on this list, and I
cannot identify what package you are using. I suspect that you need to be
asking your question in the Bioconductor support area.
---
Jeff Newmiller
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
in plain text
on this mailing list.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
enting the wheel and have already reviewed their tools.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go L
more extensive documentation about those APIs that you will need
to be familiar with in order to make progress with them.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#.
elp@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
/Software
directory or let the user
decide where to put it.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO
, and this list is
not a good place for studying statistics theory (read the Posting Guide). You
might try stats.stackexchange. com.
---
Jeff NewmillerThe . . Go Live...
DCN
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
example that illustrates the type of data you are working with
as well as your code.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
Honestly? Did you try "rcurl https windows" (without the quotes)?
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#
In general this depends what you plan to do with those results. I suspect you
are looking for something like knitr with rmarkdown (.Rmd files to create HTML
or Word) or LaTeX (.Rnw files to create PDF).
---
Jeff Newmiller
documentation on the X parameter).
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
in libcurl".
http://curl.haxx.se/docs/faq.html
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live:
Don't know anything about SL but have you installed a Java run time independent
of R?
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Li
I am not aware that Windows demands double quotes for anything in R. I think
the spaces was the problem.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
and provide commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live
ved syntaxes over the
overloaded = from, say, Basic. I am sure you can get by with the syntactic
overloading, but if you have the option of reducing ambiguity, why not use it?
---
Jeff Newmiller
n show you how to connect the dots using R.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.
riodic!) time signals.
Hoping this helps, I remain
With best wishes,
Frank
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...@xs4all.nl
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -
ng list archive.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research
You may be able to learn something useful from how the maptools package handles
that dependency?
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
sting "trick" to put in the
examples.
On Tue, 3 Feb 2015, Franklin Bretschneider wrote:
Dear Elke; Jeff,
Re:
Eike: Understanding Discrete Fourier Transform theory is not trivial... while a vignette
added to the stat package has the potential help a lot of users, it is a bit ambit
u can also
wrap it up in a function and set debug mode for that function and then you can
single step through it.
One thing that looks wrong is lack or braces surrounding the body of the for
loop.
---
Jeff Newm
?aperm
aperm(A, c(2,1,3) )[,3:1,]
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
ve cobbled together some code to
read part of the header but it doesn't parallel the format definition very well.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#.
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries
The set of things that R can do is not a subset of the set of things packages
may have been written for.
Have at it.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
You might also find Pat Burns' "The R
Inferno" entertaining as well (search for it in your favorite search engine).
---
Jeff NewmillerThe . . Go Live...
DCN:Bas
ve you from having to retype DF more than once, but in
this case even achieving that requires more typing than the above does.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
Ah, ask in the RStudio support area?
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead
Time to (re)read the Posting Guide... questions about unreleased versions of R
are off topic here. Go to R-devel.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
if you are sure it is a bug then filling a report is
the right thing to do.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Li
list. We
don't see the formatting that you see, so don't delude yourself into thinking
that we do.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#.
Best not to be pedantic, John, unless you are going to be right. Please read
section 10.3.5 in the R Language Definition document. This is R, not C.
---
Jeff NewmillerThe . . Go
You have two named objects when your goal is to have one that contains five
others.
ASL <- vector( "list", 5 )
for (j in 1:5){
ASL[[j]] <- vector( "list", 5 )
for (i in 1:5) {
ASL[[j]][[i]] <- i^j
}
}
---
r specific problem as such
tricks are not R-specific.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.
not a good name
to use.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research En
R CMD INSTALL --build packagename
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
posting using plain text (a setting in your email program) so we
don't get garbled info from you, and providing a reproducible example.
---
Jeff NewmillerThe . . Go Live..
-visualstudio-and-gcc
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research
On Windows it builds a zip file. If you are on Linux, you might [1] need [2].
[1] https://stat.ethz.ch/pipermail/r-help/2005-January/063596.html
[2] http://cran.r-project.org/doc/contributed/cross-build.pdf
---
Jeff Newmiller
d does not do what you
want it to, I am not sure we are speaking of the same kind of file. If we are,
then you may not have your system configured correctly.
---
Jeff NewmillerThe .
This sounds like you should read FAQ 2.19.
Next time you post, please read the Posting Guide first. In particular, please
use plain text since your HTML-formatted email was messed up on the mailing
list.
---
Jeff Newmiller
This is a math question, not an R question. You cannot give numbers to asin
that are less than -1 or greater than 1 and get a defined answer.
---
Jeff NewmillerThe . . Go Live...
DCN
cible-example
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (So
reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #
et_wrap function with ggplot. If that tip is not
>sufficient, then re-read my previous response to guide you in posting a more
>complete question.
---
Jeff NewmillerThe . . Go Live
)
%>% ungroup
%>% select( -gp )
%>% as.data.frame
)
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#.
ile into your example so we could
troubleshoot your input process better if that is where your problem is.
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff Newmiller
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
col=ncol( dtam ), nrow=nrow( dtam ), byrow=TRUE ) )
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteri
I cannot see how that would be possible. R must be installed in order to use it.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
roject.org/posting-guide.html
[2]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:
ys to accomplish the kinds
of things you might want to accomplish without them, and those alternatives
often don't involve explicit loops at all.
---
Jeff NewmillerThe . . Go L
Sigh. To be positive is to be wrong at the top of one's lungs. Next I will be
told R has a goto statement.
---
Jeff NewmillerThe . . Go Live...
DCN:B
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
/Software/Embedded
I suspect that the tabular function in the tables package would handle this
task.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
text where spaces are present.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Pl
Why do you have single quotes inside your single quotes?
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
o call. If you need to
manipulate an object, use some form of method dispatching (I like S3, but you
have alternatives) on an object you pass in.
---
Jeff NewmillerThe . . Go L
# so don't use cbind when making a data frame
library( dplyr )
result <- dat %>% group_by( g ) %>% do( answer = d_rule( . ) ) %>% as.data.frame
---
Jeff Newmiller
is on topic...
R-sig-db.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#.
I don't see your point. No matter which version of aggregate you use, FUN is
applied to vectors. Those vectors may be columns in a data frame or not, but
FUN is always given one vector at a time by aggregate.
---
n't use "aggregate" very often.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.
location of your
choice and dig in.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
Please read the Posting Guide. Unreleased versions of R are off-topic in this
mailing list (see the R-devel mailing list). RStudio-specific questions are
also off-topic here (should be about R, not IDEs).
---
Jeff Newmiller
//stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go
e
this problem.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#.
uncompelling, though. Of
the information necessary to draw valid conclusions is absent, the results you
obtain by doing so is going to be questionable at best.
---
Jeff NewmillerThe . . Go
optional in my workflow because I
always have R code that can regenerate them.
.Rprofile files offer consistency of behavior regardless of which working
directory you use, and you can comment them.
---
Jeff Newmiller
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
I was positive I knew WTF I was doing until you set me straight, Rolf. ;-)
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
seq(950L, 1000L)
myvector5 <- match(myvector4, myvector3)
I think the as.list is working because match is internally converting to
character and comparing that... which makes the as.list solution rather
inefficient art best.
You don't say which operating system you are using, but this sounds like it
could easily be affected by your OS (even of in this case it isn't). My
suggestion would be to use a temporary file.
---
Jeff
This is nonsense. Please provide a reproducible example.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
ou from scratch.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (
Not reproducible (sample data missing).
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
Perhaps read ?try
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
topic here, but there is a button/menu
item that will execute these commands for you in the GUI of that program.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. #
producible-example
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Researc
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
de by the time it gets to us.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Pl
Upgrade your copy of R to the latest.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead
is corrupted because you are posting using
HTML format email rather than plain text as the Posting Guide tells you to.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
Another thought... if you have a ".RData" file in your working directory, you
might want to delete or rename it.
---
Jeff NewmillerThe . . Go Live...
DCN:
) <- c( "chrom", "start.pos", "end.pos", "hets", "het_stat",
"homs", "hom_stat", "indiv" )
---
Jeff NewmillerT
Perhaps you had forgotten to use header=TRUE when you read the data in.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
It is difficult to read your code because the HTML format messes it up, but I
think your ggplot function call is missing a parenthesis between fill=Prostate
and the + sign.
---
Jeff NewmillerThe
901 - 1000 of 4330 matches
Mail list logo