Displaying 20 results from an estimated 5000 matches similar to: "XML Package."
2003 Nov 21
2
method names conflict.
Hi!
I would like to give my objects functions like "subset", "union", et cetera and name it also in this way.
But this functions names are already used in the base package and they are not generic.
I am right in that if they would be generic then i still can use the neat names with my objects?
I have the impression that there are more and more packages are going to be
2004 Jan 15
1
empty string
Hi!
How to generate a empty string of a precise length without using a loop?
I need a empty string (char **) to pass it with .C function to a c dll. The c routine writes the result into the string.
Eryk.
Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics
Ihnestrasse 73 14195 Berlin 'v'
tel: 0049-30-84131285 / \
mail:
2003 May 12
1
Http Get-Post?
Hi!
How can i send http Post and Get messages to a Web server from within R?
Has anybody implemented a function like?
form(action="http://big.thing.inf/cgi-bin/answer.pl",list(test="my",something="there"),method="POST").
Has anyone a package with a similar functionality like the
LWP and HTTP::Request::Common packages in Perl?
Or has anybody a function that
2003 Dec 01
1
Rd Files?
Hi!
Are there scripts or packages for generating Rd files out of "S3" code on cran? Has any one written such scripts (e.g. in Perl?) and are willing to share them?
Thanks in advance.
Eryk.
Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics
Ihnestrasse 73 14195 Berlin 'v'
tel: 0049-30-84131285 / \
mail: wolski@molgen.mpg.de
2003 Sep 19
2
list subsets & passing parameters question.
Hi!
Is there a way to get a subset of a list?
I looking for some function like the function available for arrays and dataframe.
x<-1:10
x[-c(1,2)] for arrays
or
x<-data.frame(a=1,b=2)
subset(x,select=-a)
But one for a list
x<-list(a=1,a=2)
subset(x,select=-a)
The second problem i have are that i want to store parmeters to the plot.default function in a list. eg.:
2003 Oct 02
1
"[[<-","[[" default?
Hi!
I have implemented class specific behaviour of "[[<-.myclass"<-function().
How it is posible to call the "[[.default" on an object of myclass?
Eryk
Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics
Ihnestrasse 73 14195 Berlin 'v'
tel: 0049-30-84131285 / \
mail: wolski@molgen.mpg.de ---W-W----
2004 Jan 22
4
customising installed libraries
hello
I am returning to some libraries that I had previously customised by amongst
other things adding additional functions. I had simply typed these new
functions into the file in library/R/thelibrary. These however do not seem
to be loaded now as they previously were under older versions of R.
What's changed and what do i need to do?
Thanks
Stephen
2003 Dec 22
1
pkg-manual.dvi. How to generate the start page?
Hi!
On the cran "package source" page, to each package there are the "reference manual" in pdf format with a nice title page.
I observed that during the R CMD check pkg a pkg-manual.div are generated in the pgk.Rcheck directory.
But the nice title page are missing. During the package build and install no div files are produced.
Which opitions I have to pass during the build
2003 May 21
1
cluster- binary data.
Hi!
I am trying to calculate a dissimilarity matrix using daisy.
The matrix vectver is binary as i test with:
> levels(as.factor(vectver))
[1] "0" "1"
But the call to daisy gives me the following error message.:
> dfl1 <- daisy(vectver, type = list(asymm = c(1:length(vectver[,1]))))
Error in daisy(vectver, type = list(asymm = c(1:length(vectver[, 1])))) :
at least
2004 Apr 30
2
./configure --prefix and R_LIBS
Hi!
I am installing R in non standard directory.
./configure --prefix=/non/standard/directory
The installation works fine.
But after starting R i get
.libPaths()
/usr/lib/R/library
but they cant be there of course!
Have I to set some additional switches during config?
Eryk
Dipl. bio-chem. Eryk Witold Wolski @ MPI-Moleculare Genetic
Ihnestrasse 63-73 14195 Berlin 'v'
tel:
2004 Feb 20
2
passing object names in a vector to save?
Hi!
Like to write quite a lot (ca 100) of objects from my envirovment with save.
The names of the objects are in a list nam.
nam<-dir()
nam<-grep("E",nam,value=T)
length(nam)
20
for(x in nam)
{
#reads the objects and assigns the names.
assign(x,simFromEmboss(Simmatrix(),x))
nnam<-paste(x,".rda",sep="")
print(nnam)
save(x,file=nnam)
}
I knew that
2004 Feb 23
1
HTTP Post connections in R
Hi,
Is there any existing functions to open an HTTP
connection and HTTP POST some R data?
like
<form method="post" enctype="multipart/form-data">
etc.
</form>
but within R.
Thanks,
=====
Nathan Whitehouse
Statistics/Programming
Baylor College of Medicine
Houston, TX, USA
nlwhitehouse at yahoo.com
http://rho-project.org: rho- open source
2004 May 28
1
Is there a way to represent the ... argument in signature?
Hi!
I guess that it cant work. but maybee I am wrong.
I would like to define a function rbind.
> rbind
function (..., deparse.level = 1)
{
which works only for objects of class Myclass
Is it possible to use something like
setMethod("rbind",signature(...="Myclass",deparse.level="numeric")
This gives an error.
Or should I use
rbind.Myclass
Eryk.
Dipl. bio-chem.
2004 Jul 21
2
2 images with 2 color scales on one graphic device. How to get it?
Hi!
Would like to plot two image plots with color scale (like levelplot (lattice) implements) in one graphic device.
Tried to plot 2 levelplot's (lattice) (the data has not much in common) in one graphics device by setting par(mfrwo=c(2,1)) which does not work.
Is there a way to force levelplot to use only a half of the graphic device?
Is there a function like image which provides the color
2004 May 25
1
Hiding internal package functions for the doc. pkg-internal.Rd
Hallo!
I would like that the internal package functions does not appear in the documentation.
I placed they names as aliases in the file nameofmypackage-internal.Rd as advised.
After R CMD check (which runs neatly) they are still listed in 00Index.html.
Is there no way to hide internal functions from the doc?
Have I overlook something?
Sincerely Eryk.
Dipl. bio-chem. Eryk Witold Wolski
2004 May 25
4
Object "silhouette.default" not found. But I knew that it is there.
Hi!
>library(cluster)
In this lib a function called silhoutte.default is defined
than on the R prompt it type
>silhouette.default
Error: Object "silhouette.default" not found
R1.9.0
The same error are at R1.8.1
And I knew that a function silhoutte.default are present.
But the same piece of code works in R1.6.2
???
Eryk
Dipl. bio-chem. Eryk Witold Wolski @
2004 Oct 19
1
plot.dendrogram and plot.hclust ZOOM into the height?
Hi,
I clustered a distance matrix and would like to draw it using
plot.hclust or plot.dendrogram.
The dendrogram is not informative because I have a few extremely small
dissimilarities in the distance matrix (e.g. 0), but most of the other
distances are in the range 1e10+-5000.
I would like to show the tree only for the height of 1e10+-5000 but
unfortunately their are no parameter like
2003 Jun 17
1
books
Dear All,
using R is noticed that I would benefit by going back to the books and
"refresh" my linear algebra and calculus.
Has anybody suggestions on which books are better as reference on the two
these two topics?
I was thinking to get Lang's "A First Course in Calculus", but I I have no
idea what could be a good one for linear algebra. Something detailed and
clear
2003 Feb 13
3
OO programming in R
Dear,
I'm looking for some examples on OO programming in R. I have the
programming manual with explanation on UseMethod and NextMethod but I
miss some practical examples to get me going (I hope). I searched the
web but could not find a good independent tutorial on this.
Any suggestions are welcome,
Kris
--
------------------------------------------------------------------------