Displaying 20 results from an estimated 8000 matches similar to: "tests conditioned on CRAN?"
2012 May 20
4
write.xls
Hello, All:
The "writeFindFn2xls" function in the "sos" package tries to
write an Excel file with 3 sheets ('PackageSum2', 'findFn', 'call').
Unfortunately, it is often unable to do this because of configuration
problems that are not easy to fix. I've found 3 contributed packages
that provide facilities to write Excel files with
2012 Feb 29
1
Replace back slashes with forward slashes?
Hello, All:
What can people tell me about converting back slashes to forward
slashes in character strings?
Several years ago, Prof. Ripley provided a solution, which I lost
and have not been able to find.
Below please find a function to do this. I do not find this very
satisfactory, however, because it uses "scan" and therefore operates on
an input not a
2017 Mar 08
2
Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)
Hello:
A call to help(..., help_type='text') fails with "package='fda":
> install.packages('fda')
> help(package='fda', help_type='text')
Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3) :
incorrect values of 'indent' and 'width'
I have this wrapped inside "try" in
2017 Mar 09
2
Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)
This error can arise when getOption("width") is too small. 80 seems to be the
limit for me with R-3.3.2 on Windows.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Mar 8, 2017 at 10:28 PM, Spencer Graves
<spencer.graves at prodsyse.com> wrote:
> Hello:
>
>
> I tried "debug(help)" with the problem mentioned below. It stopped
> with a call to
2013 Oct 11
3
Gaussian Quadrature for arbitrary PDF
Hi all,
We know that Hermite polynomial is for
Gaussian, Laguerre polynomial for Exponential
distribution, Legendre polynomial for uniform
distribution, Jacobi polynomial for Beta distribution. Does anyone know
which kind of polynomial deals with the log-normal, Studentæ¯ t, Inverse
gamma and Fisheræ¯ F distribution?
Thank you in advance!
David
[[alternative HTML version deleted]]
2017 Jan 09
1
problem with print.generic(x)deparse(substitute(x))
Hi, Peter et al.:
On 2017-01-09 4:24 AM, peter dalgaard wrote:
> On 09 Jan 2017, at 10:53 , Spencer Graves <spencer.graves at prodsyse.com> wrote:
>
>> # Define an object of class 'dum'
>> k <- 1
>> class(k) <- 'dum'
>> str(k) # as expected
>>
>> # Define print.dum
>> print.dum <- function(x, ...)
>>
2011 Nov 13
1
issue using package sos
Issue with sos package
I am now using R 2.14 and the sos package did work with 2.13
> library(sos)
Loading required package: brew
Attaching package: 'sos'
The following object(s) are masked from 'package:JGR':
installPackages
The following object(s) are masked from 'package:utils':
> library("sos"); findFn("random forest")
found 253
2012 May 10
1
fda problems - version correct?
Dear friends - I am trying to understand fda and working with the 2009
book from Springer. I run the scripts directly from a new installed fda
library and include sessionInfo() below. This is from the script
fdarm-ch09.R - I seem to have got not fda_2.2.8 but 2.2.7 - is that
the problem? Where do I get .8 as I just reinstalled? Best wishes
Troels Ring, Nephrology
Aalborg, Denmark
>
2017 Mar 09
0
Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)
Hello:
I tried "debug(help)" with the problem mentioned below. It
stopped with a call to "library", from which I generate the following
simple replication of this error:
> library(help = 'fda', character.only = TRUE)
Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3) :
incorrect values of 'indent' and 'width'
2017 Mar 09
0
Error in formatDL(nm, txt, indent = max(nchar(nm, "w")) + 3)
It happens in the fda package because some of the headers are longer
than typical (e.g., "Repository/R-Forge/DateTimeStamp") and formatDL
dies if the indent argument is too large compared to the width argument.
It might be nice to change formatDL so it never gave such an error, but
did something reasonable when the 'indent' argument was too big.
Changing
if (indent >
2009 Jul 09
1
Number of functions, data sets, ..., in a package?
Hello:
How can one get the number of functions and data sets in a package?
I've written a function "PackageSum2" to get an extended package
summary for an installed package. I get much of what I want from the
object returned by "help(package=pkgName)". For example,
"help(pac=...)$info[[1]]" is a character vector giving author,
maintainer,
2018 May 03
0
Package for Molecular Properties
library(sos)
(mp <- findFn('{molecular properties}'))
????? ** found 7 matches in 4 packages and opened two web pages in my
default browser with (a) the 7 matches and (b) the 4 packages. The first
function was something for amino acids, like you suggested.? Two others
returned compound and substance information from PubChem.
????? Does this help?
????? Spencer
On
2011 Oct 07
1
RStudio and findFn{sos}
Hello everyone,
I have this problem, when I launch findFn from RStudio ( but not from R
console)
the table of results does not pop in the browser and I got a warning.
findFn("test")
found 9914 matches; retrieving 20 pages, 400 matches.
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Warning message:
In parseHTML(href) : NAs introduced by coercion
Thanks
H.
[[alternative HTML
2024 Jun 28
2
write.csv problems
Hello, All:
I'm getting strange errors with write.csv with some objects of class
c('findFn', 'data.frame'). Consider the following:
df1 <- data.frame(x=1)
class(df1) <- c('findFn', 'data.frame')
write.csv(df1, 'df1.csv')
# Error in x$Package : $ operator is invalid for atomic vectors
df2 <- data.frame(a=letters[1:2],
2024 Jun 29
1
write.csv problems
?s 17:02 de 28/06/2024, Spencer Graves escreveu:
> Hello, All:
>
>
> ????? I'm getting strange errors with write.csv with some objects of
> class c('findFn', 'data.frame'). Consider the following:
>
>
> df1 <- data.frame(x=1)
> class(df1) <- c('findFn', 'data.frame')
> write.csv(df1, 'df1.csv')
> # Error in
2010 Dec 31
1
Error using sos
I am trying to use sos but I get the message below
My PC's spec is: MS XP Version 2002 SP 3
Intel Celeron E3300 @ 2.50Ghz
Is the error below related to a firewall or something?
Thanks and Happy New Year
Paolo
Error in readLines(link) : cannot open the connection
In addition: Warning message:
In readLines(link) :
unable to connect to 'search.r-project.org' on port 80.
found 0
2012 Sep 03
4
if(--as-cran)?
Hello, All:
The fda package has tests that run too long for CRAN's current
rules. I'd like to wrap some examples in a construct like the following:
if(!CRAN()){
...
}
I tried the following:
CRAN <- function(x='_R_CHECK_CRAN_INCOMING_'){
x. <- Sys.getenv(x)
xl <- as.logical(x.)
notCRAN <- is.na(xl) || xl
#
return(!notCRAN)
}
2011 Feb 02
1
Acf of Frima
Hello,
I am trying to calculate the autocovariance matrix for any general
farima(p,d,q) with
p,q > 1. Could anyone give an idea how to implement in R or if there
is any package for this?
thank you beforehand.
Jose.
2017 Feb 09
0
What would make R easier to use for you (and sos version 1.4-1 and useR!2017)
***
*** WHAT WOULD MAKE R EASIER TO USE FOR YOU?
***
The useR! 2017 conference in Brussels, July 4-7, will include a
session in which attendees will be invited to offer their thoughts in at
least three areas:
* A common interface for similar functions. For example,
John C. Nash and others have taken the lead in developing packages to
provide one standard call that will
2012 Aug 24
1
CRAN check error with no example?
Hello, All:
The CRAN checks for the "fda" package includes one error:
The error most likely occurred in ... file.copy2
...
Error: unprotect_ptr: pointer not found
Execution halted
(http://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian/fda-00check.html)
The help page for "file.copy2" includes "\examples" with
everything wrapped in