Re: [Rd] parallel PSOCK connection latency is greater on Linux?

2021-11-02 Thread Jeff
. So at least on Linux, there is something else contributing the remaining 39,986us. The conclusion from earlier in this thread was that the culprit was TCP behavior unique to the Linux network stack. Jeff On Mon, Nov 1 2021 at 05:55:45 PM -0700, Gabriel Becker wrote: > Jeff, > > Pe

Re: [Rd] parallel PSOCK connection latency is greater on Linux?

2021-11-01 Thread Jeff Keller
socketOptions is intended to be used? -Jeff library(parallel) library(microbenchmark) options(socketOptions = "no-delay") cl <- makeCluster(1) (x <- microbenchmark(clusterEvalQ(cl, iris), times = 100, unit = "us")) # Unit: microseconds # expr min lq

Re: [Rd] parallel PSOCK connection latency is greater on Linux?

2020-11-09 Thread Jeff
I do enjoy free lunch solutions if they exist. That said, I think the abstraction proposed by Simon is reasonable. Whether it should be applied to TCP_NODELAY or TCP_QUICKACK is unfortunately beyond my Linux/networking knowledge. Jeff Keller On Wed, Nov 4, 2020 at 11:41, I�aki Ucar wrote

Re: [Rd] parallel PSOCK connection latency is greater on Linux?

2020-11-02 Thread Jeff
Could TCP_NODELAY and TCP_QUICKACK be exposed to the R user so that they might determine what is best for their potentially latency- or throughput-sensitive application? Best, Jeff On Mon, Nov 2, 2020 at 14:05, Iñaki Ucar wrote: On Mon, 2 Nov 2020 at 02:22, Simon Urbanek wrote: It

[Rd] parallel PSOCK connection latency is greater on Linux?

2020-11-01 Thread Jeff
I'm exploring latency overhead of parallel PSOCK workers and noticed that serializing/unserializing data back to the main R session is significantly slower on Linux than it is on Windows/MacOS with similar hardware. Is there a reason for this difference and is there a way to avoid the apparent

Re: [Rd] Evaluate values in `Sys.setenv`

2020-08-29 Thread Jeff King
gfortran/bin:/usr/local/clang8/bin:/Library/TeX/texbin:/opt/X11/bin" > > which you can then pass to Sys.setenv(). > > -pd > > > On 28 Aug 2020, at 11:00 , Jeff King wrote: > > > > Hi all, > > > > I would like to know if there is any way to evaluate the

[Rd] Evaluate values in `Sys.setenv`

