Use / instead of \ in the path.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O
Perhaps use tryCatch...
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software
The ampersand is a good idea, but nohup is best avoided in scripts. Rather the
server itself should handle the transition to daemon status to avoid ending up
with many duplicate server processes running.
---
Jeff Newmiller
, or the ! and %in% logical
operators can be used, to find non-matching values.
If you are determined to modify the data in R, then you probably need the tk
library, the use of which is not really a topic for this forum.
---
Jeff Newmiller
not to be derived works. You
are free to disagree, but only the judges' opinions count.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
Yes, if there are no control statements such as if that prevent that return
function from being activated.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO
I try to access Excel.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software
No, you didn't provide the reproducible R code as the posting guide instructs
you to.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Putting SQL columns/variables into square brackets is valid syntax for sqlite.
Expecting sqlite to share variables with R is not, so there was only one
necessary change.
---
Jeff Newmiller The . . Go Live
formats for data output (if at all).
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O
/plotting inside your
functions and instead just build objects that will be printed when they are
returned to the interpreter.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live
Cannot revert it? Doesn't setting up a new default parameter in the calling
function (ave) accomplish that?
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO
?merge may be what you are looking for. If not, you should clarify what you
want to do.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
.* is greedy... might want regex number[^0-9]*([0-9] {4}) to avoid getting
1999 from I want the number 2000, not the number 1999.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics
Isn't a vector of vectors usually considered a matrix? So if you want to
vectorize a vector function you would normally rewrite it to operate on
matrices.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew
I recommend reading the posting guide and providing a reproducible example.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research
Perhaps you need to conform to the conventions mandated by RFC 2822 section 2.1
for record separators. Most libraries automatically handle this for you, but
perhaps your rJython library does not.
---
Jeff Newmiller
Why not
d - ifelse( d1 d2, d1, d2 )
or
d - pmax( d1, d2 )
?
Apply operations may seem beautiful, but I think the speed and simplicity of
vectorized operations are truly beautiful.
---
Jeff Newmiller The . . Go
Unless you have a subdirectory called dir below the directory returned by
getwd(), the command you gave would be expected to fail. Perhaps you should use
an absolute directory specification?
---
Jeff Newmiller
is linked to .RData files
in Windows.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O
Raw data could mean many different things to different people. You need to be
more specific about what YOU mean when you use that term.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics
AFAIK the answer is no. There are ways to look up the volume label given the
drive letter, with which you can search for the drive letter by trial and
error, but in most cases that is more trouble than it is worth.
---
Jeff
You could phrase this in most dialects of SQL, but you don't say what kind of
database you are using and this is not a SQL help list.
You could also look at the rollapply function in the zoo package.
---
Jeff Newmiller
Add geom_errorbar() before adding geom_point() ?
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O
The diff function would be helpful.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O
.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
Yes, you are confusing, because that is exactly what your original message had
in it.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Doesn't seen like an R task, but see pdf2text? (From pdftools, UNIX command
line tools)
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
A$Session_id - ave(rep(1,length(A$ID),A$ID,FUN=cumsum)
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar
If you explicitly convert your categorical covariates to factors before you
regress, you can use the dot notation (see help on lm) to refer to the rest
of the columns not otherwise specified in your formula.
---
Jeff
1) I don't know about automated clipping using Audacity.
2) en.wiktionary.org/wiki/for_the_win
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
Perhaps start by reading the posting guidelines.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O
Sys.setenv(TZ=Etc/GMT+8) will use standard time only for time calculations.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research
when you are done.
With this in mind, you may be in a better position to understand why the
pre-built facilities do not provide much support in your endeavor.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew
.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
Then don't define BPGC inside another function.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O
-project.org mailing list
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
on this mailing list.
There are nearly an infinite variety of errors that can lead to a crash, so
it is really unreasonable of you to pose this question this way and expect
constructive assistance.
---
Jeff Newmiller The . . Go
?grep
?names
Use indexing by name [, namevector]
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O
.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
DEL is built in to CMD. Use the R unlink function.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries
Vectors are not matrices in R, though matrices are special cases of vectors.
See ?diff for a solution that works with vectors.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics
parameter.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers
No, read ?difftime and look at as.double. There is a units parameter that you
must set if you want predictable results.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go
Convert to character first or use the as.is option to read.csv. The default
is to try to convert the underlying integer form of factors to date, which is
not what you intend.
---
Jeff Newmiller The . . Go Live
.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
sapply(strsplit(Block[1:5],-), function (x) {x[1]})
comes to mind...
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer
before you write much
code like your example.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O
with the posting
guide, we will still be here, and you won't need to apologize for being a
newbie.
Tips: use the question mark shortcut to get help on functions, and read the
Introduction to R pdf carefully.
---
Jeff Newmiller
object types... it embeds the
arguments into a new vector.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar
Why aren't you using as.character instead of drop.levels?
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar
Note that male comes before female in your data frame.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar
.
---
Jeff Newmiller The . . Go Live...
DCN:jdnew...@dcn.davis.ca.us Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
Undoubtedly. However, it probably won't affect the time it takes to finish by
very much.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
Refer to the columns by their position (numerically).
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Time for you to read the posting guide mentioned at the bottom of every R-help
message. Your assertions make no sense, so we will need a reproducible example
to understand you.
---
Jeff Newmiller
No. But there is nothing preventing you from editing the file once your session
is complete.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
Perhaps contact the maintainer
maintainer(xpose4)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Stop it with the fake code if you want help. In keeping with the posting
guide, make one reproducible example that exhibits a real problem. For what it
is worth, I don't have difficulty with setwd().
---
Jeff Newmiller
Then why don't you ask about it on the RStudio support forum?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Quite possibly, after you read the posting guide and provide a complete example
of code that is causing the problem.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.us
of results that can be
indexed by position or by name.
mymodel - vector( list, 30 )
for (i in 5:30) {
mymodel[[i]] - mlp(X, Y, size=n,)
}
---
Jeff NewmillerThe . . Go Live
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer
Google is really useful for questions like this.
http://cran.r-project.org/bin/linux/ubuntu/
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
). It is perfectly possible to
have those characters in memory, but they will not be displayed that way by the
print function.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar
Aren't you just reinventing the inverse of a function?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
Your requirement that the line go from bottom-left to top-right regardless of
the coordinates is inconsistent with a slope of 1. Are you sure that is your
requirement?
---
Jeff Newmiller
) + qb ) / ( 2*qa ) }
plot( x, f1( y ) )
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go
algebra.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
appropriate than pursuing this issue here.
---
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
Your clue is... density!
Probability density is not the same as probability... you have to multiply it
by something before you can sum it.
Try typing
h
by itself and review your options.
---
Jeff Newmiller
and ?dput for
future posts.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO
Do you really expect is to know how to figure out the error if you don't give
us the code that the error is pointing at (or the code preceding the error,
which may be at fault)? Please think before posting.
---
Jeff
Then save to a variable, and maybe then to a file?
Are you wanting it in long form? You can use reshape if so.
Note that a reproducible example and sample result always helps prompt more
specific answers.
---
Jeff Newmiller
Succinct is good, but reproducible is even more important.
Think ?dput or ?sample so we have some data like you do, your current
algorithm, or at least a desired output example (again using dput)
---
Jeff Newmiller
You use dput to put your data into an email so we can know what your input is.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live
.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
Actually, RExcel and the StatConn DCOM connector are what you want, and this is
not the right place to discuss it. Go to http://www.statconn.com/, and read the
license carefully.
---
Jeff Newmiller
A) This is the wrong list for StatConn questions.
B) My guess would be that you need to send the entire loop in one call.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
that
produces your error. One part of the beauty of R is that it is possible to ask
a precise question, and get a precise answer.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew
of handling variable limits. I didn't see any hint that such would be
supported in the help page. Are you sure the same code is being used on
different machines?
---
Jeff Newmiller
AFAIK you need to use the 32bit version of R for getting the data. Then you can
save it into a more versatile format and re-read it if you really need to run R
in 64 bit mode.
---
Jeff Newmiller
feel it wasn't worth
answering questions on the list any more.
---
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
I agree that global side effects are a bad idea, but ivo started this by
pointing out that it is straightforward to do this in Perl. It might be worth
considering adding this capability to R.
---
Jeff Newmiller
that doesn't do what you
expect it to (along with some indication of what you expected it to do).
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics
Since you want to progress to further statements within test(), you need to
wrap the summary function call in the try, not the whole test() function:
try( summary(w), silent =TRUE )
---
Jeff Newmiller
productive way to use
R, because you accumulate a collection of useful snippets that can be much more
tuned to your analysis needs than a point and click interface can be.
---
Jeff Newmiller
)
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
check your firewall?
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO
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
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
/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
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
, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Live: OO#.. Dead
101 - 200 of 3908 matches
Mail list logo