Displaying 20 results from an estimated 200 matches similar to: "more subroutines for integrate()"
2007 Jan 19
8
kate editor for R
Like kile for LaTeX, Linux/KDE's kate editor is an excellent editor for
R, with easy code submission to a running R process. Syntax
highlighting is good. I have not been able to figure out two things:
- how to automatically reformat a line or region of text using good
indentation rules (Emacs/ESS make this so easy by just hitting Tab while
the cursor is in a line, or highlighting a
2004 Nov 01
0
updated package waveslim 1.4
waveslim 1.4 has recently been uploaded to CRAN and is fully compatible
with Rv2.0. Besides ensuring usability with the most recent version of R,
two additional "flavors" of wavelet methodology have been added to the
package: (1) Hilbert wavelet pairs and (2) the dual-tree complex wavelet
transform [only 1D and 2D ported from Matlab code by Selesnick]. The
dual-tree CWT code has
2004 Nov 01
0
updated package waveslim 1.4
waveslim 1.4 has recently been uploaded to CRAN and is fully compatible
with Rv2.0. Besides ensuring usability with the most recent version of R,
two additional "flavors" of wavelet methodology have been added to the
package: (1) Hilbert wavelet pairs and (2) the dual-tree complex wavelet
transform [only 1D and 2D ported from Matlab code by Selesnick]. The
dual-tree CWT code has
2002 May 31
2
error in seq.POSIXt?
I am trying to extract only the winters (defined to be 01-Dec through
28-Feb) of daily data from 1948-2002. There are 90 days in each winter
season. I wrote the following code to gather the winter dates into a
single vector:
DJF <- NULL
for(year in 1949:1999) {
temp.begin <- strptime(paste("01/12", year-1, sep="/"), "%d/%m/%Y")
temp.end <-
2011 Apr 25
1
R equivalent to (D)QDAWO in Fortran?
Hi useRs,
I have a set of fortran code that was passed down from previous students, and I am converting its algorithm into R codes.
I encounter this function in Fortran (D)QDAWO, which numerically integrates a function f with a user-specified cosine or sine weight. It is used because the original function that I want to integrate is f(x)*cos(x).
I tried in R to directly integrate by
2003 Mar 17
3
Error in file(file, "r")
Hello,
I am a new user of R, and I am not able to read/scan external files. I am
working in a Linux environment. I have read through the R FAQ and documents
and have not been successful using the recommendations. Below are several
scripts I've used and the error messages. .
I've cc'd Brandon Whitcher because it was recommended in another FAQ. I
read that this is a bug that
2024 Jan 23
0
Quantiles of sums of independent discrete random variables
Greetings,
I have the following?
Problem:
Given k (=10) discrete independent random variables X_i with n_i (= 5 to 20) values each,compute quantiles of the distribution of the sum X = X_1+...+X_k.
Here X has n=n_1 x n_2 ... n_k distinct values which is too large to list them all together with
their probabilities.
I tried several approaches:
(A) Convolution:
each X_j is approximated with
2004 Dec 13
0
multivariate permutation tests
Dear R users,
I am looking for code to perform a permutation version of the multivariate
two-sample test (difference in means). I am aware of F. Pesarin's book
and website, but his single S-Plus function does not work in R (for
various reasons). Has anyone adapted (or added to) PermutationTestMeans()
so that it does work in R? Or do you know of an alternative
implementation that does
2005 Aug 22
0
New CRAN package: DICOM
The package DICOM is a first attempt at a set of routines to import and
summarize medical imaging data that conforms to the DICOM standard. This
is now the industry standard for a wide variety of medical imaging
equipment (e.g., PET, MRI, CT, etc.). Please see http://medical.nema.org
for more information about the DICOM standard. A simple list structure
holds the separate header and image
2005 Aug 22
0
New CRAN package: DICOM
The package DICOM is a first attempt at a set of routines to import and
summarize medical imaging data that conforms to the DICOM standard. This
is now the industry standard for a wide variety of medical imaging
equipment (e.g., PET, MRI, CT, etc.). Please see http://medical.nema.org
for more information about the DICOM standard. A simple list structure
holds the separate header and image
2004 Mar 16
0
R install/configure problem on Sun Solaris
Dear R-help,
I just configured and installed R-1.8.1 according to the following
R is now configured for sparc-sun-solaris2.9
Source directory: .
Installation directory: /usr/local
C compiler: gcc -g -O2
C++ compiler: g++ -g -O2
Fortran compiler: g77 -g -O2
Interfaces supported: X11
External libraries: readline
Additional capabilities: bzip2,
2002 Nov 29
1
mgcv fails to compile in R-1.6.1 (PR#2334)
Full_Name: Brandon Whitcher
Version: 1.6.1
OS: IRIX 6.5
Submission from: (NULL) (194.6.84.100)
I am attempting to compile R v1.6.1 on my SGI Octane (running IRIX 6.5)
and ran into the following error when I encountered the new recommended
package _mgcv_ (using make)
----------
R_LIBS= ../../../bin/R CMD INSTALL -l ../../../library mgcv.tgz
* Installing *source* package 'mgcv' ...
2003 Feb 03
0
FW: unable to open connection
Thanks to Brian D. Ripley and Uwe Ligges. It works now.
Zhu Wang
Statistical Science Department
Southern Methodist University
3225 Daniel Avenue, Heroy 123
Dallas, TX 75275
Tel: (214)768-2453
Fax: (214)768-4035
>
>
> > -----Original Message-----
> > From: Uwe Ligges [mailto:ligges at statistik.uni-dortmund.de]
> > Sent: Sunday, February 02, 2003 5:22 AM
>
2009 Jul 14
0
LondonR meeting - 21st of July
Thank you to everyone for showing such an interest in the next LondonR
meeting.
Below is the agenda for the meeting:
LondonR meeting - 21st July 2009
Time: 4pm - 7pm
Venue: The Wall
45 Old Broad Street
London
ECN 1HU
Tel: 020 7588 4845
Agenda:
* 4pm - Richard Pugh
2010 Aug 10
0
useR! 2011: announcement and call for tutorials
We are pleased to announce that the R user conference
useR! 2011
is scheduled for August 16-18, 2011, and will take place at the
University of Warwick, Coventry, UK.
As for the predecessor conferences, the program will consist of two
parts: invited lectures and user-contributed sessions (abstract
submission will be available online later this year). Prior to the
conference, there will be
2010 Aug 10
0
useR! 2011: announcement and call for tutorials
We are pleased to announce that the R user conference
useR! 2011
is scheduled for August 16-18, 2011, and will take place at the
University of Warwick, Coventry, UK.
As for the predecessor conferences, the program will consist of two
parts: invited lectures and user-contributed sessions (abstract
submission will be available online later this year). Prior to the
conference, there will be
2010 Aug 03
0
how to create local subroutines properly in rails?
hi guys,
Using breadcrumbs on rails (http://github.com/weppos/
breadcrumbs_on_rails), I have added a method, "set_breadcrumb" in my
application controller.
That will set up my home breadcrumb.
In my other feedbacks controller, I have the same "set_breadcrumb"
method (in a before_filter). The breadcrumb added here is called
"feedback".
the problem is that when
2010 Jul 13
0
compiling, linking and including multiple FORTRAN subroutines in R
Although there are a number of documents describing library development, in
which compiling and using C or FORTRAN source code is discussed, such
documents are too detailed and complicated for my limited needs (i.e. I
can't follow them!). I am looking for a worked example (i.e. the series of
commands etc) that does the following from within a WINDOWS environment:
Given a series (i.e. more
2014 Oct 14
1
Do subroutines need their own h extension?
Hi all,
According to the documentation (
http://www.voip-info.org/wiki/view/Asterisk+h+extension):
Be aware: Macros require their own h extension as they do not make use of
the calling context's h extension!
Does this apply to subroutines too? I am unable to find the corresponding
explanation.
If not: what happens when a call is hanged-up during the execution of a
subroutine? Is the h
2005 Nov 17
1
Linking Fortran subroutines
Hi,
I just started using R a few weeks ago and have a problem with linking Fortran subroutines to R. For some reasons, I need to compile a Fortran program in R (or Splus) and the whole program consists a couple of subroutines, say, subA and subB. There is no difficulty in linking the subroutines individually, but two subroutines are nested, as shown below,
SUBROUTINE subA(arg.)
EXTERNAL