2020-08-28 Thread Jeff King
Hi all, I would like to know if there is any way to evaluate the values in `Sys.setenv` before setting the environment variables. For example, if we want to add a path to the environment variable `PATH`, we can do this in a terminal ``` > export PATH=~/mypath:$PATH > echo $PATH /User

[Rd] A warning in gzcon but not in gzfile

2020-06-29 Thread Jeff King
Hi all, I used `gzfile` and `gzcon` to read a compressed file but I found that `gzcon` gave me a different result than `gzfile`. It seems like the `gzcon` does not handle the data correctly. I have posted an example below. In the example, a portion of a compressed file is downloaded from Google Cl

Re: [Rd] should base R have a piping operator ?

2019-10-05 Thread Jeff Ryan
users and code that is used throughout the world. Jeff On Sat, Oct 5, 2019 at 09:34 Ant F wrote: > Dear R-devel, > > The most popular piping operator sits in the package `magrittr` and is used > by a huge amount of users, and imported /reexported by more and more > package

[Rd] Author email addresses

2017-04-10 Thread Jeff Laake - NOAA Federal
CRAN repository policy and did a search but couldn't find any guidance on this. regards --jeff [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] as.vector in R-devel loaded 3/3/2016

2016-03-04 Thread Jeff Laake - NOAA Federal
EASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > other attached packages: > [1] Matrix_1.2-4 > > loaded via a namespace (and not attached): > [1] grid_3.3.0 lattice_0.20-33 > > > __

Re: [Rd] as.vector in R-devel loaded 3/3/2016

2016-03-03 Thread Jeff Laake - NOAA Federal
ed from package "base" function (x, mode = "any") standardGeneric("as.vector") Methods may be defined for arguments: x, mode Use showMethods("as.vector") for currently available ones. Until this is fixed I'll copy over the devel version of Matrix. --jeff

[Rd] as.vector in R-devel loaded 3/3/2016

2016-03-03 Thread Jeff Laake - NOAA Federal
I just installed R-devel to check my package before submitting. I got an error in my vignette in regards to as.vector. When I looked at the code for as.vector in R-devel it is standardGeneric for "as.vector" defined from package "base" function (x, mode) standardGeneric("as.vector") Methods ma

Re: [Rd] Typeof for character vector in dataframe returns integer

2014-04-02 Thread Jeff Johnson
Perhaps because indexes start at 0? Sent from my iPhone > On Apr 1, 2014, at 5:46 PM, Sandip Nandi wrote: > > Hi , > > I want to know is this behavior expected and why is that ? Need some help > > gender <- c("F", "M", "M", "F", "F", "M", "F", "F") >> age<- c(23, 25, 27, 29, 31, 33, 35, 3

Re: [Rd] Passing R code from webpage

2013-02-17 Thread Jeff Ryan
Another really great tool, leveraging Simon's incredible work with Rserve, is to use pyRserve. Combined with Flask as a web framework you can do quite a bit with very minimal code. http://flask.pocoo.org/ http://pypi.python.org/pypi/pyRserve/ HTH Jeff On Sun, Feb 17, 2013 at 12:10 PM,

[Rd] formal vs. passed args: parent.frame() behavior.

2013-01-02 Thread Jeff Ryan
e call itself if you aren't at the top level. What am I missing? Jeff # output # > tmp <- tempfile() > A <- 101 > save(A,file=tmp);rm(A) > > # these work as expected, loading into the parent of the call load() > load(tmp);str(A);rm(A) num 101 > load(t

Re: [Rd] Behavior or as.environment in function arguments/call (and force() behaviors...)

2013-01-01 Thread Jeff Ryan
ation, and I'm glad I wasn't just missing/misreading the primary docs. Best, Jeff On Tue, Jan 1, 2013 at 4:21 PM, Duncan Murdoch wrote: > On 13-01-01 4:35 PM, Jeff Ryan wrote: > >> Happy 2013! >> >> Can someone with more knowledge of edge case scoping/e

[Rd] Behavior or as.environment in function arguments/call (and force() behaviors...)

2013-01-01 Thread Jeff Ryan
Happy 2013! Can someone with more knowledge of edge case scoping/eval rules explain what is happening below? Happens in all the versions of R I have on hand. Behavior itself is confusing, but ?as.environment also provides no clue. The term used in that doc is 'search list', which is ambiguous,

[Rd] RInside, rcpp compilation problem

2012-12-04 Thread Jeff Goode
I have spent some hours browsing the RInside and rcpp documentation, lots of it; but ... as a programmer of C++ since 1990, on both Windows and Unix ... ( Solaris and Ubuntu, and Mandrake/Mandrivo Linux); I see a minor problem .. Where is the rcpp.h header file?? The below code fails t

Re: [Rd] methods cbind2 bind_activation disrupts cbind everywhere

2012-09-14 Thread Jeff Ryan
that conversation with either of you ;-) Jeff On Fri, Sep 14, 2012 at 3:00 AM, Martin Maechler wrote: >>>>>> Martin Morgan >>>>>> on Wed, 12 Sep 2012 15:23:02 -0700 writes: > > > The methods package ?cbind2 includes the instruction to >

Re: [Rd] R crashes when printing a named numeric vector of a specific class - Bug?

2012-09-11 Thread Jeff Ryan
print(x) in print.bar is calling print.bar again. You need to do something like print(unclass(x)) HTH Jeff On Tue, Sep 11, 2012 at 9:53 AM, Basil Abou El-Komboz wrote: > Dear useR's, > > today I stumbled over an interesting phenomenon: First, I created a > named numeric vect

Re: [Rd] Arrays Partial unserialization

2012-08-31 Thread Jeff Ryan
t useR 2010 and R/Finance 2012) may also be of use - though that is more 'database' rather than a more simplistic sequential stepping through data on disk. HTH Jeff On Fri, Aug 31, 2012 at 9:41 AM, Duncan Murdoch wrote: > On 31/08/2012 9:47 AM, Damien Georges wrote: >> >>

Re: [Rd] include dll in R-package

2012-08-24 Thread Jeff Ryan
e, of course there are many other examples as well. And distributing _off_ CRAN is of course a reasonable alternative. HTH Jeff On Fri, Aug 24, 2012 at 9:21 AM, Kasper Daniel Hansen wrote: > On Fri, Aug 24, 2012 at 10:16 AM, Dirk Eddelbuettel wrote: > >> >> On 24 August 2012

Re: [Rd] chown, chgrp?

2012-08-15 Thread Jeff Ryan
library(pwned)? On Wed, Aug 15, 2012 at 10:56 AM, Barry Rowlingson wrote: > On Wed, Aug 15, 2012 at 2:47 PM, Simon Urbanek > wrote: > >> >> ... and moreover with the increasing adoption of ACL on unix and >> non-existence of uid/gid on Windows this is more an archaic curiosity so I >> don't th

[Rd] Vignettes are not being (re)built.

2012-06-22 Thread Jeff Hamann
ot;x86_64-pc-mingw32" $arch [1] "x86_64" $os [1] "mingw32" $system [1] "x86_64, mingw32" $status [1] "" $major [1] "2" $minor [1] "15.0" $year [1] "2012" $month [1] "03" $day [1] "30" $`svn rev`

Re: [Rd] fast version of split.data.frame or conversion from data.frame to list of its rows

2012-05-03 Thread Jeff Ryan
e are even some crude methods to convert as is data.frames to mmap struct object directly (hint: as.mmap) Again, likely not enough to shoehorn into your effort, but worth a look to see if it might be useful, and/or see the C design underlying it. Best, Jeff Jeffrey Ryan|Founder|

[Rd] R CMD check pkg and 32/64 bit.

2012-01-11 Thread Jeff Hamann
5.20006 78.06928 5.00086 0.74 0.74 --- > PM5.45229 35.20515 12.16032 75.00 75.00 > PP 11.80005 45.00217 29.04102 38.24 38.24 > WF 35.20006 78.07701 5.00086 0.74 0.74 4463c4464 < max sdi = 392.417 --- > max sdi = 392.047 4465,4471c4466,4472 < CEIN 0.0 8.77

[Rd] package DESCRIPTION file and CRAN Task View entries?

2012-01-11 Thread Jeff Hamann
mation on new packages, is there any talk of adding this "feature?" Respectfully, Jeff. Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 541-754-2457 jeff.hamann[at]forestinformatics[dot]com jeff.d.hamann[at]gmail[dot]com http://www.forestinformatics.com http://en.wikipedia.or

Re: [Rd] R CMD check WARNING \usage question

2012-01-06 Thread Jeff Hamann
tations Version 4.10. See \url{http://www.fs.fed.us/psw/programs/ecology_of_western_forests/projects/conifers/} } \author{Jeff D. Hamann \email{jeff.ham...@forestinformatics.com},\cr Martin W. Ritchie \email{mritc...@fs.fed.us} } \seealso{\code{\link{plants.smc}}, \code{\link{

[Rd] R CMD check WARNING \usage question

2012-01-06 Thread Jeff Hamann
es' in manual 'Writing R Extensions'. * checking Rd contents ... OK I'm not sure if there's a problem with the \alias section or the \usage section or both sections (I'm assuming this is the case). I've read the Chapter 2 of R-ext.pdf plenty and just can'

[Rd] tzone DB lawsuit Implications for R-project?

2011-10-07 Thread Jeff Ryan
? Best,Jeff __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [SPAM?] [R] read.csv behaviour

2011-09-28 Thread Jeff Newmiller
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: Basics

Re: [Rd] Performance of .C and .Call functions vs. native R code

2011-07-14 Thread Jeff Ryan
The .Call overhead isn't the issue. If you'd like some insight into what you are doing wrong (and right), you need to provide code for the list to reproduce your timings with. This is outlined in the posting guide as well. Best, Jeff On Jul 13, 2011, at 8:28 AM, asmahani wrote

Re: [Rd] C-Side: Applying a function (given as param) to data (given as param)

2011-06-04 Thread Jeff Ryan
accordingly. It is all in the guide as well as in working example code in R sources as well as many hundreds of package sources. You have access to it all, so spend the time just reading the sources is my recommendation. Best, Jeff Jeffrey Ryan|Founder|jeffrey.r...@lemnica.com

Re: [Rd] matching symbols to objects

2011-02-04 Thread Jeff Ryan
Patrick, Take a look at all.vars to start with That will return the vars as characters, from there you can use get to test/proceed. > all.vars(parse.tree) [1] "x" Best, Jeff On Fri, Feb 4, 2011 at 1:37 PM, Patrick Leyshock wrote: > Hello, > > I'm trying to acces

Re: [Rd] terribly annoying bug with POSIXlt : one o'clock is midnight?

2011-02-04 Thread Jeff Ryan
Much of TZ-hell (I almost dare say all) has been sorted through in xts. http://cran.r-project.org/web/packages/xts/index.html Peruse the sources for inspiration or just take some comfort in that you are not the only one ;-) Jeff On Fri, Feb 4, 2011 at 9:24 AM, Joris Meys wrote: > Been

Re: [Rd] Strange behaviour of read and writeBin

2011-02-04 Thread Jeff Ryan
ffset. Jeff On Fri, Feb 4, 2011 at 4:35 AM, Christian Ruckert wrote: > To me it seems like writeBin() writes one char/byte more than expected. > >> con <- file("testbin", "wb") >> writeBin("ttccggaa", con) >> close(con) > >> con <

Re: [Rd] Stats not loaded? Method for as.ts() results in error

2010-09-03 Thread Jeff Ryan
Janko, You don't mention if you are using S3 or S4. A small example would make it easier to identify where your problem is. Jeff On Fri, Sep 3, 2010 at 4:44 AM, Janko Thyson wrote: > Dear list, > > > > I've got the following problem: > > > > In a packag

Re: [Rd] How do you make a formal "feature" request?

2010-08-21 Thread Jeff Ryan
The *user* decides. That would be YOU. Unlike SAS no one has a responsibility to YOU to implement some random request. Packages are how things are implemented. And to continue a previous thread ... maybe you should RTFM. Jeff On Sat, Aug 21, 2010 at 10:41 AM, Donald Winston wrote: >

Re: [Rd] segfault on 2.11.0 with large POSIXct vector using as.character

2010-05-26 Thread Jeff Ryan
to test against the released version. Thanks for the fix! Jeff > Duncan Murdoch > > >> >>> invisible(as.character(Sys.time()+1:7e4)) >>> invisible(as.character(Sys.time()+1:8e4)) >>> invisible(as.character(Sys.time()+1:9e4)) >>> >>> &g

[Rd] segfault on 2.11.0 with large POSIXct vector using as.character

2010-05-26 Thread Jeff Ryan
ime()+1:9e4)) Error: segfault from C stack overflow > invisible(as.character(Sys.time()+1:5e5)) Error: segfault from C stack overflow Thanks, Jeff > sessionInfo() R version 2.11.0 (2010-04-22) x86_64-apple-darwin10.2.0 locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached

Re: [Rd] Restrict access to variables in parent environment

2010-05-14 Thread Jeff Ryan
This isn't like a local variable though, since any function above the baseenv() in the search path will also not be found. > f function(a) { rnorm(b) } > f() Error in f() : could not find function "rnorm" Jeff On Fri, May 14, 2010 at 9:20 AM, Hadley Wickham wrote: >

Re: [Rd] ranges and contiguity checking

2010-05-12 Thread Jeff Ryan
ike object. The ISO way will get you fast binary searching over the time-index, whereas using POSIX time is a linear search. HTH Jeff On Wed, May 12, 2010 at 3:27 PM, James Bullard wrote: > >> -Original Message- > >> From: r-devel-boun...@r-project.org > >>

[Rd] gc() reports bytes (MB) but uses notation for bits (Mb)

2010-05-12 Thread Jeff Ryan
considered confusing, or at least not overly obvious to many, but the notational confusion surely can't help. Additional link: http://physics.nist.gov/cuu/Units/binary.html Thanks, Jeff -- Jeffrey Ryan jeffrey.r...@insightalgo.com ia: insight algorithmics www.insightalgo.com [

[Rd] Use of R in C#

2010-05-10 Thread Jeff Abrams
rorCode=-2147221485 Any ideas? Jeff Abrams Research Engineer Auction Analytics, Microsoft [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Getting started with .C

2010-04-13 Thread Jeff Brown
That is tremendously helpful.  Thanks Charlie! --- On Mon, 4/12/10, Sharpie [via R] wrote: From: Sharpie [via R] Subject: Re: Getting started with .C To: "Jeff Brown" Date: Monday, April 12, 2010, 10:11 PM Jeff Brown wrote: Hi, I'm trying to learn to use .C, which

Re: [Rd] optional package dependency

2010-01-14 Thread Jeff Ryan
&root=quantmod&view=markup It would be nice to have Suggests really mean suggests to check, but I am sure there is a good reason it doesn't. HTH Jeff On Fri, Jan 15, 2010 at 12:00 AM, Ross Boylan wrote: > I have a package that can use rmpi, but works fine without it.  None of >

[Rd] interfacing R with RFC2445

2010-01-12 Thread Jeff Hamann
be coming from an SQL table/view result. Is there any interest in helping with funding such a small project? Thanks, Jeff. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Rcpp: Clarifying the meaning of GPL?

2009-12-23 Thread Jeff Ryan
of the community to break existing code, just because one would like to have complete control over the end product. Plus, everyone benefits from competition. And we have a good one here. My 2c ;-) Jeff On Wed, Dec 23, 2009 at 3:21 PM, Henrik Bengtsson wrote: > I guess one problem is

Re: [Rd] Rcpp: Clarifying the meaning of GPL?

2009-12-22 Thread Jeff Ryan
This is fantastically off-topic, and has nothing to do with *R*. Out of "courtesy" to this list, the subscribers, and future readers, please take this off-list where it belongs. Jeff On Tue, Dec 22, 2009 at 11:27 PM, Dominick Samperi wrote: > Stavros Macrakis wrote: >>

Re: [Rd] CRAN Server download statistics (Was: R Usage Statistics)

2009-11-23 Thread Jeff Ryan
://www.r-project.org/awstats/awstats.cran.r-project.org.html http://cran.r-project.org/report_cran.html Best, Jeff On Sun, Nov 22, 2009 at 6:18 PM, Fellows, Ian wrote: > Hi All, > > It seems that the question of how may people use (or download) R, and it's > packages is one that com

[Rd] Active bindings in attached environments

2009-11-05 Thread Jeff Horner
int 'foo' ? This works as I would expect: > with(e,x) [1] "foo" but this doesn't: > f <- function() x > f() function() 'foo' However, changing the environment of f does: > environment(f) <- e > f() [1] "foo" Jeff __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] compiling packages without Framework and CoreFoundation options on OSX

2009-10-07 Thread Jeff Hamann
Does this cause a problem? Will this cause a problem? I'm guessing the CoreFoundations are an artifact of the XCode compiler. What's with the -Wl,-framework stuff? Can I make it stop? Will I be okay? Thanks, Jeff. Jeff Hamann, PhD PO Box 1421 Corvall

Re: [Rd] unable to load shared library (Symbol not found: _PQbackendPID)

2009-10-02 Thread Jeff Hamann
telligent software agent for forests, forestry and forestry related data that ingests data, generates forecasts, and optimal strategic, tactical, and operational plans for timberland managers. Thanks, Jeff. On Sep 30, 2009, at 5:02 AM, Neil Tiffin wrote: > > On Sep 29, 2009, at

Re: [Rd] creating environments in package's C code

2009-10-01 Thread Jeff Horner
Simon Urbanek wrote: Jeff, On Oct 1, 2009, at 12:37 , Jeff Horner wrote: Jeff Horner wrote: Martin Becker wrote: Dear developers, is it possible to create environments in C code of packages? Simply using SEXP env; PROTECT (env = allocSExp(ENVSXP)); and assigning the enclosing environment

Re: [Rd] creating environments in package's C code

2009-10-01 Thread Jeff Horner
Jeff Horner wrote: Martin Becker wrote: Dear developers, is it possible to create environments in C code of packages? Simply using SEXP env; PROTECT (env = allocSExp(ENVSXP)); and assigning the enclosing environment with SET_ENCLOS seems to be insufficient. Best wishes, Here

Re: [Rd] creating environments in package's C code

2009-10-01 Thread Jeff Horner
nd an example that creates a new environment and then assigns a variable named OK an integer vector length 1 with value 0: SEXP env = NewEnv(R_GlobalEnv); defineVar(install("OK"),NewInteger(0),env); Best Jeff __ R-devel@r-project.org mai

[Rd] unable to load shared library (Symbol not found: _PQbackendPID)

2009-09-29 Thread Jeff Hamann
y/RPostgreSQL/libs/i386/ RPostgreSQL.so Error: package/namespace load failed for 'RPostgreSQL' I've used this on OSX before and have had to recently rebuild... does anyone know if an older archive works? Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 541-754-2457 je

Re: [Rd] Problems connecting to httpd help server with some browsers

2009-09-29 Thread Jeff Horner
r = paste('Location: ', file, '\n', sep=''), + header = paste('Location: ', file, sep=''), "status code" = 302L)) # temporary redirect } else if (length(file) > 1L) { path

[Rd] Snow leopard ./configure "cannot compile a simple Fortran program"

2009-09-22 Thread Jeff Hamann
... configure: error: cannot compile a simple Fortran program See `config.log' for more details. Jeff-Hamanns-MacBook-Pro:R-2.9.1 hamannj Since this seems to be a 'fortran thing' methinks I should send this to Apple as well? Jeff-Hamanns-MacBook-Pro:R-2.9.1 hamannj$ uname -a Darwin Jeff-

