Hi. I'm trying to write an application to retrieve financial data
(specially bonds data) from FINRA. The web page is served dynamically
from an asp.net application:
http://cxa.gtm.idmanagedsolutions.com/finra/BondCenter/AdvancedScreener.aspx
I'd like to know if it's possible to fill dynamically
Le samedi 27 octobre 2012 à 10:44 -0400, John Fox a écrit :
Hi Milan,
Take a look at the contr.Sum() and contr.Treatment() functions in the
car package.
Yeah, this is the kind of function I had in mind. Just that I think we
should have an equivalent in the base packages.
(I recall, BTW, the
Hi Jose,
I think this is more of an r-help question so I'm going to forward
your question there: R-devel is really for the development of R
itself, not development with R.
Cheers,
Michael
On Mon, Oct 29, 2012 at 8:11 PM, jose ramon mazaira jram...@gmail.com wrote:
Hi. I'm trying to write an
On Oct 30, 2012, at 10:44 , R. Michael Weylandt wrote:
Hi Jose,
I think this is more of an r-help question so I'm going to forward
your question there: R-devel is really for the development of R
itself, not development with R.
Er, no!
R help is (mainly) for helping beginners. We usually
Hi,
Please consider the following :
x = c(1,3,NA,5)
y = c(2,NA,4,1)
min(x,y,na.rm=TRUE)# ok
[1] 1
max(x,y,na.rm=TRUE)# ok
[1] 5
sum(x,y,na.rm=TRUE)# ok
[1] 16
pmin(x,y,na.rm=TRUE) # ok
[1] 1 3 4 1
pmax(x,y,na.rm=TRUE) # ok
[1] 2 3 4 5
psum(x,y,na.rm=TRUE)
[1] 3 3 4 6
Hi Milan,
On Tue, 30 Oct 2012 10:25:56 +0100
Milan Bouchet-Valat nalimi...@club.fr wrote:
Le samedi 27 octobre 2012 à 10:44 -0400, John Fox a écrit :
Hi Milan,
Take a look at the contr.Sum() and contr.Treatment() functions in the
car package.
Yeah, this is the kind of function I had
Why don't you make a matrix and use colSums or rowSums?
x = c(1,3,NA,5)
y = c(2,NA,4,1)
colSums(rbind(x, y), na.rm = TRUE)
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie Kwaliteitszorg / team Biometrics Quality Assurance
Because that's inconsistent with pmin and pmax when two NAs are summed.
x = c(1,3,NA,NA,5)
y = c(2,NA,4,NA,1)
colSums(rbind(x, y), na.rm = TRUE)
[1] 3 3 4 0 6# actual
[1] 3 3 4 NA 6 # desired
and it would be less convenient/natural (and slower) than a psum which
would call
I don't know of an easy way to do this in R. I've been doing something
similar with python scripts called from R. If anyone knows how to do
this with just R, I would appreciate hearing too.
Paul
On 12-10-29 04:11 PM, jose ramon mazaira wrote:
Hi. I'm trying to write an application to
I think RHTMLForms works if you have a single form, but I have not been
able to see how to use it when you need to go through a sequence of
dynamically generated forms (like you can do with Python mechanize).
Paul
On 12-10-30 09:08 AM, Gabriel Becker wrote:
I haven't used it extensively
Is there a case to add psum? Or have I missed something.
If psum, then why not pdiff (-), pprod (*) and precip (/) ? And
similarly, what about equivalent functions for ^, %%, %/%, , and | ?
Hadley
--
RStudio / Rice University
http://had.co.nz/
__
On 29.10.2012 23:35, Hadley Wickham wrote:
Reproducible example:
dir.create(test)
.libPaths(test)
install.packages(relations, type = source)
Fails with:
...
* installing *source* package ‘relations’ ...
...
** testing if installed package can be loaded
*** arch - i386
Error : package ‘sets’
* installing *source* package ‘relations’ ...
...
** testing if installed package can be loaded
*** arch - i386
Error : package ‘sets’ required by ‘relations’ could not be found
Error: loading failed
Execution halted
*** arch - x86_64
Error : package ‘sets’ required by ‘relations’ could
On 30.10.2012 15:01, Hadley Wickham wrote:
* installing *source* package ‘relations’ ...
...
** testing if installed package can be loaded
*** arch - i386
Error : package ‘sets’ required by ‘relations’ could not be found
Error: loading failed
Execution halted
*** arch - x86_64
Error : package
Jose
As far as getting to the data, I think the best way to do this sort of
thing would be if the site supports a SOAP or REST interface. When they
don't (yet) then one is faced with clicking through some pages. Python
or Java is one way to automate the process of clicking through the
pages.
A heads up for those using Rcpp and perhaps other packages related to
reference classes.
The changes in 61035 cause a problem for classes defined with a slot
using the return value of setRefClass(), notably for Rcpp. The name of
that class changed.
Rather than introduce
As of rev. 61035 in r-devel, setRefClass() now returns a generator function,
as setClass() has done since 2.15.0.
The convenient style is now:
mEdit - setRefClass(mEdit,..)
xx - mEdit(data = xMat)
instead of
xx - mEdit$new(data = xMat)
The returned object still has fields and
It appears that this problem only happens when R_LIBS is specified in
~/.Renviron. When it compiles 'relations', it's somehow not passing
along the correct lib paths.
This is the test code:
dir.create(test)
.libPaths(test)
install.packages(relations, type = source)
The 'relations' package
18 matches
Mail list logo