On Sat, 16 Apr 2022, Kelly Thompson writes:
> What are the pros and cons of the various R functions and methods for
> conducting least median of squares regression analysis?
>
> I know about these:
>
> lqs, wth method = "lms" and lmsreg, which as I understan dit
Good luck.
-Original Message-
From: Kelly Thompson
To: r-help@r-project.org
Sent: Sat, Apr 16, 2022 2:45 pm
Subject: [R] What are the pros and cons of the various R functions and methods
for conducting least median of squares regression analysis?
What are the pros and cons of the various R functions a
hings into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Sat, Apr 16, 2022 at 11:45 AM Kelly Thompson wrote:
>
> What are the pros and cons of the various R functions and methods for
> conducting least median of squares regression analysis?
>
> I kn
This is a good site for such searches:
https://rdrr.io/
Searching on "st_point" there says it's in the 'geotidy' package on github.
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom
? (I guess I could check the
> length of sys.parents() and avoid recovering from the interrupt if
> called from some other function, but that feels dirty.) Could something
> similar be achieved with options(error = recover) and R restarts? Are
> there other ways of, well, interrupting the
similar be achieved with options(error = recover) and R restarts? Are
there other ways of, well, interrupting the execution of R functions
without changing the semantics of interrupts in R?
I've been working with MATLAB lately (when in Rome, do as Romans
do...), and their idiom for my desired
similar be achieved with options(error = recover) and R restarts? Are
there other ways of, well, interrupting the execution of R functions
without changing the semantics of interrupts in R?
I've been working with MATLAB lately (when in Rome, do as Romans
do...), and their idiom for my desired behavio
I'm pleased to announce the release of the "arsenal" package v3.0.0 on CRAN
(https://cran.r-project.org/package=arsenal)!
"arsenal" has experienced some major growth in the last few months, starting
with the release of v2.0.0 in January. We tried to maintain backwards
compatibility wherever
is that you need to open the
buffers first.
Vitalie
>> On Fri, Jun 22 2018 10:15, Stephen Eglen via ESS-help wrote:
> Hello,
> what are people using (if anything) to find declarations of R functions
> within Emacs buffers? e.g. when point is on the name of a function, you
> hit a
wrote:
>
> Hello,
>
> what are people using (if anything) to find declarations of R functions
> within Emacs buffers? e.g. when point is on the name of a function, you
> hit a keybinding to look up the definiton of that function.
>
> I just had some success with using dumb-jump.el
This was a change in tidyr 0.7.0 that is causing a lot of confusion,
so we are preparing tidyr 0.7.1 which will back this change out.
If you want a work around in the meantime, you can express your
operation a bit more elegantly as:
library(tidyr)
df <- data.frame(v1 = 1:5, somestring = 6:10,
Or perhaps two exclamation points would be better ('unquote' in the
tidyverse lexicon, 3 bangs is 'unquote-splice').
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Aug 24, 2017 at 10:20 AM, William Dunlap wrote:
> Try putting !!! (three exclamation symbols) in front of
Looks like a bug to me. I think you need to correspond with the package
(tidyr?) maintainer, perhaps by putting a bug report on GitHub.
Next time please make your example reproducible by including the necessary
"library" function calls.
--
Sent from my phone. Please excuse my brevity.
On
Try putting !!! (three exclamation symbols) in front of which(...)==
The non-standard evaluation in the tidyverse can cause confusion.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Thu, Aug 24, 2017 at 4:32 AM, Eugeny Melamud <
eugeny.mela...@lanit-tercom.com> wrote:
> Hi all!
>
> The
Inline.
-- Bert
On Thu, Aug 24, 2017 at 4:32 AM, Eugeny Melamud
wrote:
> Hi all!
>
> The following code (executed in console)...
> somevar <- data.frame(v1 = 1:5, somestring = 6:10, v3 = 11:15, v4 =
> 16:20);
> somevar %>% gather(key = var, value =
Hi all!
The following code (executed in console)...
somevar <- data.frame(v1 = 1:5, somestring = 6:10, v3 = 11:15, v4 = 16:20);
somevar %>% gather(key = var, value = val, which(names(somevar) ==
"somestring"):length(somevar)) %>% head(2);
throws...
Error in which(names(somevar) ==
I'm pleased to announce the release of the "arsenal" package v0.5.0 on CRAN
(https://cran.r-project.org/package=arsenal). There are 4 items I want to
mention:
1. arsenal is now on github: https://github.com/eheinzen/arsenal
2. ~10 bugs have been fixed in the latest release.
3.
Bert:
My question implies that I read (consulted) the reference, as I cited
actual wordings of the reference.
Apparently, you think I am lazy, and dumb, and like to waste R-helpers'
time, as well as mine.
Thanks for your reply, quite helpful.
Bruce
~~
Bert
Dear David:
Thank you for your excellent reply.
Apparently, you are a in the know.
Again, thanks.
Bruce
__
Bruce Ratner PhD
The Significant Statistician™
(516) 791-3544
Statistical Predictive Analytics -- www.DMSTAT1.com
Machine-Learning Data Mining -- www.GenIQ.net
> On May 11,
> On May 11, 2017, at 6:31 AM, Bruce Ratner PhD wrote:
>
> Bert:
> Not clear to me.
> Where mentioned are the functions similar to glm, if you please?
The basis for the similarity was stated as having an available link function
(and I suspected, an inverse as well.) I, for
Bert:
Not clear to me.
Where mentioned are the functions similar to glm, if you please?
Bruce
__
> On May 11, 2017, at 8:39 AM, Bert Gunter wrote:
>
> ?glmulti seems clear enough to me. If not, pls check the reference given
> therein.
>
> Bert
>
>> On
?glmulti seems clear enough to me. If not, pls check the reference given
therein.
Bert
On May 11, 2017 5:22 AM, "BR_email" wrote:
> Thanks, Bert. I would expect the list to include, at least lm. The
> reference states, "See Examples section."
> But, there is nothing in that
Thanks, Bert. I would expect the list to include, at least lm. The
reference states, "See Examples section."
But, there is nothing in that section or elsewhere!!
Bruce
Bert Gunter wrote:
Probably? :
All functions for which a link function of the response is modeled as
a linear predictor of
R-helpers:
In the "glmulti" package, it states parameter fitfunction assumes
functions similar to glm, but doesn't list them.
What are the functions similar to glm that can be used with glmulti?
Bruce
__
R-help@r-project.org mailing list -- To
Got it. thanks.
On Sat, Feb 27, 2016 at 2:39 PM, peter dalgaard wrote:
> Yeah, well, not much harm done, but once compilers are involved, r-devel
> is usually preferred over r-help.
>
> -pd
>
> > On 27 Feb 2016, at 21:30 , Erin Hodgess wrote:
> >
>
Yeah, well, not much harm done, but once compilers are involved, r-devel is
usually preferred over r-help.
-pd
> On 27 Feb 2016, at 21:30 , Erin Hodgess wrote:
>
> Sorry...thought it was ok since it uses RInside and Rcpp.
>
>
> On Sat, Feb 27, 2016 at 2:15 PM, Jeff
Sorry...thought it was ok since it uses RInside and Rcpp.
On Sat, Feb 27, 2016 at 2:15 PM, Jeff Newmiller
wrote:
> This is off topic here... wrong audience. Read the Posting Guide.
> --
> Sent from my phone. Please excuse my brevity.
>
> On February 27, 2016 12:00:23
This is off topic here... wrong audience. Read the Posting Guide.
--
Sent from my phone. Please excuse my brevity.
On February 27, 2016 12:00:23 PM PST, Erin Hodgess
wrote:
>Hello again.
>
>This time, I would like to add MPI to my Fortran program. Here are the
Hello again.
This time, I would like to add MPI to my Fortran program. Here are the
Fortran and C++ codes:
program buzzy
use iso_c_binding
implicit none
include '/opt/openmpi/include/mpif.h'
integer :: rank,size,ierror,tag,status(MPI_STATUS_SIZE), i,np
integer :: argc = 100
/3.2/Rcpp/libs/
-lgfortran
./fcr
Fortran Calling RInside
This is C++, Hello World
This is R, Hello World
On Fri, Feb 26, 2016 at 10:38 PM, Erin Hodgess <erinm.hodg...@gmail.com>
wrote:
> Hello everyone.
>
> Hope you are having a nice weekend.
>
> Is it possible to
Hello everyone.
Hope you are having a nice weekend.
Is it possible to call R functions from a Fortran program, possibly via
RInside and Rcpp, please?
I tried the following that I saw on stack overflow. Here is the cpp:
#include
#include
void helloR_(int argc, char *argv[], const char *msg
Can we use all the functions of R in visual studio? The Rmath.dll and R.dll
seems only contain a part of R functions
Hi, I 'm going to use R functions in visual studio. I have investigated
this problem for several days. There're guide about
using R in embedded way,which use R.dll
com/>
> On 04 Dec 2015, at 13:38, 李琥 <081024...@fudan.edu.cn> wrote:
>
> Can we use all the functions of R in visual studio? The Rmath.dll and R.dll
> seems only contain a part of R functions
signature.asc
Description: Message signed wi
Hello R-help,
I keep noticing R functions that don't compare integers like
if(x == 2)
but instead
if(x == 2L)
Is this a long integer? Also, when do the two notations have a different
effect on the code?
Thanks in advance,
Alex
__
R-help@r
Hello,
2 is a double, 2L is an integer. Try
class(2)
[1] numeric
class(2L)
[1] integer
Hope this helps,
Rui Barradas
Em 15-05-2014 11:54, Alexander Engelhardt escreveu:
Hello R-help,
I keep noticing R functions that don't compare integers like
if(x == 2)
but instead
if(x == 2L
Hi Alex,
May be this link helps:
http://stackoverflow.com/questions/7014387/whats-the-difference-between-1l-and-1
A.K.
On Thursday, May 15, 2014 6:55 AM, Alexander Engelhardt
a...@chaotic-neutral.de wrote:
Hello R-help,
I keep noticing R functions that don't compare integers like
if(x
Hello,
Probably you will get more complete answer, but you can compare
class(1) with class(1L).
Regards,
Pascal
On Thu, May 15, 2014 at 7:54 PM, Alexander Engelhardt
a...@chaotic-neutral.de wrote:
Hello R-help,
I keep noticing R functions that don't compare integers like
if(x == 2
On 15/05/2014 11:54, Alexander Engelhardt wrote:
Hello R-help,
I keep noticing R functions that don't compare integers like
if(x == 2)
but instead
if(x == 2L)
Is this a long integer? Also, when do the two notations have a different
effect on the code?
2L is an integer. both
So in essence, it always provides the same output, but saves space and
speed.
Thanks everyone!
- Alex
On 05/15/2014 01:06 PM, Prof Brian Ripley wrote:
On 15/05/2014 11:54, Alexander Engelhardt wrote:
Hello R-help,
I keep noticing R functions that don't compare integers like
if(x == 2
Hello,
Maybe from here ?
http://www.ie.boun.edu.tr/~hormannw/BounQuantitiveFinance/Thesis/SilaHALULU.pdf
HTH
Pascal
On Fri, May 2, 2014 at 11:11 AM, prachi jain
preciousprachi...@gmail.com wrote:
Hey, I am trying to find some of the following functions in R packages:
MLEt
pt3
Hey, I am trying to find some of the following functions in R packages:
MLEt
pt3
cormatrix2vector
ParameterEst
tCopula
riskBT
I have checked every package from this link:
http://cran.r-project.org/web/packages/available_packages_by_name.html but
is unable to find the above functions. These
Hi,
In my case I don't have any static data to be written in the .r file.
I need to retrieve the data from my Database.
later send the data and the .r script to R engine and do the execution.
--
View this message in context:
http://r.789695.n4.nabble.com/Calling-R-functions-into-C-or-C
Dear All
We have recently released SPRINT v1.0.5. SPRINT provides parallelised
versions of existing R functions (e.g. statistical, machine learning,
utility) that often exceed computational limits (speed or memory) with
large or complex data sets.
SPRINT 1.0.5 now:
- runs on Mac OSX
Dear All,
In the following simple case I can't seem to get an improved fit,
despite trying all of the control possibilities. As there seem to be
no examples anywhere which show use of functions such as dnorm
within a formula, and as I am not confident at all that my formula is
correctly
PLEASE REMOVE THIS MESSAGE AND PREVIOUS COPIES ! - Many thanks
Dear All,
In the following simple case I can't seem to get an improved fit,
despite trying all of the control possibilities. As there seem to be
no examples anywhere which show use of functions such as dnorm
within a formula, and as
Dear All,
In the following simple case I can't seem to get an improved fit,
despite trying all of the control possibilities. As there seem to be
no examples anywhere which show use of functions such as dnorm
within a formula, and as I am not confident at all that my formula is
correctly
On Mon, Aug 19, 2013 at 2:08 PM, Patrick Connolly
p_conno...@slingshot.co.nz wrote:
On Sat, 17-Aug-2013 at 05:09PM -0700, Jeff Newmiller wrote:
| In most threaded multitasking environments it is not safe to
| perform IO in multiple threads. In general you will have difficulty
| performing IO
: Jeff Newmiller
Date: 8/19/2013 5:18 PM
To: Patrick Connolly;
Cc: Hopkins, Bill;r-help@R-project.org;
Subject:Re: [R] Appropriateness of R functions for multicore
I don't know... I suppose it depends how it fails. I recommend that you
restrict yourself to using only the data that was passed
-support .
Bill Hopkins
Written using a virtual Android keyboard...
-- Original message --
From: Jeff Newmiller
Date: 8/19/2013 5:18 PM
To: Patrick Connolly;
Cc: Hopkins, Bill;r-help@R-project.org;
Subject:Re: [R] Appropriateness of R functions for multicore
I don't know... I
For tasks which don't involve I/O but fail with mclapply, how does one
work out where the problem is? The handy browser() function which
allows for interactive diagnosis won't work with parallel jobs.
What other approaches can one use?
?dump.frames - interactive debugging after the fact.
of which core R functions are
| safe for use with multicore? Of current interest, I have tried calling
| read.table() via mclapply() to more quickly read in hundreds of raw
| data files (I have a 24 core system with 72 GB running Ubuntu, a
| perfect platform for multicore). There was a 40% failure
systematic evaluation of which core R functions
are
| safe for use with multicore? Of current interest, I have tried
calling
| read.table() via mclapply() to more quickly read in hundreds of raw
| data files (I have a 24 core system with 72 GB running Ubuntu, a
| perfect platform for multicore
Newmiller
Sent: Monday, August 19, 2013 4:19 PM
To: Patrick Connolly
Cc: r-help@R-project.org; Hopkins,Bill
Subject: Re: [R] Appropriateness of R functions for multicore
I don't know... I suppose it depends how it fails. I recommend that you
restrict yourself to using only the data
Has there been any systematic evaluation of which core R functions are safe for
use with multicore? Of current interest, I have tried calling read.table() via
mclapply() to more quickly read in hundreds of raw data files (I have a 24 core
system with 72 GB running Ubuntu, a perfect platform
) .OO#. .OO#. rocks...1k
---
Sent from my phone. Please excuse my brevity.
Hopkins, Bill bill.hopk...@level3.com wrote:
Has there been any systematic evaluation of which core R functions are
safe for use
One could get in the habit of typing
conflicts()
from time to time.
Or perhaps
conflicts(,TRUE)$.GlobalEnv
Various ways of semi-automating this come to mind, such as putting it in
one's .Rprofile file.
-Don
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
I sometimes find that a function I have defined has the same name as an R
core function. In most cases I have no desire to redefine the core R
function and would prefer to give my function a different name.
The problem is that R lets users redefine its core functions without any
warning. Is there
On 13-08-03 3:47 AM, Rguy wrote:
I sometimes find that a function I have defined has the same name as an R
core function. In most cases I have no desire to redefine the core R
function and would prefer to give my function a different name.
The problem is that R lets users redefine its core
hello,
what is the meaning of a fullstop in the below R-Ffunction (like in '.GADM')
library(dismo)
Lade nötiges Paket: raster
Warnmeldungen:
1: Paket dismo wurde unter R Version 2.15.3 erstellt
2: Paket raster wurde unter R Version 2.15.3 erstellt
getData
function (name = GADM, download =
just found it myself:
in '.GADM' the leading period designates an internal function - the source
can be viewed with:
getAnywhere('.GADM')
2013/7/12 Kay Cichini kay.cich...@gmail.com
hello,
what is the meaning of a fullstop in the below R-Ffunction (like in
'.GADM')
library(dismo)
Lade
On 13/07/13 08:57, Kay Cichini wrote:
just found it myself:
in '.GADM' the leading period designates an internal function - the source
can be viewed with:
getAnywhere('.GADM')
I think that's a bit misleading. In general, the names of functions (or
other objects) which
are internal to a
poster:
Begin forwarded message:
From: David Winsemius dwinsem...@comcast.net
Subject: Re: [R] functions and matrices
Date: July 1, 2013 6:21:09 PM PDT
To: Rolf Turner rolf.tur...@xtra.co.nz
On Jul 1, 2013, at 5:09 PM, Rolf Turner wrote:
On 02/07/13 11:37, David Winsemius wrote
Dear R-user,
May I seek your help, please. I have two matrices, u and v, elements of
which are some functions
of x. I just want to multiply them and express the determinant of the
resulting matrix as a function of
x and of course, this is for some reason. Actually the original problem has
more
Basically R does things *numerically* and what you want to do really
amounts to symbolic manipulation. Of course R could be cajoled into
doing it --- see fortune(Yoda) --- but probably only with a great deal of
effort and code-writing.
OTOH you could quite easily write a function that would
On Jul 1, 2013, at 3:32 PM, Rolf Turner wrote:
Basically R does things *numerically* and what you want to do really
amounts to symbolic manipulation. Of course R could be cajoled into
doing it --- see fortune(Yoda) --- but probably only with a great deal of
effort and code-writing.
Dear list,
I have a problem with nested functions and I don't manage to get it
solved. I know I should be looking in environments, and I have tried a
lot, but it keeps on erroring.
An easy version of the problem is as follows:
innerfunction-function()
{
print(paste(a, from inner
Hello,
See the help page for parent.frame, and use its argument to go back to
the frames of variables 'a' and 'b':
innerfunction-function()
{
env1 - parent.frame(1) # for 'b'
env2 - parent.frame(2) # for 'a'
print(paste(env2$a, from inner function))
print(paste(env1$b,
, June 12, 2013 10:42 AM
To: r-help@r-project.org
Subject: [R] Functions within functions - environments
Dear list,
I have a problem with nested functions and I don't manage to get it
solved. I know I should be looking in environments, and I have tried a
lot, but it keeps on erroring
On 10.05.2013 08:19, Sachinthaka Abeywardana wrote:
Hi all,
Would be great if you could help me get my head around the further
arguemnts in the optim function. Let's say we have f and g as shown:
f-function(x,a,b){(x-a)^2+b}
optim(100,fn=f,gr=NULL,2,5) #the NULL is annoying
Hi all,
Would be great if you could help me get my head around the further
arguemnts in the optim function. Let's say we have f and g as shown:
f-function(x,a,b){(x-a)^2+b}
optim(100,fn=f,gr=NULL,2,5) #the NULL is annoying
g-function(x,a){2*(x-a)} optim(100,fn=f,gr=g,2,5)
1. How does optim
Dear Rees Morrison,
Re:
(...)
What additional code would create a table output, with the function name in
the left column, sorted alphabetically within a pattern, and the pattern of
the function in the column to the right. Users could then sort by those
patterns, rename some to suit
Dear Duncan, dear Rui,
thanks for your replies. You are correct regarding the additional
paranthesis. I probably copied the wrong code. I, however, get this
inlinedocs error with the correct version. After contacting the package
maintainer I think this is now added to inlinedocs list of
Dear R community,
I have a problem when I use functions as default values for argumnents
in other functions. When I use curly brackets { here, I can not create a
package with inlinedocs. It will give me the error when using
package.skeleton() in my package structure:
Error in parse(text =
On 24/01/2013 1:32 PM, Jannis wrote:
Dear R community,
I have a problem when I use functions as default values for argumnents
in other functions. When I use curly brackets { here, I can not create a
package with inlinedocs. It will give me the error when using
package.skeleton() in my package
Hello,
Your function declaration has a syntax error, one left parenthesis too
much. Corrected it would be
dummyfunction - function(filters = function(x) {b = 0; x b} ){
# rest of code here
filters # this returns a function, don't need return()
}
x - -5:5
f - dummyfunction() # this
Hello,
Sorry, it's RIGHT parenthesis.
Rui Barradas
Em 24-01-2013 18:54, Rui Barradas escreveu:
Hello,
Your function declaration has a syntax error, one left parenthesis too
much. Corrected it would be
dummyfunction - function(filters = function(x) {b = 0; x b} ){
# rest of code here
I want to try Bayesian cluster analysis. Someone suggested using package
mcclust. Is there a website that says how to install mcclust or another
appropriate Bayesian package? Including the appropriate R functions that I
can follow?
I am trying to get probability of membership for each individual
...@yahoo.com
To: arun smartpink...@yahoo.com
Cc: r-help@r-project.org r-help@r-project.org
Sent: Wednesday, July 25, 2012 2:01 PM
Subject: Re: [R] R functions to forecast using neural network
Hi,
It's only for single hidden layer. Is there any other functions?
Sajeeka Nanayakkara
Hi,
It's only for single hidden layer. Is there any other functions?
Sajeeka Nanayakkara
Cc: R help r-help@r-project.org
Sent: Wednesday, July 25, 2012 1:03 AM
Subject: Re: [R] R functions to forecast using neural network
Hi,
Possibly ?nnet package.
A.K
Nanayakkara
Cc: R help r-help@r-project.org
Sent: Wednesday, July 25, 2012 1:03 AM
Subject: Re: [R] R functions to forecast using neural network
Hi,
Possibly ?nnet package.
A.K.
- Original Message -
To: r-help@r-project.org r-help@r-project.org
Is there any R functions to forecast, using feedforward bakpropagation
algorithm in neural networks?
Sajeeka Nanayakkara
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Hi,
Possibly ?nnet package.
A.K.
- Original Message -
From: Sajeeka Nanayakkara nsaje...@yahoo.com
To: r-help@r-project.org r-help@r-project.org
Cc:
Sent: Tuesday, July 24, 2012 2:21 PM
Subject: [R] R functions to forecast using neural network
Is there any R functions to forecast
On 14.07.2012 00:41, Julien Salanie wrote:
I have a read a lot about the benefits of vectorization in R. I have a
program that takes almost forever to run. A good way to see if I have
learned something ... My problem can be summarized like this : I have a
nonlinear function of several variables
I have a read a lot about the benefits of vectorization in R. I have a
program that takes almost forever to run. A good way to see if I have
learned something ... My problem can be summarized like this : I have a
nonlinear function of several variables that I want to optimize over one
letting the
R-helpers:
It looks like http://finzi.psych.upenn.edu/search.html has stopped
spidering the mailing lists -- this used to be my go-to site for
searching for R solutions. Are there any good replacements for this?
I want to be able to search both functions and mailing lists at the
same time.
http://www.rseek.org/ perhaps. [Take a look at the tabs on the RHS
after you do a search]
Michael
On Thu, Apr 5, 2012 at 11:36 AM, Jonathan Greenberg j...@illinois.edu wrote:
R-helpers:
It looks like http://finzi.psych.upenn.edu/search.html has stopped
spidering the mailing lists -- this
Use rseek.org
On Thu, Apr 5, 2012 at 10:36 AM, Jonathan Greenberg j...@illinois.eduwrote:
R-helpers:
It looks like http://finzi.psych.upenn.edu/search.html has stopped
spidering the mailing lists -- this used to be my go-to site for
searching for R solutions. Are there any good
I usually use http://www.rseek.org
On Thu, Apr 5, 2012 at 11:36 AM, Jonathan Greenberg j...@illinois.edu wrote:
R-helpers:
It looks like http://finzi.psych.upenn.edu/search.html has stopped
spidering the mailing lists -- this used to be my go-to site for
searching for R solutions. Are there
The sos package is designed to search help pages only and sort the
results by package. It includes a vignette describing how to get the
results as an Excel file giving an efficient summary of which packages
contain help pages of interest including the latest date updated, etc.
I designed the
sos is a great way to search help pages, agreed. But the question is
about functions AND mailing list archives, which requires an online
solution. (See subject line.)
Sarah
On Thu, Apr 5, 2012 at 12:56 PM, Spencer Graves
spencer.gra...@prodsyse.com wrote:
The sos package is designed to search
Hi, Sarah: You were correct: I failed to read the question with
sufficient care. Thanks for your original reply and for the
correction. Spencer
On 4/5/2012 10:11 AM, Sarah Goslee wrote:
sos is a great way to search help pages, agreed. But the question is
about functions AND mailing list
Hi all,
I have a newbie question:
If I have a function with the following documentation:
ca.jo(x, type = c(eigen, trace), ecdet = c(none, const, trend), K = 2,
spec=c(longrun, transitory), season = NULL, dumvar = NULL)
Let's take type as an example... if I omit this parameter when
calling the
The first one -- this is implemented by match.arg().
Michael
On Mon, Apr 2, 2012 at 5:30 PM, Michael comtech@gmail.com wrote:
Hi all,
I have a newbie question:
If I have a function with the following documentation:
ca.jo(x, type = c(eigen, trace), ecdet = c(none, const, trend), K =
Yes, it's a bit subtle.
Argument matching is usually done through match.arg(), so see
?match.arg
for an explanation..
(the first chosen).
-- Bert
On Mon, Apr 2, 2012 at 2:30 PM, Michael comtech@gmail.com wrote:
Hi all,
I have a newbie question:
If I have a function with the following
Okay! Thank you both for your help!
So it chooses the 1st one by default...
Thank you!
On Mon, Apr 2, 2012 at 4:43 PM, Bert Gunter gunter.ber...@gene.com wrote:
Yes, it's a bit subtle.
Argument matching is usually done through match.arg(), so see
?match.arg
for an explanation..
(the
Just to point out another reference, which is the R Language Definition, where
in section 4.3.2:
http://cran.r-project.org/doc/manuals/R-lang.html#Argument-matching
entitled Argument Matching, there are some pointers to the use of
match.arg(), leading you to the help page pointed to by Bert
. In my Gibbs
sampler I am using some basic R functions (like the rep function for example)
and I was wondering if it was possible to call the R rep function (or any other
existing R function) from within my C++ code. (There may be an equivalent of
the rep function already in C++ but my main
may be trivial, but my search so far have been unsuccessful. In my Gibbs
sampler I am using some basic R functions (like the rep function for example)
and I was wondering if it was possible to call the R rep function (or any other
existing R function) from within my C++ code. (There may
I am not sure if you have found Rcpp yet
I will take a look for sure! Thanks a lot!
Ian
-Original Message-
From: Dirk Eddelbuettel [mailto:e...@debian.org]
Sent: 5 janvier 2012 15:18
To: Ian Schiller
Cc: r-help@r-project.org
Subject: Re: [R] Calling R functions within C/C++
On 5
Hi,
I'm trying to call some of R's statistical functions within my C++
code, developed under VS2005, but I can't seem to find out how to do
it. I tried RInside and Rcpp, but they either don't work on Windows or
with VS. Is there a way to do this?
Appreciate the help.
Regards,
1 - 100 of 265 matches
Mail list logo