Re: [Rd] Why is strptime always returning a vector of length 9 ?

2009-08-09 Thread Jeff Ryan
The reason is in the ?strptime under value: 'strptime' turns character representations into an object of class '"POSIXlt"'. The timezone is used to set the 'isdst' component and to set the '"tzone"' attribute if 'tz != &

Re: [Rd] Bug in nlm, found using sem; failure in several flavors (PR#13882)

2009-08-07 Thread jeff . a . ryan
.csv file didn't come through), I would think it wise to start there. My 2c. And I love bacon too :) Jeff On Fri, Aug 7, 2009 at 1:10 PM, wrote: > =A0This message is in MIME format. =A0The first part should be readable t= ext, > =A0while the remaining parts are likely unreadable witho

Re: [Rd] Bug in nlm, found using sem; failure in several flavors (PR#13881)

2009-08-07 Thread Jeff Ryan
.csv file didn't come through), I would think it wise to start there. My 2c. And I love bacon too :) Jeff On Fri, Aug 7, 2009 at 1:10 PM, wrote: >  This message is in MIME format.  The first part should be readable text, >  while the remaining parts are likely unreadable wit

Re: [Rd] inheriting C symbols

2009-08-05 Thread Jeff Ryan
.) I think your only strategy is to list it as a dependency. Is there some reason you don't want to do that? Once it is a dependency you can simply call the C routines like they are called within the package's R code. Jeff On Wed, Aug 5, 2009 at 2:24 PM, Terry Therneau wrote: > Than

Re: [Rd] inheriting C symbols

2009-08-05 Thread Jeff Ryan
;root=xts&view=markup HTH Jeff On Wed, Aug 5, 2009 at 11:29 AM, Terry Therneau wrote: > The package coxme depends heavily on bdsmatrix, to the point of needing > access to some of its C calls.  The kinship package (in progress) uses > the R level functions in bdsmatrix, but not the C

Re: [Rd] How to create a permanent dataset in R.

2009-07-24 Thread Jeff Ryan
The biggest help would come by not pretending to be Albert Einstein. hTh, Jeff On Fri, Jul 24, 2009 at 1:11 AM, Albert EINstEIN wrote: > > > Hi everybody, > > Actually, we know that If we create a dataset in R ,after closing the > session the dataset automatically is closed. I

Re: [Rd] readBin on binary non-blocking connections (Windows & Unix differences/bugs)

2009-05-19 Thread Jeff Ryan
ise) who knows a bit more about the internals of socket connections in R (w.r.t Windows - as *nix works fine) could provide some much needed insight. Best, Jeff Ryan On Mon, May 18, 2009 at 12:40 PM, Jeff Ryan wrote: > R-devel: > > I am encountering a consistency issue using socketCon

