Mindreading option not enabled. Please make your example reproducible by
including all code necessary for us to reproduce your problem starting from an
empty R environment.
---
Jeff Newmiller
Perhaps you are not using a compatible compiler. I believe this is off-topic
for this mailing list, though.. see the Posting Guide.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
anyway (using
strong functions) then you can use the stringsAsFactors=FALSE or as.is=TRUE
parameter settings and avoid the as.character() band-aid in your code.
---
Jeff Newmiller
Which text editor can actually display _^H correct?
Not aware of any. It is from very old line printer behavior, which most (all?)
printers can still support even though few computers are set up to utilize it.
---
Jeff
Your list.of.files variable just has filenames without the fromFolder path. Try
file.copy(file.path,fromFolder,list.of.files), toFolder)
---
Jeff NewmillerThe . . Go Live
Sorry.. typo...
file.copy(file.path(fromFolder,list.of.files), toFolder)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
/How-R-Searches-And-Finds-Stuff/
[2] http://adv-r.had.co.nz/Environments.html
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
other
parameters you can also give to read.csv.) Once those special values are
specified, then you should get numeric columns just fine.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
, ... )
}
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries
to associate
unique names with unique behaviors. From this perspective, your reluctance to
define a unified set of uniquely-named parameters for each of foobar and (and
apparently foo) seems illogical.
---
Jeff Newmiller
Not clear what you did. Is this an example of FAQ 7.16?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
are folded vectors in R...
every matrix can be thought of as a linear vector of columnwise data with
dimension attributes.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
function of that name.
Assuming the data frame is in variable DF...
DF[ !DF$ToKeep, c(value1,value2) ] - NA
should do it.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
://www.statmethods.net/graphs/dot.html
[2] R is interactive.. learn to use the str function and the help system (try
typing ?str at the R prompt) to examine variables that examples are using.
---
Jeff Newmiller
Wrong list. See http://www.bioconductor.org/help/support/
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
guide
http://www.R-project.org/posting-guide.html
which says, among other things, that you should be posting in plain text on
this list.
Also note:
and provide commented, minimal, self-contained, reproducible code.
---
Jeff
Counting rows is not something RODBC is supposed to do. That is a very basic
SQL query that you can use RODBC to execute:
SELECT COUNT(*) FROM yourtablename
---
Jeff Newmiller
of a button.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
I am not quite sure what you want to achieve here, but you only have one factor
column so shouldn't you be using facet_wrap(~stroj), perhaps with nrow or ncol
parameters?
---
Jeff Newmiller
.)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer
In what way would that be unlike the link that is already there?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
of organizations using it so it may work better than my initial
impression tells me it does.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
Stop using administrator. If and only if Windows prompts you for permission to
install, give it your password. Stay as far away from administrator as you can.
---
Jeff Newmiller
criticizing it.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
Seems like you have what you want, unless you meant to show something different
than you did show.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
I suggest that you contact the maintainer of that package, who should be
identified by using the maintainer function (see ?maintainer) or on the website
where you obtained it.
---
Jeff Newmiller
.. but the actual data can affect how well
any solution works so giving us dput output is crucial.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
be quite useful later.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO
efficiently than testing which rows have
na.date.cases==1.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
, full.names=TRUE )
lapply( fnames, myplotfilecreator )
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
function, so perhaps you should read
?seq
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
documentation.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer
fname = John; lname = Smith
ans - paste( fname, \\ , lname )
cat( ans)
print( ans )
Note that ans only has one backslash in it, but print gives you a
source-suitable string with the escape character.
---
Jeff Newmiller
the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
/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 Newmiller
as
NA. This may be due to DST, which I do not know
how to handle in R.
Best,
AlemuÂ
On Sun, Dec 7, 2014 at 1:59 PM, Jeff Newmiller jdnew...@dcn.davis.ca.us wrote:
You have not provided a reproducible example, so anything I say could be
wrong just due to misinterpretation.
Please
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 Newmiller
-faster-tp4700539.html
Sent from the R help mailing list archive at Nabble.com.
__
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
pdflatex appears to have run, because it exited. You should look at the tex log
file, the problem is more likely that the latex you sent out to pdflatex was
incomplete.
---
Jeff Newmiller
be able to look at the
package source code and define your own similar functions for temporary use.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
I don't think that is possible with the ggplot2 package. Try lattice or base
graphics?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
Ggplot2 also depends on factors, so learn about them asap. It does have some
support for automatically converting strings to factors in some cases, but it
doesn't always work the way you want it to.
---
Jeff Newmiller
Yes. The help file for this function explains why it is used.
If you don't want to use it, that is fine.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
data along with sample
code... so we know all the pieces of the puzzle that might be giving you
trouble.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
... in
particular post using plain text because HTML does not always survive the trip
to us intact.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
to keep this distinction in mind, you can probably find examples
on the web, such as [1], or in help files such as ?panel.abline.
[1] http://apcg.uoregon.edu/GeogR/topics/lattice.htm
---
Jeff Newmiller
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
be needing to read about the drop parameter for
indexing:
?[
which is also mentioned in the Introduction to R document that accompanies the
software in the section on indexing.
---
Jeff Newmiller
]]
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
, 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 Newmiller
]]
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries
Read the posting guide. The solution is likely to depend on your operating
system and graphics devices.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
Please keep the list in the loop.
Take a look at my code again... the factor function can accept a vector of all
levels you want it to include.
---
Jeff NewmillerThe . . Go Live
://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 Newmiller
, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
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:jdnew
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
for general questions about R (yes, read the
Posting Guide).
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
You are welcome, but you have not yet followed the Posting Guide instructions,
so you may not have prompted someone familiar with your situation to respond
yet.
---
Jeff Newmiller
you read the help file for the optim function? It includes some
options for constrained optimization that might help you.
(no more comments)
20 Ara 2014 tarihinde 20:41 saatinde, Jeff Newmiller jdnew...@dcn.davis.ca.us
?unlar? yazd?:
if weight element is negative set it to zero, else
Unfortunately for you, there is a no-homework policy on this list. Please read
the Posting Guide.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
Do you have curl installed? RCurl just uses your external-to-R system
installation of the curl software to do its real work.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
But all numeric types in R are vectors. So although it might be a good idea to
be redundant to aid beginners, the phrase a numeric is accurate.
---
Jeff NewmillerThe . . Go Live
on this point.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
in practically every email program... if yours
really does not support it then you need to use another program.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Let windows prompt you for your password when it is needed... don't run
anything as Administrator directly unless you are prepared to fix the problems
that occur.
---
Jeff Newmiller
into re-installing R from
r--project.org.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
-- 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 Newmiller
Because the root directory is not a place for saving your files in. Put your
files in your Documents directory.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
are syntactically incorrect, and I don't
understand what you hope to accomplish by assigning an empty string to a
numeric in your last line.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
Please don't cross post. You have your answer on crossvalidated.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Please read the posting guide. This subject is off topic (should be on R-devel)
and both this list and the R-devel list are plain-text-only mailing lists so
your HTML is mangled.
---
Jeff Newmiller
RA C 1 10
On Fri, 2 Jan 2015, Jeff Newmiller wrote:
The problem is that I cannot see how your use of rle and/or seq_along
could possibly lead to the sample result you are giving us. That is why
I asked for a new example
The problem is that I cannot see how your use of rle and/or seq_along could
possibly lead to the sample result you are giving us. That is why I asked for a
new example.
---
Jeff Newmiller
directory or let the user
decide where to put it.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
.
Best wishes,
Frank
---
Franklin Bretschneider
Dept of Biology
Utrecht University
brets...@xs4all.nl
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
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:jdnew...@dcn.davis.ca.us
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
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 NewmillerThe . . Go
documentation on the X parameter).
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO
how to connect the dots using R.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
.
http://curl.haxx.se/docs/faq.html
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. 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:jdnew...@dcn.davis.ca.usBasics
, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
?aperm
aperm(A, c(2,1,3) )[,3:1,]
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
You may be able to learn something useful from how the maptools package handles
that dependency?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
1401 - 1500 of 3908 matches
Mail list logo