[Rd] Possible bug in RTERM (PR#14043)

2009-11-04 Thread andy
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

Re: [Rd] by should use match.fun

2005-06-12 Thread Liaw, Andy
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

Re: [Rd] boxplot by factor (Package base version 2.1.1) ( PR#7976)

2005-06-28 Thread Liaw, Andy
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.

Re: [Rd] Brewer colours

2005-07-07 Thread Liaw, Andy
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

Re: [Rd] Build R with AMD pgi compiled ACML library

2005-09-07 Thread Liaw, Andy
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

Re: [Rd] Lists and data frames (PR#8143)

2005-09-19 Thread Liaw, Andy
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

[Rd] undocumented objects in a package

2005-09-23 Thread Liaw, Andy
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,

Re: [Rd] vector labels are not permuted properly in a call to sort() (R 2.1)

2005-10-04 Thread Liaw, Andy
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

Re: [Rd] Ad: Re: R crashes for large formulas in lm() (PR#8180)

2005-10-05 Thread Liaw, Andy
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

[Rd] how do I write Rd file for this?

2005-10-05 Thread Liaw, Andy
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

Re: [Rd] bug found in predict.locfit in locfit package ( PR#8057)

2005-10-05 Thread Liaw, Andy
.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

Re: [Rd] cor doesn't accept na.rm? (PR#8193)

2005-10-09 Thread Liaw, Andy
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

Re: [Rd] [R-gui] R GUI considerations

2005-10-20 Thread Liaw, Andy
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

Re: [Rd] calling fortran from C

2005-10-20 Thread Liaw, Andy
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

Re: [Rd] Microsoft help files

2005-10-26 Thread Liaw, Andy
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

Re: [Rd] [R] unvectorized option for outer()

2005-10-31 Thread Liaw, Andy
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

Re: [Rd] S4 classes in existing packages

2005-11-01 Thread Liaw, Andy
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

Re: [Rd] Classification Trees and basic Random Forest pkg using t ree structures in C

2005-11-04 Thread Liaw, Andy
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 >

Re: [Rd] make check fails for R 2.3.0 (PR#8343)

2005-11-22 Thread Liaw, 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

Re: [Rd] x[1,], x[1,,], x[1,,,], ...

2005-11-23 Thread Liaw, Andy
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: > > #

Re: [Rd] [R] data.frame() size

2005-12-09 Thread Liaw, Andy
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. > >

Re: [Rd] random seed question

2006-01-05 Thread Liaw, Andy
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

Re: [Rd] prod(numeric(0)) surprise

2006-01-09 Thread Liaw, Andy
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

Re: [Rd] hello World problem

2006-01-12 Thread Liaw, Andy
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

Re: [Rd] Minumum memory requirements to run R.

2006-01-20 Thread Liaw, Andy
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

Re: [Rd] e1071: using svm with sparse matrices (PR#8527)

2006-01-27 Thread Liaw, 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

Re: [Rd] Mosaicplot coloring (PR#8537)

2006-01-30 Thread Liaw, Andy
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

Re: [Rd] R on the brain

2006-01-30 Thread Liaw, Andy
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

Re: [Rd] Retrieving an unevaluated argument

2006-02-01 Thread Liaw, Andy
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

Re: [Rd] crossvalidation in svm regression in e1071 gives incorre ct results (PR#8554)

2006-02-02 Thread Liaw, Andy
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

Re: [Rd] Rprintf loop status does not print under windows

2006-02-04 Thread Liaw, Andy
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 &

[Rd] R package builder silently continues after unclosed brace

2020-01-25 Thread Andy Manka
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:

[Rd] Is it safe not to coerce matrices with as.double() in .C()?

2010-08-27 Thread Liaw, Andy
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

Re: [Rd] Is it safe not to coerce matrices with as.double() in .C()?

2010-08-27 Thread 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 > reported that the > >> as.double() coercion used i

Re: [Rd] a small suggestion for improving the building of packages

2010-09-15 Thread Liaw, Andy
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

Re: [Rd] Is it safe not to coerce matrices with as.double() in .C()?

2010-09-17 Thread Liaw, Andy
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

Re: [Rd] Is it safe not to coerce matrices with as.double() in .C()?

2010-09-17 Thread Liaw, Andy
> 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

[Rd] make check-all error on Win 7 with 2-12-.0: vfork: Resource temporarily unavailable

2010-10-28 Thread Andy Bunn
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

[Rd] R 4.3: Change in behaviour of as.character.POSIXt for datetime values with midnight time

2023-08-11 Thread Andy Teucher
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

[Rd] making cuda-based R package CRAN friendly

2014-07-29 Thread Liaw, Andy
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

Re: [Rd] informal conventions/checklist for new predictive modeling packages

2012-01-05 Thread Liaw, Andy
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

[Rd] Strange behavior of model.frame() when given subset

2012-04-25 Thread Liaw, Andy
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}} _

Re: [Rd] Strange behavior of model.frame() when given subset

2012-04-25 Thread Liaw, Andy
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

[Rd] proposed changes to RSiteSearch

2009-05-07 Thread 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. Jon: could you elaborate on what the patch does? Best, Andy Notice: This e-mail message, together with any attachments, contains information

Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread 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 off the first time. Here's a second try. I've a

Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread Liaw, Andy
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

Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread Liaw, Andy
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 &

Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread Liaw, Andy
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

Re: [Rd] proposed changes to RSiteSearch

2009-05-07 Thread Liaw, Andy
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

Re: [Rd] using a "third party" DLL in my package

2009-05-27 Thread Liaw, Andy
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

Re: [Rd] proposed changes to RSiteSearch

2009-06-05 Thread Liaw, Andy
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

Re: [Rd] obsolescence

2007-01-25 Thread Liaw, Andy
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: >

Re: [Rd] Unexpected result of as.character() and unlist() applied to a data frame

2007-03-27 Thread Liaw, Andy
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

Re: [Rd] read.table() can't read in this table (But Splus can)

2007-05-15 Thread Liaw, Andy
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

[Rd] [OT] How many useRs?

2007-08-27 Thread Andy Bunn
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

Re: [Rd] [OT] How many useRs?

2007-08-27 Thread Andy Bunn
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:

[Rd] aperm doesn't copy attributes

2007-09-20 Thread Liaw, Andy
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

[Rd] meaning of "trim" in mean()

2007-10-25 Thread Liaw, Andy
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

[Rd] dot in function name taken as S3 method by package check

2007-11-05 Thread Liaw, Andy
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

[Rd] how to exclude terms preceded by - from model frame

2008-03-19 Thread Liaw, Andy
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

[Rd] R CMD check not running examples under Windows

2008-12-09 Thread Andy Bunn
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

Re: [Rd] R CMD check not running examples under Windows

2008-12-09 Thread Andy Bunn
> -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

Re: [Rd] unexpected behavior of rpart 3.1-43, loss matrix

2009-05-05 Thread Liaw, Andy
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.

Re: [Rd] profiling C code

2006-02-20 Thread Liaw, Andy
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

Re: [Rd] Peculiar timing result

2006-03-03 Thread Liaw, Andy
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

Re: [Rd] Wishlist - Give R a name that shows up in search engines ...

2006-03-07 Thread Liaw, Andy
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

[Rd] problem building R-patched on x86-64 with PGI 6.1

2006-03-10 Thread Liaw, Andy
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

Re: [Rd] problem building R-patched on x86-64 with PGI 6.1

2006-03-13 Thread Liaw, Andy
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

Re: [Rd] "sh" is not recognised as an internal or external comman d, operable program or batch file

2006-03-26 Thread Liaw, Andy
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, > >

Re: [Rd] compress defaults for save() and save.image()

2006-03-30 Thread Liaw, Andy
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

Re: [Rd] bash-like history mechanism and prompt settings

2006-04-13 Thread Liaw, Andy
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: [Rd] Wishlist: 'quietly' argument for .onAttach() / .First.li b()

2006-04-13 Thread Liaw, Andy
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

Re: [Rd] Wishlist: 'quietly' argument for .onAttach() / .First.li b()

2006-04-13 Thread Liaw, Andy
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

Re: [Rd] commercial software selling a R module - question about GPL license rights

2006-04-19 Thread Liaw, Andy
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

Re: [Rd] R 2.3.0: Use of NULL as an environment is deprecated

2006-04-25 Thread Liaw, Andy
> > svn rev37909 > > language R > > version.string Version 2.3.0 (2006-04-24) > > > > > > Package: urca > > Version: 0.9-2 > ^^^ > > Date: 2006-02-2

[Rd] a plead to package developers regarding GCC

2006-06-06 Thread Liaw, Andy
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

Re: [Rd] comment causes browser() to exit (PR#9063)

2006-07-07 Thread Liaw, 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

Re: [Rd] compiling R | multi-Opteron | BLAS source

2006-07-24 Thread Liaw, Andy
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

[Rd] strange error from R CMD check about xaxp

2006-11-29 Thread Liaw, 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

[Rd] shlib problems with Intel compiler

2015-04-21 Thread Andy Jacobson (NOAA Affiliate)
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

Re: [Rd] shlib problems with Intel compiler

2015-04-22 Thread Andy Jacobson (NOAA Affiliate)
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