Displaying 20 results from an estimated 3000 matches similar to: "ld warning when installing packages with dll/so"
2005 May 03
0
R on Mac OS X: odd errors when doing install.packages()
Should I be worried? The installation seems to go through fine and
apparently nothing is broken. The errors I repeatedly get are like this:
g++ -no-cpp-precomp -I/Library/Frameworks/R.framework/Resources/include -I/usr/
local/include -DUNIX -DOPTIM -DNONR -fno-common -g -O2 -c unif.cpp -o unif.o
g++ -bundle -flat_namespace -undefined suppress -L/usr/local/lib -o rgenoud.so c
hange_order.o
2004 Mar 30
1
Console/command line output
Hi all,
I am working on Macos x 10.3 (Panther) to build a package consisting of
C/C++ code that is called from R. In the C/C++-sources I use several
commands to print info to the console:
std::cout << "info" << endl;
and:
Rprintf("info\n");
Both work fine when R is run on the command line but neither works when
running Raqau (I did check the preference boxes
2004 Jul 05
1
passing char's from C to Fortran (mac os x)
Hello All,
In some package I use a c-routine which calls a fortran routine which
expects a char-string as input.
As per the writing R-extensions manual,
the Fortran routine is declared in C as:
void F77_NAME (setoptions) (char **option);
and then it is calles as follows:
char **option;
option = new char*[1];
option[0] = new char[256];
option[0] = strcpy(option[0],"Iteration
2005 May 18
0
Advice requested: installation failing for foreign_0.8-7, mgcv_1.2-4, rpart_3.1-23, VR_7.2-15
I'm running R Version 2.1.0 (2005-04-18), ISBN 3-900051-07-0
on Machine Model: Power Mac G5
CPU Type: PowerPC 970 (2.2)
Number Of CPUs: 2
CPU Speed: 2 GHz
L2 Cache (per CPU): 512 KB
Memory: 2 GB
with software: System Version: Mac OS X 10.3.9 (7W98)
Kernel Version: Darwin 7.9.0
Here is what happened when I tried to update the "foreign" package
(similar
2006 Nov 29
0
Problem with PPC packages on Intel Mac
Hi all
I have recently moved to an Intel Mac and installed the latest R (2.4.0) but
I am having trouble with a number of packages. When I try to load them I
often get the following message:
Error: package 'pspline' was built for powerpc-apple-darwin6.8
I have tried to update all the packages I use with Package Manager but this
doesn't appear to help.
Is there some way of
2005 Mar 22
5
Convert timeseries to transition matrix
Hi All,
Does someone have an idea of how to cleverly convert a categorical
timeseries into a transition matrix?
Ie, I have something like:
x<- c(1,1,2,1,1,2,2,2,1,2),
And I want a matrix with counts and/or probabilities:
> tr <- matrix(c(2,3,2,2),2,2)
> tr
[,1] [,2]
[1,] 2 2
[2,] 3 2
Meaning that there are two transitions from 1 to 1, two from 1 to 2, three
from 2 to 1
2005 May 22
3
constraints
Is there a package in R that handles general linear (in-)equality + box
constrained optimization?
If it is not there, could anyone advise me which way to go?
And/or point me to packages that solve these problems partially?
best, ingmar
--
Ingmar Visser
Department of Psychology, University of Amsterdam
Roetersstraat 15, 1018 WB Amsterdam
The Netherlands
http://users.fmg.uva.nl/ivisser/
tel:
2006 Oct 13
3
Barplot legend position
Dear useRs,
I'm trying to create a barplot like so:
x=matrix(1:10,2,5)
barplot(x,leg=c("left","right"),besid=T)
The legend is placed in default position topright, however the data are
plotted there too. I tried controlling the legend position by adding
x="topleft" but this results in an error that x matches multiple formal
arguments.
Leaving out the legend
2008 Apr 07
2
tcltk issue remains
Dear R-help,
I'm trying to load the fGarch package and keep running into problems
with tcltk:
After succesfully instaling fGarch (and dependencies) I get:
>library(fGarch)
Loading required package: fBasics
Loading required package: fImport
Loading required package: fSeries
Loading required package: robustbase
Loading required package: fCalendar
Loading required package: MASS
Loading
2008 Dec 17
1
repeated measures aov with weights
Dear R-help,
I'm facing a problem with defining a repeated measures anova with
weighted data.
Here's the code to reproduce the problem:
# generate some data
seed=11
rtrep <- data.frame(rt=rnorm(100),ti=rep(1:5,20),subj=gl
(20,5,100),we=runif(100))
# model with within factor for subjects/repeated measurements, no
problem
aov(rt~ti + Error(subj/ti),data=rtrep)
#model with weights
2005 Apr 28
1
help files and vignettes
Hi all,
I'm writing a vignette for my package, and I would like to include some of
the package help files in there as well. Is there an easy way of doing so?
I tried using R CMD Rdconv to generate latex files from .Rd files but I am
not sure how to include these into a .Rnw file (ie the vignette source). The
resulting file from Rdconv do not readily compile using latex ...
The other option I
2005 Oct 31
1
information matrix in random effects model
I use the lme function from the nlme library (or alternatively from the
Matrix library) to estimate a random effects model. Both functions return
the covariance matrix of the estimated parameters. I have the following
question:
Is it possible to retrieve the information matrix of such a model (ie from
the fitted object)? In particular, the information matrix can be computed as
a sum of individual
2004 May 12
4
bus error macosx/off-topic
Hi All,
I'm building a package using C/C++ and Fortran code which usually runs fine.
However I do get occasional bus errors around the time of exiting one of the
C functions.
Where do I need to be looking to solve this problem?
Do bus errors stem from unmapped memory exceptions? How can I find out if
that is what is happening while running R?
Any hints greatly appreciated.
Best, ingmar
2005 May 03
1
Rd.sty error
I had written a vignette and included a
\usepackage{Rd} command to make it possible to include
latex'ed Rd files in the vignette. However, when loading
Rd.sty texShop produces the following error:
l. 180 ...d}[1]{\ifmmode\bm{#1}\else\textbf{#1}\fi}
This is on Max OS X 3.9 and R 2.0.1
Has anyone seen this before and/or is it problematic? I'm not sure whether
the output suffers from this
2017 Jun 30
0
package to fit mixtures of student-t distributions
gamlss.mx can fit these I believe (although no experience with these myself)
flexmix may be (relatively easily) adaptable to accomplish this as well
hth, Ingmar
Ingmar Visser
Universitair Hoofddocent ontwikkelingspsychologie | Directeur College
Psychologie
Afdeling Psychologie | Faculteit Maatschappij- en Gedragswetenschappen |
Universiteit van Amsterdam
Bezoek | Nieuwe Achtergracht 129B | Kamer
2009 Aug 06
0
Fitting Mixture of Non-Central Student's t Distributions
Dear Ingmar & Dave,
Thanks a lot for your help and sorry for the late reply.
Finally, I've found a way to separate the mixture of distributions
(empirically). But the gamlss package looks great, I'm sure it will help
me during my further studies.
Kind regards,
Susanne
On 15 Jun 2009, at 20:09, Ingmar Visser wrote:
> Dear Susanne & Dave,
>
> The gamlss package family
2007 Apr 16
1
flexmix glm warning
Dear R-helpers & Friedrich Leisch,
I'm trying to fit a mixture of regression models on attached data set
by doing the following:
agl <- read.table("agl.txt")
mod1 <- flexmix(resp~gng+csc|Subject,data=agl,
model=FLXglm(family="binomial"),k=2)
The result is a (varying) number of the following warnings:
Warning messages:
1: non-integer #successes in a
2007 Jan 05
1
Efficient multinom probs
Dear R-helpers,
I need to compute probabilties of multinomial observations, eg by doing the
following:
y=sample(1:3,15,1)
prob=matrix(runif(45),15)
prob=prob/rowSums(prob)
diag(prob[,y])
However, my question is whether this is the most efficient way to do this.
In the call prob[,y] a whole matrix is computed which seems a bit of a
waste.
Is there maybe a vectorized version of dmultinom which
2005 Dec 01
2
suppress checking chm files in R CMD check on Windows
Dear R-helpers,
When installing a source package I can suppress the compilation of .chm
files by using the --docs="normal" option. Is it also possible to suppress
the creation and checking of .chm files when calling R CMD check ?
best, ingmar
2004 Jul 26
0
choosing constraints for function optim method="L-BFGS-B" whenthey are in terms of other parameter values
Hi Tom,
I am not entirely sure what the problem, you haven't been very specific.
If you want general linear constraints on your parameters, ie linear combinations of
parameters summing to some value, constrOptim may be of help.
hth, ingmar
Ingmar Visser
Developmental Processes Research Group
Department of Psychology
University of Amsterdam
http://users.fmg.uva.nl/ivisser/
-----Original