similar to: Extent of time zone vulerability for POSIX date and time classes

Displaying 20 results from an estimated 1000 matches similar to: "Extent of time zone vulerability for POSIX date and time classes"

2007 Jun 04
3
test for nested factors
Is there a conventional way to test for nested factors? I.e., if 'a' and 'b' are lists of same-length factors, does each level specified by 'a' correspond to exactly one level specified by 'b'? The function below seems to suffice, but I'd be happy to know of a more succinct solution, if it already exists. Thanks, Tim. --- "%nested.in%" <-
2007 Jun 08
4
logical 'or' on list of vectors
Suppose I have a list of logicals, such as returned by lapply: Theoph$Dose[1] <- NA Theoph$Time[2] <- NA Theoph$conc[3] <- NA lapply(Theoph,is.na) Is there a direct way to execute logical "or" across all vectors? The following gives the desired result, but seems unnecessarily complex. as.logical(apply(do.call("rbind",lapply(Theoph,is.na)),2,"sum"))
2007 Sep 27
3
testing the contents of an environment
Suppose I want to delete everything in my working directory that is not a function. It seems that sapply(ls(),is.function) always returns FALSE, because ls() returns objects of mode character. How do I evaluate is.function(), not on a character string, but on the object that character string represents? Thanks, Tim
2006 Apr 06
2
prevent reassignment of function names
Hi. I'm trying to find a systematic way to prevent assignment to names of existing functions. I've tried reassigning to the assignment operator, with mixed results. The function definition for "<-" below works as hoped for the demonstrated assignments to a and c. However, for the assignment based on the test function, it appears that the formal argument is not
2016 Aug 07
1
Quote symbol names under EXPORTS in tmp.def on Windows
I originally posted on this topic on a different thread: https://stat.ethz.ch/pipermail/r-devel/2016-August/072938.html These sources suggested that a safe practice might be to put double quotes around symbol names in EXPORTS in case the symbol name is the same as a linker keyword: - https://sourceware.org/binutils/docs/ld/Symbols.html#Symbols -
2013 Feb 02
1
setGeneric() gives "must supply skeleton" when checking package
r-devel, In a development version of the CRAN package metrumrg, I write ... require(reshape) setGeneric('cast') setOldClass(c('keyed','data.frame')) setMethod('cast','keyed', function ...) The result is satisfactory when sourcing the code directly, but when checking the package (which has 'reshape' as a dependency in the DESCRIPTION file) I get
2009 May 30
2
degraded performance with rank()
Hi. I'm maintaining a package that creates an object that is essentially a classed version of numeric. I updated recently from 2.7.1 to 2.9.0, and merges involving my class suddenly took a huge performance hit. I've traced the problem to something near rank(). From NEWS, it seems rank() etc. changed in 2.8.0. Methods for xtfrm() are supposed to help, but I've had no success. There
2013 May 01
1
foreign: write.xport
I see in the archives significant discussion about SAS, CDISC formats etc. for FDA, but no direct suggestion of adding a write.xport method to the foreign package. Are there significant barriers to doing so? [[alternative HTML version deleted]]
2007 Feb 27
1
fitting the gamma cumulative distribution function
Hi. I have a vector of quantiles and a vector of probabilites that, when plotted, look very like the gamma cumulative distribution function. I can guess some shape and scale parameters that give a similar result, but I'd rather let the parameters be estimated. Is there a direct way to do this in R? Thanks, Tim. week <- c(0,5,6,7,9,11,14,19,39) fraction <-
2007 Oct 05
0
Rpad textarea handling
Hi. I'm trying to write an Rpad that edits scripts. Textarea seems like an obvious tool, but unlike other input elements, it seems that the contents are not sent to R on 'calculate'. To illustrate using the page below: load, F9, edit text, F9. The original contents of 'script' are restored. Furthermore, I can't eliminate the leading and trailing whitespace in the
2017 Aug 31
0
AST-2017-007: Remote Crash Vulerability in res_pjsip
Asterisk Project Security Advisory - AST-2017-007 Product Asterisk Summary Remote Crash Vulerability in res_pjsip Nature of Advisory Denial of Service Susceptibility Remote Unauthenticated Sessions Severity Moderate
2013 Nov 21
1
R CMD check (v-3.0.2) not loading $R_CHECK_ENVIRON
Hi all, I'm trying to check a package using R CMD check --as-cran <package>. When I do so, the check fails upon not finding the dependencies which I have installed in a non-standard location. Per the manual, I created ~/.R/check.Renviron : $ cat ~/.R/check.Renviron R_LIBS=/usr/lib64/R/library:/usr/lib64/R/var R_LIBS_SITE=/usr/lib64/R/library:/usr/lib64/R/var No luck. I tried
2009 Jul 09
1
merge performace degradation in 2.9.1
I have noticed a significant performance degradation using merge in 2.9.1 relative to 2.8.1. Here is what I observed: N <- 100000 X <- data.frame(group=rep(12:1, each=N), mon=rep(rev(month.abb), each=N)) X$mon <- as.character(X$mon) Y <- data.frame(mon=month.abb, letter=letters[1:12]) Y$mon <- as.character(Y$mon) Z <- cbind(Y, group=1:12) system.time(Out
2009 Oct 29
1
multiple pages with ggplot2 facet_wrap?
I currently use lattice functions to produce multiple pages of plots using the "layout" argument to specify the number of rows and columns of panels, e.g., xyplot(price ~ carat | clarity, diamonds, layout = c(2, 2)) This results in 2 pages of 4 panels each. "diamonds" is a data.frame distributed with ggplot2. I would like to do the same with ggplot2 but have been
2007 Mar 29
0
Postdoctoral fellowship in pharmacometrics
Metrum Institute (http://metruminstitute.org/) is offering a postdoctoral fellowship in pharmacometrics. It will focus on the development of computational methods and open-source software tools for Bayesian modeling and simulation relevant to pharmacometric applications. An ideal candidate will have a post-graduate degree in statistics, pharmacokinetics, bioengineering or other related
2012 May 01
0
Opening for a Data Programmer
Opening for a Data Programmer (April 19, 2012) Metrum Research Group is seeking a full-time data programmer to support our biomedical modeling and simulation services. This is an excellent opportunity to develop as a data programmer while gaining exposure to cutting edge problems in the growing field of pharmacometrics. The individual will work as an integral member of our team, based in
2011 Aug 05
0
Data Programmer at MetrumRG
Opening for a Data Programmer Metrum Research Group is seeking a full-time data programmer to support our biomedical modeling and simulation services. This is an excellent opportunity to develop as a data programmer while gaining exposure to cutting edge problems in the growing field of pharmacometrics. The individual will work as an integral member of our team, based in Tariffville, CT. We
2011 Aug 05
0
Data Programmer position at MetrumRG
Opening for a Data Programmer Metrum Research Group is seeking a full-time data programmer to support our biomedical modeling and simulation services. This is an excellent opportunity to develop as a data programmer while gaining exposure to cutting edge problems in the growing field of pharmacometrics. The individual will work as an integral member of our team, based in Tariffville, CT. We
2008 Jun 04
0
Survey: Commercial R companies
Hello Everyone, In preparation for an upcoming talk, I would like to assemble a list of companies that provide consulting, services, products, or training for R. I am already aware of a number of such companies including (in alphabetical order): BlueReference <http://inference.us> Insightful <http://www.insightful.com> Metrum Institute <http://www.metruminstitute.org>
2016 Aug 02
0
Creating shared object with BASE in EXPORTS on Windows
It looks like `BASE` is a keyword in the .def file specification. https://github.com/bminor/binutils-gdb/blob/master/ld/deffilep.y#L241-L268 For several keywords, I could replicate the syntax error from ld.exe when the keyword was listed in EXPORTS in the .def file. As far as I can tell, the dllname-win.def file is a must in this case making sure none of the keywords get exported there.