Re: [Rd] readBin on binary non-blocking connections (Windows & Unix differences/bugs)

2009-05-18 Thread Jeff Ryan
sockets in R, I am afraid that option isn't realistic at this moment. Jeff On Mon, May 18, 2009 at 1:01 PM, Gabor Grothendieck wrote: > Ryacas uses non-blocking sockets and works across all platforms > but uses readLines/writeLines, rather than readBin, to communicate with >

[Rd] readBin on binary non-blocking connections (Windows & Unix differences/bugs)

2009-05-18 Thread Jeff Ryan
Ì’ò\001 |ò\001\004“ò\001ä“ò\0010\177ò\001ø•ò\001è{ò\001<“ò\001 $ƒ\001Ü•ò\001à}ò\001 “ò\001 $ƒ\001 $ƒ\001\024\177ò\001 $ƒ\001t“ò\001¨”ò\001ü}ò\001 $ƒ\001 $ƒ\001t|ò\001 $ƒ\001 $ƒ\001ô\177ò\001œ—ò\001ä|ò\001 |ò\001 $ƒ\001d—ò\001 $ƒ\001è’ò\001x{ò\001 $ƒ\001" [77] "' mus

[Rd] libf95.a: could not read symbols?

2009-03-10 Thread Jeff Hamann
I'm sorry for having to post this, but I've run out of ideas. I've been trying to build R-2.8.1 from source for installation on FreeBSD 6.4 (seems to be working fine on osx) and keep getting the same results, regardless of how I set ./configure $ ./configure --enable-R-shlib --with-x=no --with-bl

Re: [Rd] bug of *switch* function

2009-03-09 Thread Jeff Ryan
This isn't a bug in R. You are assigning within the switch statement, and it is returning the first TRUE value (human). Use "=" not "<-" species <- switch(organism, human="HS", fly="DM", yeast="SC") > species [1] "SC&quo

Re: [Rd] Fix for foreign package segfault on Solaris 10 Intel

2009-03-06 Thread Jeff Long
vl. And libintl is what pulls in libsec. And R itself pulls in libintl. Jeff == At 11:20 PM + 3/6/09, Prof Brian Ripley wrote: Can you show us the output you get from building foreign, and explain how it comes to be linked against libavl? I ge

[Rd] Fix for foreign package segfault on Solaris 10 Intel

2009-03-06 Thread Jeff Long
ackage caused no further problems. An alternative workaround was a hack involving symlinks and LD_LIBRARY_PATH, but that was not satisfactory. Since the foreign avl functions are incompatible with the ones provided by the standard Sun library, this approach has other potential gotchas. FYI. J

[Rd] R_CHAR + 21 (memory.c:2573) in crash report...

2009-02-27 Thread Jeff Hamann
I'm not sure if this is the best subject line, and I apologize in advanced for the cross-posting, but I've been trying to get past a piece of code for two days now, and seem to have narrowed where a show stopping crash is occurring... I keep getting: psql:../sql/schedpak.sql:257: server closed th

[Rd] POSIXlt, POSIXct, strptime, GMT and 1969-12-31 23:59:59

2009-02-27 Thread Jeff Ryan
- fsecs); 704 #else 705 REAL(ans)[i] = (tmp == (double)(-1)) ? 706 NA_REAL : tmp + (secs - fsecs); 707 #endif 708 } I haven't been able to look further into this logic, but the test for -1 strikes me as where this is happening. Thank you for any insight you can prov

