Displaying 20 results from an estimated 3000 matches similar to: "Error using sos"
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
2010 Dec 20
2
Sine Regression in R
Hi everyone,
I am trying to fit a sine function on one year of wind data. I have two
questions below.
Looking around on the net I managed to get the following:
Sine Equation: y = a + b * sin( c + d*x )
b is the amplitude, c is the phase shift, d is something deal with
periodicty of data*.*
This can be linearised by sin( c+dx ) = cos(c) * sin(dx) + sin(c) *
cos(dx).
If one calls dx = x1
y
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
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
2016 Sep 08
3
Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?
On 9/8/2016 5:01 AM, Jonathan Baron wrote:
> OK. It is sort of fixed and sort of works.
>
> We'll keep it for now, but this is not going to work forever. When
> namazu fails completely I will not have the time to install a new
> search engine.
>
> One option is to use google. For a site like this, I think they will
> want some money, but I'm not sure, and I do not
2016 Sep 07
0
Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?
Spencer,
Thanks for the quick reply.
I am open to someone who knows Perl getting an account on my site and
trying to get it working. It will probably involve fixing more than
one thing, as mknmz depends on some perl modules that also generate
errors.
My main contribution is figuring out how to extract the html help
files and vignettes only, with some help from R developers and Fedora
2016 Sep 08
0
Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?
OK. It is sort of fixed and sort of works.
We'll keep it for now, but this is not going to work forever. When
namazu fails completely I will not have the time to install a new
search engine.
One option is to use google. For a site like this, I think they will
want some money, but I'm not sure, and I do not have the time to deal
with it.
We have over 10,000 packages now. I wonder if
2016 Sep 08
0
Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?
On 9/8/2016 3:30 AM, Joris Meys wrote:
>
> Hi Jonathan,
>
> I have neither the resources nor the skills to take over, but whatever
> happens I want to thank you for all the work. Too often people forget
> that all these nice tools keep working due to the devotion of people
> like you.
>
> So thank you!
>
I concur. People all over the world live better
2007 Oct 08
1
First Markdownify Beta released
Hi folks!
I finally released the first Beta of Markdownify - the HTML to Markdown
converter for PHP. It is the successor to the old `html2text.php` and is much
more stable. It's pretty much a complete rewrite and supports all Markdown
and PHP Markdown Extra syntax features.
It's beta since I still have to add a word wrapping feature and "Markdown
inside block elements" is
2016 Sep 07
3
Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?
Hello, All:
Jonathan Baron is "giving up" maintaining the RSiteSearch database.
This breaks three things: (1) The R Site Search web service that
Baron has maintained. (2) The RSiteSearch function in the utils
package. (3) The sos package, for which I'm the maintainer and lead
author.
Might someone else be willing to take these over?
For me,
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, ...)
>>
2016 Sep 08
6
Fwd: Re: RSiteSearch, sos, rdocumentation.org, ...?
Don't do anything yet. I may have found the problem by accident.
I tried to use the computer from something else, and it was being
drastically slowed down by some leftover processes, which turned out
to be xlhtml. That is something that converts Excel files. Apparently,
some excel files got into the libraries, and they were causing the
indexing to hang completely.
I am now running everything
2010 Dec 31
4
Repeated Indexing / Sequence Operation
Hi Everyone,
quick question before the end of the year.
I have soem indices to select data from a bigger sample. I want to select n
days before each index and n days after the index. Any clever way to do it.
A for loop would do but I wanted to know if there is a moreR-friendly way to
approach this
Example
# InitialIndices
i2 = (90, 190, 290)
# Indices I want to end up with
i3 = c(85, 86, 87,
2010 Nov 17
3
Parameterising apply To Compute Rolling Average of Columns in a matrix
I sent a post to find a clever way to compute a Rolling Average of columns
in a matrix and I was given the solution below which I am very pleased
with.
RollingAverage <- function(x, RollingObs) {
cx <- cumsum(x);
N <- length(x);
Temp <- (cx[RollingObs:N] - c(0, cx[1:(N-RollingObs)]))/RollingObs
Output <- array(NA, N)
Output[RollingObs:N] <- Temp;
Output
}
The only
2024 Jun 29
1
write.csv problems
Hi, Rui et al.:
On 6/29/24 14:24, Rui Barradas wrote:
> ?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) <-
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
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],
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
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