Displaying 20 results from an estimated 3000 matches similar to: "Calling R functions within C/C++"
2012 Mar 13
1
Coding C++ in R. What is faster : Using bosst external libraries or R.h header file?
Hi everyone,
I have built an R package and for the sake of speed I have decided to rewrite some part of the code in C++. In my original R code I use the pnorm, qnorm, rnorm, pgamma, dgamma, rgamma, rbeta and runif function. First I was thinking in going with the boost libraries, but I noticed the functions described above are available within the R.h header file (or is it Rmath.h?).
So my
2011 Mar 24
3
R CMD build creates tar file instead of tar.gz file
Dear all,
I'm trying to create my own package by following for instance http://epub.ub.uni-muenchen.de/6175/2/tr036.pdf In step 6 (page 19) it says that the command 'R CMD build <mypackage>' should result in a tar.gz file. However, after running the command I end up with a tar file only (no gz extension). I also get the following warnings in the command prompt
C:\Program
2007 Nov 14
2
no applicable method for "names"
hi,
after installing R-2.6.0 the function "names" doesn't work anymore on my
windows xp machine.
for example for a simple vector i get
> z <- 1:3
> names(x)
Error in UseMethod("name"): no applicable method for "names"
... instead of NULL. the same is true for lists and dataframes. attr(z,
"names") is a workaround, but i don't want to
2013 Jan 26
1
Specifying the OU upon join
Hello,
I'm stumped. I'm trying to join a machine to a domain and I get this :
# samba-tool domain join campus.mcgill.ca DC -Udavid.salib at CAMPUS.MCGILL.CA
Finding a writeable DC for domain 'campus.mcgill.ca'
Found DC DC01.campus.MCGILL.CA
Password for [david.salib at CAMPUS.MCGILL.CA]:
workgroup is CAMPUS
realm is campus.MCGILL.CA
checking sAMAccountName
Adding
2013 Dec 02
2
FTS solr issue with second private namespace
Hi all,
I have just stumbled over an issue with the FTS plugin of dovecot.
For our primary namespace, INBOX and its subfolders, searching works
without any problems but in a second namespace, which I have created
for old/archived mails, searching of the mail text/body does not work.
I can see the search request in the tomcat log but no result is created
and the mail client (Thunderbird) keeps
2009 Jul 23
2
Antw: How to extract the upper xlim and ylim of my plot?
You may want to use the function corner.label from the plotrix-package.
Frank
>>> Mark Na <mtb954@gmail.com> 21.07.2009 23:03 >>>
Dear R-helpers,
I wish to place some text in a plot, at approx 10% of my upper xlim
and
approx 90% of my upper ylim, i.e.
> plot(log(all$SR,10)~log(all$AREA,10))
> text(.1*max(xlim),.9*max(ylim),"text to be placed")
(I know
2008 Sep 08
4
mixed model MANCOVA
Hello,
I need to perform a mixed-model (with nesting) MANCOVA, using Type III sums of squares. I know how to perform each of these types of tests individually, but I am not sure if performing a mixed-model MANCOVA is possible. Please let me know.
Erika
<>< <>< <>< <>< <>< <>< <><
Erika Crispo, PhD candidate
2006 Nov 03
2
Rank transformation and the linear mixed model
Hello,
I am looking for references about mixed models built on rank transformed
data.
Did anybody ever consider this topic?
Thank you,
Bruno
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bruno L. Giordano, Ph.D.
CIRMMT
Schulich School of Music, McGill University
555 Sherbrooke Street West
Montr?al, QC H3A 1E3
Canada
http://www.music.mcgill.ca/~bruno/
2002 Jan 06
1
German translation of OggEnc
Hello,
I translated OggEnc (RC3) into German language. Nothing fancy.
Neither Goethe nor Schiller.
Could anyone please make a Win32 build? I donĀ“t have a
Win32 compiler.
Sourcecode of modified files is available at
http://www.metalunleashed.de/oggenc_ger.zip
Just replace RC3 files with the modified versions.
I hope this is useful for anyone.
bye,
Maik Merten
--
MetalUnleashed:
2009 Dec 12
1
Antw: Export R output to Word/RTF?
I am using SWord from statconn: http://rcom.univie.ac.at/download.html
It allows you to put r-commands into Word (similar to odfWeave). Output
is directed to Word including figures and tables. It is still a
beta-version but works fine.
Frank Bloos
>>> Wenjie Lee <wenjieleemaillist@gmail.com> 12.12.2009 00:28 >>>
Hi R Experts,
I'm aware of pdf(), jpeg(),...
2006 Aug 10
1
logistic discrimination: which chance performance??
Hello,
I am using logistic discriminant analysis to check whether a known
classification Yobs can be predicted by few continuous variables X.
What I do is to predict class probabilities with multinom() in nnet(),
obtaining a predicted classification Ypred and then compute the percentage
P(obs) of objects classified the same in Yobs and Ypred.
My problem now is to figure out whether P(obs) is
2005 Apr 22
3
Installing packages from source on WindowsXP
Hi,
I'm having some problems installing packages from the source files on
Windows, using R CMD INSTALL pkg. I'm running WindowsXP, and I've
followed the instructions as per the README.packages file from the R
installation. I ran into a hitch, with the install failing following a
"hhc: not found" warning. I figured out that this was related to the
html help workshop.
2000 Sep 13
2
minimization
Hi, I got a code from S that uses 'nlminb' to minimize a function
with constraints. Is there a similar function in R?
Thanks.
R. Heberto Ghezzo Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
heberto at meakins.lan.mcgill.ca
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2006 Oct 05
1
mixed models: correlation between fixed and random effects??
Hello,
I built 4 mixed models using different data sets and standardized variables
as predictors.
In all the models each of the fixed effects has an associated random effect
(same predictor).
What I find is that fixed effects with larger (absolute) standardized
parameter estimates have also a higher estimate of the related random
effect. In other words, the higher the average of the absolute
2000 Jun 12
1
Openssh on SCO Openserver Release 5
Yo Andrew!
What version of Openssh are you trying?
RGDS
GARY
On Mon, 12 Jun 2000, Andrew McGill wrote:
> Date: Mon, 12 Jun 2000 15:26:53 +0200
> From: Andrew McGill <andrewm at datrix.co.za>
> To: djm at ibs.com.au
> Cc: gem at rellim.com
> Subject: Openssh on SCO Openserver Release 5
>
> Hi there
>
> Your e-mail address appears in the README for openssh,
2011 Jul 27
2
replacing elements of vector through elements of another vector
Hello everybody,
I hope this question is not too silly but I'm almost going crazy about
that and could not find a solution.
I have two variables, say A and B and I would like to combine them in C.
In particular I want a C-value of B when B is not NA and the A value in
case that B is NA:
A B C
2 NA 2
3 4 4
NA 3 3
4 1 1
2 NA 2
1 4 4
NA NA NA
5 3 3
4 1 1
I
2008 Feb 07
1
Don't understand removing constant on 1-way ANOVA
I am playing with the a 1-way anova with and without the "-1" option.
I have a simple cooked up example below but it behaves the same on a more
complex real example.
From what I can tell:
1) the estimated means of the different levels are correctly estimated
either way (although reported as means with the -1 and as contrasts without
the -1 as expected)
2) the residuals are
2005 Apr 18
2
Very Slow Gower Similarity Function
Hello,
I am a relatively new user of R. I have written a basic function to calculate
the Gower similarity function. I was motivated to do so partly as an excercise
in learning R, and partly because the existing option (vegdist in the vegan
package) does not accept missing values.
I think I have succeeded - my function gives me the correct values. However, now
that I'm starting to use it with
2000 Jul 26
4
differential equations
Hi, Does somebody knows of the existence of a library of functions
for solving differential equations, I need a solver for a system of non
linear first order differential equations. I think there was something
in IMSL but that was a long time ago and probably there are some
new algorithms in the new now.
Thanks for any pointers.
.
R. Heberto Ghezzo Ph.D.
Meakins-Christie Labs
McGill
2004 Jun 22
1
Need for advise for Correspondence Analysis
Dear R users,
I m quite a novice in using R for factor analysis and I would need some help to choose the right function.
I have a contingency table and I would like to perform a Correspondence analysis on this table, followed by a hirarchical clustering of my variables projected in on the first principal components.
Here are my question :
- what is the more appropriate function to do so ...