Full_Name: Andy Ashley
Version: 2.10.0
OS: Windows XP SP3
Submission from: (NULL) (91.105.184.105)
I am updating a legacy program which called Rterm from within Excel VBA as
follows:
Rexe = """C:\Program Files\R\R-2.4.0\bin\Rterm.exe"""
Roptions = "&q
I don't get the point. ?by says:
FUN a function to be applied to data frame subsets of data.
It doesn't say FUN can be a character, and by(iris, iris$Species, summary)
works as expected.
Andy
> From: Gabor Grothendieck
>
> I noticed that, unlike similar functions
tioned
above changed to something like:
if (drop || !is.factor(f)) f <- factor(f)
Then this additional argument can be pass on from boxplot.formula() to
split().
Just my $0.02...
Andy
> From: [EMAIL PROTECTED]
>
> I consider this to be an old bug, which also persists in Splus 7.
Do you mean something like:
http://cran.r-project.org/src/contrib/Descriptions/RColorBrewer.html
?
Andy
> From: Peter Kleiweg
>
>
> Anyone who is interested in using optimal colour palettes should
> look at the work of Cindy Brewer: www.colorbrewer.org
>
> I have wr
I can only say that the last time I tried linking ACML to R, it did quite a
bit worse than Goto's BLAS.
Andy
> From: Jennifer Lai
>
> Hi,
> Has anyone had any luck in using portland group compiler
> to build
> R(-devel) with AMD's pgi compiled ACML
tistical Computing
Version 2.1.1 Patched (2005-07-13), ISBN 3-900051-07-0
[...]
> mylist <- list()
> mylist[1] <- list(value1=3, value2=5)
Warning message:
number of items to replace is not a multiple of replacement length
Andy
> Can you please help me
> Thank you
find any mention in
R-exts.
I realize that the way to go is to have a name space, and eventually that's
what I will do, but for now I rather spend the time doing other necessary
clean-ups first.
Any pointer much appreciated!
Best,
Andy
Andy Liaw, PhD
Biometrics Research PO Box 2000,
LETTERS[1:4], NULL))
> y
[,1] [,2]
A84
B73
C62
D51
> sort(y)
[,1] [,2]
A15
B26
C37
D48
Notice the row names stay the same. I'd argue that this is the correct
behavior.
Andy
> From: Greg Finak
>
> Not sure i
t; > +x2:x3++x2:x4+x2:x5+x2:x6+x2:x7+x2:x8
> > +x3:x4+x3:x5+x3:x6+x3:x7+x3:x8
> > +x4:x5+x4:x6+x4:x7+x4:x8
> > +x5:x6+x5:x7+x5:x8
> > +x6:x7+x6:x8
> > +x7:x8)
> > -> R does not crash
7;:
x y
Objects in \usage without \alias in documentation object
'locfit.censor':
locfit
Can some one tell me what would be the preferred way of fixing this?
Best,
Andy
Andy Liaw, PhD
Biometrics Research PO Box 2000, RY33-300
Merck Research Labs Rahway
.2.0 beta). It will be
uploaded to CRAN when Prof. Loader is OK with what I have.
Andy
> From: [EMAIL PROTECTED]
>
> Full_Name: Somkiat Apipattanavis
> Version: 2.1.1
> OS: Windows
> Submission from: (NULL) (128.138.44.123)
>
>
> Bug found in predict.locfit for de
Where in ?cor do you see the na.rm argument? Mine says:
cor(x, y = NULL, use = "all.obs",
method = c("pearson", "kendall", "spearman"))
There's na.rm on that page, but that's for var(). Please read the R FAQ
more carefully abo
ed
> before, will appreciate we just continue to play in the sandbox for
> another 5 years!!! They want their GUI delivered... in the
> next years,
> or in the next six months, or even closer if possible!
Er, how about yesterday? (Sorry, couldn't resist...)
Andy
> So, a
This is in R-exts. If the Fortran subroutine is called `dqrfit', you would
use something like:
F77_CALL(dqrfit)(...);
All arguments need to be pointers, as Fortran passes by reference.
Andy
> From: James Bullard
>
> Hello, I had a question about calling some of R's fortran
ate MS
> *.hlp file directly. That's more "native" MS windows than CHM
> files.
>
> Hin-Tak Leung
Personally my order of preference is
CHM > plain text > HLP
Isn't it true that even MS is moving away from HLP?
Andy
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
2 3
a "a12" "a22" "a32"
b "b12" "b22" "b32"
, , 3
1 2 3
a "a13" "a23" "a33"
b "b13" "b23" "b33"
, , 4
1 2 3
a "a14" "a24&quo
Fritz gave a talk on S4 using pixmap as example at useR! 2004. You might
want to start with that. The slides should be on the useR! 2004 web site.
Andy
> From: Jeff Enos
>
> Thanks to Dirk Eddelbuettel, Matthias Kohl, Professor Ripley, and
> Bernhard Pfaff for their help
of
no good solutions. As I told Grant, I thought about what he did, too, but
the difficulty is how to pass such data structures to R. Actually, some
time down the road I might try to use the dendrogram class that's in R, and
manipulate them in C. Not sure about efficiency though.
Andy
>
next time when I will find an error in R-devel I won't report it.
I do not believe that's the intention. Problem with building R-devel should
be reported, but as post to R-devel (the list), rather than filed as bug
report.
Andy
__
R-d
I suppose one can make use of slice.index():
> array(x[slice.index(x, 1) == 1], dim(x)[-1])
[,1] [,2]
[1,]1 13
[2,]5 17
[3,]9 21
Andy
> From: Henrik Bengtsson
>
> Hi,
>
> is there a function in R already doing what I try to do below:
>
> #
I believe Gabor was referring to this:
http://tolstoy.newcastle.edu.au/R/devel/05/05/0837.html
Andy
From: Hin-Tak Leung
>
> Gabor Grothendieck wrote:
> > There was nothing attached in the copy that came through
> > to me.
>
> I like to see that patch also.
>
>
Just one call to each that enclose the RNG calls will do, I believe.
Andy
From: Tib
>
> Greetings,
>
> I am trying to write a C++ subroutine of my random number
> generator. Based
> on tutorial in Writing R Extensions, one should call
> GetRNGstate() before
> and Put
ey" do not exist)?
Ultimately, the results of these operations say more about the operation in
question than about the empty set. For instance, notice that zero is the
identity element for addition, and one is the identity element for
multiplication.
Andy
From: Martin Morgan
>
> I guess I
See the `Value' section of ?.C. Also, it's better to use the i/o provided
by the R API; i.e., something like:
#include "R.h"
void helloworld() {
Rprintf("Hello world!\n");
}
Andy
From: Romain Francois
>
> Hi,
>
> I'm trying to buil
n't be surprised if one of these days someone
figures out how to get R to run on a video card... (I recall that there was
a tutorial session at some datamining conference last year that showed
people how to use the GPU for numerical computation, so this may not be too
far fetched.)
Andy
representation of the data. I vaguely recall seeing Chih-Jen Lin's code
that uses the SparseM package to pass sparse data to svm()... David would
know best, of course.
Andy
> /Kasper
>
>
> On Jan 27, 2006, at 2:02 AM, [EMAIL PROTECTED] wrote:
>
> > Full_Name: J
nteed to be
there: Each package is required to have a maintainer, who is responsible
for making necessary updates to keep the package up-to-date with R versions.
A package not actively maintained is subject to removal from CRAN. Can you
reasonably expect base R to cite contributed packages in such a se
gt;
>"Save workspace image? [y/n/c]: "
Nah! Always use q("no") or start R with --no-save. Source is master!
I suppose one can use sessionInfo() as the wrap-up summary...
Andy
> Ted.
>
> > Ben Bolker wrote:
> >>I was sitting in t
Why isn't substitute(x, parent.frame()) enough? parse(deparse()) seems
redundant...
Andy
From: hadley wickham
>
> I'm trying to retrieve an unevalated argument (a list in particular).
> I can do this easily when I call the function directly:
>
> a1 <- function
ad[i]))
Min. 1st Qu. MedianMean 3rd Qu.Max.
0.2679 0.2679 0.2679 0.2679 0.2679 0.2679
Andy
From: [EMAIL PROTECTED]
>
> Full_Name: Noel O'Boyle
> Version: 2.1.0
> OS: Debian GNU/Linux Sarge
> Submission from: (NULL) (131.111.8.96)
>
>
> (1) De
u have buffering enabled (the default). In the
> Misc menu
> item, uncheck "buffered output" and you should see things sooner (but
> slower).
... or add something like this in your C code:
#ifdef win32
R_FlushConsole();
#endif
Andy
&
If you start a function in one file but don't close it, the package
will still build if you manage to close it in a later file. Like so:
a.R
b.R
c.R
a.R:
function_a <- function(){
print("this is function_a")
}
b.R:
function_b <- function(){
print("unclosed function_b")
# no closing }
c.R:
is it likely to
lead
to trouble in the future?
Best,
Andy
Notice: This e-mail message, together with any attachme...{{dropped:14}}
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
From: Prof Brian Ripley
>
> On Fri, 27 Aug 2010, peter dalgaard wrote:
>
> >
> > On Aug 27, 2010, at 2:44 PM, Liaw, Andy wrote:
> >
> >> I'd very much appreciate guidance on this. A user
> reported that the
> >> as.double() coercion used i
to force package
> developers to
> document their packages probably. This way, package maintainers /
> developers have to touch each Rd file and cannot use them as
> is in order
> to pass the checks.
Or else it may be possible to have some malicious person write a script
From: Liaw, Andy
>
> From: Prof Brian Ripley
> >
> > On Fri, 27 Aug 2010, peter dalgaard wrote:
> >
> > >
> > > On Aug 27, 2010, at 2:44 PM, Liaw, Andy wrote:
> > >
> > >> I'd very much appreciate guidance on this. A user
> From: Simon Urbanek
>
> On Sep 17, 2010, at 1:22 PM, Liaw, Andy wrote:
>
> > From: Liaw, Andy
> >>
> >> From: Prof Brian Ripley
> >>>
> >>> On Fri, 27 Aug 2010, peter dalgaard wrote:
> >>>
> >>>&g
ode in 'primitives.R' ... OK
make[2]: vfork: Resource temporarily unavailable
make[1]: *** [test-all-devel] Error 1
make: *** [check-all] Error 2
There was no error when I ran make check-all a second time. Just FYI in case
this means anything to the heavy-weigh
sly did, and still does, drop the time component from all elements when
any element has no time):
```R.version$version.string
#> [1] "R version 4.2.3 (2023-03-15)"
as.POSIXct(c("1975-01-01", "1975-01-01 15:27:00"))
#> [1] "1975-01-01 PST" "1975-01-01 PST”
```
```R.version$version.string
#> [1] "R version 4.3.1 (2023-06-16)"
as.POSIXct(c("1975-01-01", "1975-01-01 15:27:00"))
#> [1] "1975-01-01 PST" "1975-01-01 PST”
```
I don’t know if this is a bug/regression in `as.character.POSIXt()`, or
intended behaviour. If it is intended, I think it would benefit from some more
comprehensive documentation.
Thanks very much,
Andy Teucher
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
nly source package on CRAN, and provide Windows binaries off CRAN (perhaps
with a note in the README on where to download them).
We'd very much appreciate any pointer.
Best,
Andy
Andy Liaw
Biometrics Research, Merck Research Laboratories
PO Box 2000 RY34-300 Rahway, NJ 07065
Notic
hors), and packages that conform to
the standard are marked as such in the ML task view?
Andy
> Those of you who have used my code will probably realize that I am not
> a grand architect of R packages =] I'd love to get feedback from those
> of you with a broader perspective and better
and the lp() term
being of class matrix instead of "lp", there's no difference between m1 and m2.
I'd really appreciate it if anyone shed some light on this.
Best,
Andy
Merck Research Labs
Notice: This e-mail message, together with any attachme...{{dropped:11}}
_
Never mind. Found the problem: The package has been missing a subset method
for the "lp" class since [...]. Adding "[.lp" solved the problem.
Cheers,
Andy
-Original Message-
From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On
Behal
Can someone in R Core please take a look at the attached patches to
RSiteSearch() and its help page? I guess Jon is planning some changes
on his site. Jon: could you elaborate on what the patch does?
Best,
Andy
Notice: This e-mail message, together with any attachments, contains
information
From: Liaw, Andy
>
> Can someone in R Core please take a look at the attached patches to
> RSiteSearch() and its help page? I guess Jon is planning some changes
> on his site.
Apparently the attachments were stripped off the first time. Here's a
second try.
I've a
From: Liaw, Andy
>
> From: Liaw, Andy
> >
> > Can someone in R Core please take a look at the attached patches to
> > RSiteSearch() and its help page? I guess Jon is planning
> some changes
> > on his site.
>
> Apparently the attachments were stripped
From: Duncan Murdoch
>
> On 5/7/2009 10:18 AM, Jonathan Baron wrote:
> > On 05/07/09 10:05, Liaw, Andy wrote:
> >> Can someone in R Core please take a look at the attached patches to
> >> RSiteSearch() and its help page? I guess Jon is planning
> some changes
&
From: Jonathan Baron
>
> On 05/07/09 13:48, Liaw, Andy wrote:
> > From: Duncan Murdoch
> > > I'll incorporate the changes if you like.
>
> Yes. Please do. I understand that it won't take effect for a while.
> When it does, I'll change my site
I agree! Recall, though, I had added the RSiteSearch() functionality
to the Rgui under Windows (Help / search.r-project.org...), so if
RSiteSearch() is taken out, this need to go, too.
Best,
Andy
From: Jonathan Baron
>
> There is something to be said for taking all of these fun
I don't know if this applies to Seija's case, but one instance that I've ran
into when problem arose only with -O3 is uninitialized variables/arrays.
Adding the initialization fixed the problem. Just one thing to check, I guess.
Best,
Andy
From: Prof Brian Ripley
>
> I
e
really need to have the sites being searched being basically permenant.
Perhaps a bit OT, but what would really be nice is if a search facility
can not only find functions that's related to some search phrase, but
also indicate whether the packages the functions belong to have already
been
I think many would object to automatic check at every start-up. For the
issue at hand, perhaps a check inside bug.report() would go a long way?
Just an idea...
Andy
From: Barry Rowlingson
>
> Since many posts to R-devel/help invoke this response:
>
> Prof Brian Ripley wrote:
>
them to
give you the same answer.
Andy
From: [EMAIL PROTECTED]
>
> Hi,
>
> > dd <- data.frame(A=c("b","c","a"), B=3:1) dd
> A B
> 1 b 3
> 2 c 2
> 3 a 1
> > unlist(dd)
> A1 A2 A3 B1 B2 B3
> 2 3 1 3 2 1
>
> So
7399 obs. of 295 variables:
[...]
If I have to guess, it's the "3-prime" or "5-prime" that occurs commonly
in biology...
I don't think Mr. 9000 Vax can blame R for this.
Best,
Andy
From: [EMAIL PROTECTED]
>
> On Mon, 2007-05-14 at 23:41 +0200, [EMAIL PROTECTED
I'm writing where I encourage R's use.
Thanks for any help.
-Andy
[[alternative HTML version deleted]]
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
I've seen that thread. Given the way R use has increased over the last
three and a half years I thought it not unlikely that somebody might
have taken a stab at this again.
-Original Message-
From: Charles C. Berry [mailto:[EMAIL PROTECTED]
Sent: Monday, August 27, 2007 3:44 PM
To:
ersion 2.6.0 beta (2007-09-18 r42895)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets
trim is non-zero, a symmetrically trimmed mean is computed with a
fraction of trim observations deleted from each end before the mean is
computed.
The description in "trim" to me sounds like Windsorizing, rather than
trimming. Should that be edited?
Best,
Andy
Andy Liaw, PhD
end a workaround for
this? I tried reading R-exts, but couldn't find any hint. I'd very
much appreciate any help!
Best,
Andy
Andy Liaw, PhD
Biometrics ResearchPO Box 2000 RY33-300
Merck Research LabsRahway, NJ 07065
andy_liaw(a)merck.com
ommended way of excluding "negative" terms? My
guess is that I can use info in the terms attribute to figure this out,
but that doesn't seem very straightforward. Any pointer would be much
appreciated.
Best,
Andy
Andy Liaw, PhD
Biometrics ResearchPO Box 2000 RY33-300
Merck Researc
l;Z:.;
I expect some cygwin or perl issue but I'm not sure how to proceed in tracking
this down. Cygwin is a fresh install as well. Any suggestions on what to do
next greatly appreciated.
-A
~~~
Andy Bunn
Environmental Sciences, Huxley College
Western Washington
> -Original Message-
> From: Uwe Ligges [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 09, 2008 2:03 AM
> To: Andy Bunn
> Cc: r-devel@r-project.org
> Subject: Re: [Rd] R CMD check not running examples under Windows
>
> My suggestion is to submit the package to
use of a loss matrix). As I see it, it's the
responsibility of the data analyst to take care of such things. The
current error message may not make it obvious what the problem is, but
if I were the developer, I would not write the code to accept such
disparate input without issuing error.
The last time I tried I didn't have much luck. The gprof manual I could
find seems to indicate that it can not profile code that are dynamically
loaded. (I was trying on Linux.) The R source seems to hint otherwise.
I'd very much appreciate pointers as well.
Andy
From: Ross Boylan
similar to what Prof. Bates is seeing, that
the one that uses threaded BLAS took longer the than non-threaded one (on
dual Xeon boxes). I never dug into it more, though.
Andy
From: Paul Gilbert
>
> Doug
>
> This is probably not your reason, but I am finding my dual
> core At
hen I am puzzled by
> R questions ...
My guess is that people were hoping to find things outside of what Jon made
available or what's on or linked from www.r-project.org. I believe that's
not going to be very productive (at least for now). I don't think there's a
ib64" \
--without-tcltk \
--with-blas="-L/usr/pgi/linux86-64/6.1/libso -lacml"
[The pgf95 (or pgf90) is needed for linking against ACML to work. This
should be unrelated as optim is in C.]
I'd very much appreciate any pointers.
Best,
Andy
Andy Liaw, PhD
Biometrics Rese
Thanks to Brian, I can now get PGI 6.1 to build R-devel
(2006-03-13 r37533) and pass make check-all, using the
config flags I showed in my original post. I will try
to re-build with optimizing flags, and report back if I
run into problems there.
Best,
Andy
From: Jennifer Lai
>
> Je
That looks like the symptom of not following the documentation when trying
to build packages on Windows. (You have not stated the platform.) In that
case please check and see if you have the tools in Rtools.zip installed and
on the PATH.
Andy
From: Steve Su
>
> Dear All,
>
>
t how exactly to do it. From what I remember, the doc simply says
it can be done, but does not explicitly say how.
Andy
From: Roger D. Peng
>
> Prof Brian Ripley wrote:
> > I have changed the default in save() to compress = !ascii.
> This seems
> > quite safe, as almost always s
possible to make it
> dynamic, ie to mimic the PS1 variable in bash. R would use a
> prompt that
> would tell (for example) the current time, and the number of
> the command
> to come
> [445-10:58:54] R>
See http://finzi.psych.upenn.edu/R/Rhelp02a/archive/0335.html
re. The banner I put in contains the version number of the
package and a reminder to see what's been changed/fixed. I have
not seen a compelling reason why suppressing such information is
necessary (as opposed to "desirable"). I believe reporting
version number upon sta
the message or not, but I have always assumed that
> those who did
> > want a banner probably did not want it suppressed.
>
> If the .onAttach() used message() instead of cat()
> to display the banner message then you could use
> suppressMessages(require("randomFo
n't think it has any
licensing problem. If I write some R code that generates SAS code
(God forbid), I doubt that constitute violation of SAS license.
Just my $0.02...
Andy
From: Philippe Grosjean
>
> Hello all,
>
> Sorry for this email not directly related to R develo
> > svn rev37909
> > language R
> > version.string Version 2.3.0 (2006-04-24)
> >
> >
> > Package: urca
> > Version: 0.9-2
> ^^^
> > Date: 2006-02-2
hecks on them successfully. I believe many of such cases stem
from the fact that the code were originally from the output of g2c.
I can try to post a more concrete example if needed. I think resolving this
will facilitate wider use of these packages.
Thanks for your consideration.
Best,
Andy
01
svn rev38247
language R
version.string Version 2.3.1 (2006-06-01)
Andy
From: [EMAIL PROTECTED]
>
> I'm trying to step through some code using browser(),
> executing one line at a
not sure how one specifies
> 64-bits in the [R] compilation - what flags to I need to set
> during ./configure, or what config file do I need to edit?
That's up to the compiler(s) you use (unstated). For GCC, I believe
-m64/-m32 is the flag. For 64-bit GCC -m64 is the default.
Andy
inal code in an interactive session produced no error or warning.
I'm quite at my wit's end. Would very much appreciate any help!
Best,
Andy
Andy Liaw, PhD
Biometrics ResearchPO Box 2000 RY33-300
Merck Research LabsRahway
ht be the issue. Below,
there's information on my platform, compiler, and some diagnostic output
showing the errors.
Advice appreciated!
Thanks,
Andy
Intel compiler suite: icc (ICC) 14.0.2 20140120
sessionInfo() reports:
R version 3.1.3 (2015-03-09)
Platform: x86_64-unknown-linux-g
about the syntax and variable names that the Makevars file can
contain...is that documented somewhere?)
I wonder if the recommendation for "-lR" is correct. None of the other
packages are compiled with that flag, and everything seems to compile and load
OK in R without using that.
Best
81 matches
Mail list logo