Displaying 20 results from an estimated 4000 matches similar to: "Rcmd SHLIB: another problem"
2001 Oct 18
3
Rcmd SHLIB in rw1031 (R for Win)
Thanks for the answers on readme.packages.
I have installed Rw1031 from SetupR.exe including the option
for compiling source files and, following directions in
www.stats.ox.ac.ul/pub/Rtools, have installed:
-tools.zip
-Perl (Active Perl)
-mingw-1.1.tar.gz
-copied sh.exe to c:\bin\sh.exe
After Perl installation, its directory is added to my path. I have also
added the directory where the R
2001 Dec 12
1
RE: [R] Rcmd SHLIB problem
Yes, changing line 67 of SHLIB as Uwe suggested worked:
C:\TEMP>Rcmd SHLIB tryf.f
make[1]: `libR.a' is up to date.
rm -f -f tryf.a
ar cr tryf.a *.o
ranlib tryf.a
------- Building tryf.dll from tryf.a --------
echo LIBRARY tryf > tryf.def
echo EXPORTS >> tryf.def
nm tryf.a > Defs
sed -n '/^........ [BCDRT] _/s/^........ [BCDRT] _/ /p' Defs >> tryf.def
rm -f Defs
2001 Nov 07
2
Rcmd?
Hello,
a short question:
I cannot find the Rcmd file in the my installed Windows R Program.
It is not known as a command inside R (which is not intended as I
suppose)
nor as an executable or similar file elsewhere?
How can I make my own package?
Holger
--
PD Dr. habil. Holger Perlt
Diplomphysiker/Gesch?ftsf?hrer
Reinforcement Control GmbH
Karl-Heine-Str. 99
04229 Leipzig
Germany
Phone: ++49
2001 Dec 12
0
RE: [R] Rcmd SHLIB problem
Prof. Ripley,
Seems like mine is 629:
c:\home>perl -v
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2001, Larry Wall
Binary build 629 provided by ActiveState Tool Corp.
http://www.ActiveState.com
Built 12:27:04 Aug 20 2001
Will try a newer build and see.
Regards,
Andy
> -----Original Message-----
>
2001 Nov 12
1
uninstal rw1030 (Win9*)
Hi all,
I installed rw1031 but not uninstalled rw1030 just
to make sure everything was working normally with
the new version. After few weeks, I'm ready to uninstal
rw1030. My question is: should I use the rw1030 unins00.exe
program or could this program damage the rw1031 inatallation (perhaps
modifies the registry...) ? Perhaps
should I just delete the rw1030 directory?
Thanks
Dr.
2001 Oct 17
1
read.packages: where is it?
Hi!
The rw-FAQ.html (entry 7.2 How do I include compiled C code?) mentions
the file readme.packages, which I do no find in my installation. I've
tried at CRAN and cannot find it. Doe anyone know where is it?
Thanks
Agus
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es
2003 Oct 15
2
Subseting in a 3D array
Hi!
I have a 3d array:
> dim(ib5km15.dbc)
[1] 190 241 19
and a set of positions to extract:
> ib5km.lincol.random[1:3,]
[,1] [,2]
[1,] 78 70
[2,] 29 213
[3,] 180 22
Geting the values of a 2D array
for that set of positions would
be:
> ima <- ib5km15.dbc[,,1]
> ima[ib5km.lincol.random[1:10,]]
but don't find the way for the case
of the 3D array:
>
2001 Dec 11
2
Rcmd SHLIB problem
Dear R-help,
I'm having problem creating a dll using Rcmd SHLIB with R-1.3.1 on WinNT4:
C:\TEMP>Rcmd SHLIB tryf.o
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
C:\TEMP>Rcmd SHLIB tryf.f
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
I
2001 Dec 11
2
Rcmd SHLIB problem
Dear R-help,
I'm having problem creating a dll using Rcmd SHLIB with R-1.3.1 on WinNT4:
C:\TEMP>Rcmd SHLIB tryf.o
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
C:\TEMP>Rcmd SHLIB tryf.f
make[1]: `libR.a' is up to date.
make: *** No rule to make target `'tryf.o', needed by `tryf.a'. Stop.
I
1999 Jul 15
2
S objects to R
I've tried to move objects from S to R.
In S+, I use data.dump() and data.restore().
I've made a file all.dum using
data.dump(ls()) in S+,
but the R command
load("all.dum") gives an error:
> load("/jaz/all.dum")
Error: restore file corrupted -- no data loaded
Is there any way to pass my objects from S+ to R?
Thanks
Agus
Dr. Agustin Lobo
Instituto de Ciencias de
2002 Feb 22
2
R gnome and lda: found the difference
Saving lda.default as text files from within gui="none" and from within
gui="gnome"
and comparing afterwards with diff, I get:
alobo at humboldt:> diff lda.default.gnome.txt lda.default.nognome.txt
1c1
< function (x, grouping, prior = proportions, tol = 1, method =
c("moment",
---
> function (x, grouping, prior = proportions, tol = 1e-04, method =
2001 Jul 22
0
lapply and for
Agustin Lobo asks (and I interpolate in his question)
> -----Original Message-----
> From: Agustin Lobo [mailto:alobo at ija.csic.es]
> Sent: Monday, 23 July 2001 7:45 AM
> To: r-help
> Subject: [R] lapply and for
>
>
> Given a list as such:
>
> > milista
> $"1":
> [1] 23 25 11
>
> $"2":
> [1] 34 2
>
>
2002 Oct 10
0
Re: [R-gui] NEdit Highligth patterns for R
-----Forwarded Message-----
> From: Ernesto Jardim <ernesto at ipimar.pt>
> To: Agustin Lobo <alobo at ija.csic.es>
> Subject: Re: [R-gui] NEdit Highligth patterns for R
> Date: 10 Oct 2002 14:36:24 +0100
>
> Hi
>
> You have to install the *.pats file.
>
> Use
>
> nedit -import R-5.1.pats
>
> then "save defaults".
>
> If
2002 Dec 13
1
Advice on long for loop
I'd appreciate advice on the following:
I've written an R function
that uses 3 vectors (temperature,
precipitation and potential evapotranspiration)
for a given site, calculates a water budget
(which implies few (<4) iterations), and, from
thresults of this water budget, calculates a number of
bioclimatic indices.
Now I want to calculate these indices
for a large number of sites
2002 Apr 17
4
union of lists
Hi there,
Given 2 lists of integer vectors, i.e.:
> lista1
$"1"
[1] 1 34 5
$"2"
[1] 2 1
$"3"
[1] 3 10 15
> lista2
$"1"
[1] 1 5
$"2"
[1] 2 1
$"3"
[1] 3 10 29
I want to obtain the union of both, defined
as the union of the vectors, that is
lista.union[[1]] <- union(lista1[[1]],lista2[[1]]):
> lista.union
2002 Jan 18
3
readline() to vector
Hi!
I'm trying to use readline() to ask for xlim() and ylim() values
for a subsequent plot. I'm doing:
lim <- readline("Enter xlim and ylim values: ")
then would like to use the values in lim for a plot:
plot(etc, xlim=lim[1:2],ylim=lim[3:4])
The problem is that lim is a character,i.e.,
"10,20,-10,50"
or
"c(10,20,-10,50)"
depending on the input to
2001 Nov 26
2
summary() and range(): inconsistency?
I've found the following and I'm kind
of confused:
> summary(delme)
Min. 1st Qu. Median Mean 3rd Qu. Max.
1 2950 5699 5756 8572 11680
> range(delme)
[1] 1 11675
summary() and range() give different Max. value for the same
vector!
Agus
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel
2001 Jul 24
2
segmentation fault
I'm experiencing segmentation faults from time to time
that abruptely end my R sesion. In such cases, is there
any way to recover the work done? (i.e., is there
any temporal file that I could use?)
Thanks
Agus
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es
2003 Jul 04
1
Problem with fitdistr for beta
I have the following problem:
I have a vector x of data (0<x<=1 ) with
a U-shaped histogram and try to fit a beta
distribution using fitdistr. In fact,
hist(rbeta(100,0.1,0.1)) looks a lot like
my data.
The equivalent to
the example in the manual
sometimes work:
> a <- rbeta(100,0.1,0.1)
> fitdistr(x=a, "beta", start=list(shape1=0.1,shape2=0.1))1)
> shape1
2002 Jun 04
4
"X11 font at size 16 could not be loaded"
Hi,
I'm using plot.lda (R1.4.0 on linux) and,
if dimen > 2, I get the error:
Error in text.default(x, y, txt, cex = cex, font = font) :
X11 font at size 16 could not be loaded
The traceback indicates that the problem
comes from pairs(). I've tried several
cex and font values, always with the
same error.
The same command works fine with pdf()
If I'm missing fonts, how