Re: [Rd] length of POSIXlt object (PR#13482)

2009-01-29 Thread Jeff Ryan
0 0 $mday [1] 1 1 1 1 1 1 1 1 1 1 1 $mon [1] 0 0 0 0 0 0 0 0 0 0 0 $year [1] 107 107 107 107 107 107 107 107 107 107 107 $wday [1] 1 1 1 1 1 1 1 1 1 1 1 $yday [1] 0 0 0 0 0 0 0 0 0 0 0 $isdst [1] 0 0 0 0 0 0 0 0 0 0 0 attr(,"tzone") [1] """CST" "CD

Re: [Rd] package development

2008-12-12 Thread Jeff Ryan
ust have to make sure that the calling script in the /tests directory is commented out. Alternately you could have that /tests/doRUnit.R script (or whatever you call it/them) check for some environment variable to be set before running the full suite. Jeff __

Re: [Rd] package development

2008-12-12 Thread Jeff Ryan
nit is a good tool to look into. HTH Jeff On Fri, Dec 12, 2008 at 8:12 AM, Paul Gilbert wrote: > > > Duncan Murdoch wrote: >> >> On 11/12/2008 6:04 PM, Terry Therneau wrote: >>> >>> I'm making the move of the survival package from my own environmen

Re: [Rd] any suggestions to deal with 'Argument list too long' for a R CMD check?

2008-12-09 Thread Jeff Ryan
Never used, but I seem to recall that this was good for that: http://en.wikipedia.org/wiki/Xargs Jeff On Tue, Dec 9, 2008 at 3:13 PM, Whit Armstrong <[EMAIL PROTECTED]> wrote: > Since, gcc was using upwards of 2gb of ram to compile my package, I > just split all the functions int

Re: [Rd] reduce limit number of arguments in methods:::cbind

2008-12-03 Thread Jeff Ryan
Obviously this negates part of the S4 dispatch value, but that can be had by calling cbind2 directly. Jeff -- Jeffrey Ryan [EMAIL PROTECTED] ia: insight algorithmics www.insightalgo.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Problem trying to download rimage package (second try)

2008-11-14 Thread Jeff Ryan
maintainer (as per posting rules). 3) Then ask R-help (not R-devel), and only then (if ever) as a last resort come here for general install questions. The package description to get you to step #2: http://cran.r-project.org/web/packages/rimage/index.html Jeff On Fri, Nov 14, 2008 at 5:34 PM

Re: [Rd] Dynamic linking to binary code from other packages??

2008-11-12 Thread Jeff Ryan
of xts on R-forge. Take a look at http://r-forge.r-project.org/scm/?group_id=118 /dev/src/init.c /dev/inst/include/xts.h /dev/inst/include/xts_stubs.c As far as C++ goes, I would suspect the Matrix package again has all the bits you are looking for. HTH Jeff -- Jeffrey Ryan [EMAIL PROTEC

Re: [Rd] .C(..., DUP=FALSE) memory costs depending on input size?

2008-11-06 Thread Jeff Ryan
also have access to the actual R objects within C. Jeff On Thu, Nov 6, 2008 at 2:05 PM, MarcelK <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm trying to create my own C code for use within R. While optimizing the > code I've noticed that even while only using pointers

Re: [Rd] conditionally import a namespace?

2008-10-30 Thread Jeff Ryan
Or something along the lines of: Suggests: RGtk2 f <- function (x, ...) { stopifnot("package:RGtk2" %in% search() || require("RGtk2", quietly = TRUE)) # do Rgtk2 stuff here } Jeff On Thu, Oct 30, 2008 at 9:15 AM, Martin Maechler <[EMAIL PROTECTED]> wrote:

Re: [Rd] Dates in C api

2008-09-17 Thread Jeff Ryan
faster than doing it outside of C, at least in my experience with larger data. setAttrib(ans, R_ClassSymbol, mkString("Date")) HTH Jeff On Wed, Sep 17, 2008 at 12:24 PM, Lee, Philip (IT) <[EMAIL PROTECTED]> wrote: > r-devel, > > I've been trying to write a C plugi

Re: [Rd] Passing method to returns() /fSeries (PR#12713)

2008-09-05 Thread Jeff Ryan
This is a concern of the package maintainer. Nothing to do with R-devel or R-bugs. See the Rmetrics site or fSeries package details for their contact information. Jeff On Fri, Sep 5, 2008 at 10:05 AM, <[EMAIL PROTECTED]> wrote: > Full_Name: Robert Iquiapaza > Version: 2.7.2

Re: [Rd] Routine and Deep testing with R CMD check

2008-06-11 Thread Jeff Ryan
oku.php?id=developers:runit Jeff On Wed, Jun 11, 2008 at 10:05 AM, Kevin R. Coombes <[EMAIL PROTECTED]> wrote: > Hi, > > I recently provoked some discussion over on the BioConductor developer list > about testing and R CMD check. In brief, the salient points that arose from > the dis

Re: [Rd] numbers after dot missing (PR#10663)

2008-01-30 Thread Jeff Ryan
YOU can fix the "problem" : ) Try: > identical(76079320.32 + 21374.27 + 7630.04 + 28432.47,76136757.1) [1] TRUE > identical(76079320.32 + 21374.27 + 7630.04 + 28432.47,76136757) [1] FALSE > options(digits=10) > 76079320.32 + 21374.27 + 7630.04 + 28432.47 [1] 76136757.1 > sessionInfo() R versio

Re: [Rd] Plot definition for custom class

2008-01-24 Thread jeff . a . ryan
I think you just need to include the '...' as an argument to your function. Jeff Sent via BlackBerry from T-Mobile -Original Message- From: Johannes Graumann <[EMAIL PROTECTED]> Date: Thu, 24 Jan 2008 22:03:10 To:[EMAIL PROTECTED] Subject: [Rd] Plot definition for c

[Rd] as.Date.numeric origin default

2007-12-30 Thread Jeff Ryan
what will undoubtedly cost many hours of debugging across all packages/users. Thank you for your consideration, Jeff Ryan __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] SQL server service pack 2 prob? (PR#9810)

2007-07-26 Thread jeff . lindon
Full_Name: Jeff Lindon Version: 2.5.0 OS: mingw32 Submission from: (NULL) (63.147.8.67) R 2.5.0 seems to be unable to read valid tables from SQL Server 2005 with Service Pack 2 installed: > version _ platform i386-pc-mingw32 a

[Rd] FC5 32-bit vs 64-bit

2006-06-25 Thread Jeff Barrett
currently have any pressing needs for the capabilities of the 64-bit OS. Before I reinstall the 32-bit FC5, I want to know the specific effects on R. I see plenty of articles on 32-bit vs. 64-bit in general, but does anyone have any real comparisons of 32 vs. 64 bit using R? Jeff Barrett

[Rd] Package naming best practices

2006-06-14 Thread Jeff Enos
R-devel, I'm in the process of choosing a name for a new package. I've already decided that the name will have two parts, 'portfolio' and 'sim', but can't decide between 'portfolioSim' and 'portfolio.sim'. Is there any good reason

[Rd] NAs in unsplit factor

2006-06-08 Thread Jeff Enos
ed result, as opposed to NA? Thanks for your help, Jeff -- Jeff Enos Kane Capital Management [EMAIL PROTECTED] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Daily package check and --install=no

2006-04-25 Thread Jeff Enos
Are there other checks that are omitted? How, if at all, are such install flags related to the parameters one can pass R CMD check, such as --no-install, --no-test, etc.? Thanks, Jeff -- Jeff Enos Kane Capital Management [EMAIL PROTECTED] __

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

2006-03-06 Thread Jeff Gentry
> so the results you are looking come up in your search (e.g. "find > length of array, Matlab"). Try a similar web search for R and you > will learn nothing -- Why? because the letter "R" is on almost every > web page on the planet. FWIW using Teoma (I've been (probably unwisely) boycotting Go

[Rd] Acknowledgments in package documentation

2005-12-29 Thread Jeff Enos
Where's the best spot in the package docs for such an acknowledgment? Is there a place preferable to the \description or \source sections of the data set's .Rd file? Thanks in advance, Jeff __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] cygwin and tar -- still?

2005-12-24 Thread Jeff D. Hamann
he tar that's in the tools.zip from http://www.murdoch-sutherland.com/Rtools/ any different than the one with MSYS? Jeff. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] S4 classes in existing packages

2005-11-01 Thread Jeff Enos
experienced programmers like me should try to learn from and emulate? Thanks, Jeff Prof Brian Ripley writes: > On Tue, 1 Nov 2005, Matthias Kohl wrote: > > > Jeff Enos schrieb: > > > >> R-devel, > >> > >> I'm interested in looking at so

[Rd] S4 classes in existing packages

2005-10-31 Thread Jeff Enos
R-devel, I'm interested in looking at some examples of existing R packages that rely heavily on S4 classes to get a feel for varying styles and package organization techniques. Could you recommend any packages that might serve as a good starting point? Thanks in advance,

  1   2   >