similar to: browser() is called incidentally (?) somewhere from inside methods::as

Displaying 20 results from an estimated 1000 matches similar to: "browser() is called incidentally (?) somewhere from inside methods::as"

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
2004 Sep 29
1
Ordering of values returned by unique
Hi, Is the ordering of the values returned something on what I can rely on, a form of a standard, that a function called unique in R (in futher versions) will return the uniq elements in order of they first occurcence. > x<-c(2,2,1,2) > unique(x) [1] 2 1 Its seems not to be the standard. E.g. matlab >> x=[2,2,1,2] x = 2 2 1 2 >> unique(x) ans =
2004 Oct 30
2
How to add values to an array at any position.
Hi, How to add values to an array at any position. Asking because of the following: e.g. y<-c(0.1,NaN,0.2,NaN) #or data frame x<-na.omit(y) take some columns from x and do some computation with functions which do not allow NaN 's. After the computing add NaN's at positions stored in attr(x,"na.action") of the result vector. /E -- Dipl. bio-chem. Witold Eryk
2004 Oct 08
1
Function _coerce_ in _setIs_ never entered (S4).
Hi, Please consider the following trivial example. In the sample code I first define a class MVCa using composition. This class contains a slot of type list. Next I define an inheritance relation using the function setIs -> MVCa "is a" list. Then I define a function printlength which prints the list-length which is defined for the type "list". If I call this function
2005 Feb 10
1
Undocumented S4 methods: generic coerce and siglist matrix, Massvector
Hi, While checking the package I am getting all the time the following complain about the function: Undocumented S4 methods: generic coerce and siglist matrix,Massvector I have not defined the function nowhere in the R files. My gues is that this has something to do with the following definition of the setAs function. setAs("matrix","Massvector" ,def=
2004 Oct 08
0
user interface and documentation of setIs and setAs, some suggestions (S4).
By reading the documentation for _setIs_ I noted that for the same object three different names are used. 1) the name of the first argument in the functions coerce and replace in setIs must be _obj_ (see example section or) setIs("MVCa","list",coerce=function(obj){obj@list},replace=function(obj,value){obj@list<-value}) 2) At the same time in the usage section:
2005 Jan 30
1
S4 packages and .Rdata file.
Dear developers. Have spend just 1 h searching for a bug in a new version of a new version of a package. I was getting a segfault all the time. "Funny" thing - there was no error neither in the S nor in the C code. To solve the problem I had to delete the .Rdata file! What I observed. If the .Rdata file was generated while a previous release of a package was installed in the
2004 Sep 21
0
checking for _non-existing_ -> documentation and sources at one place.
Wolski wrote: #>>>Has anyone a tool which is able to generate from #>>>#appropriately commented R-code files (e.g. <<example>>= #>>>#-example section) Rd files: Mark Bravington mentioned something similar in the 'mvbutils' package: Wolski wrote: # # #Hi! # #Is it working with S4? Mark's reply: Don't know whether it works with S4
2003 Dec 15
1
Rd files Assignment functions.
Hi! Old story again. I put it away for a while because there are always other thinks to do. But I cant deny that I still like to like to comment assignment functions. Under linux I get. Cannot handle Rd file names containing '<'. These are not legal file names on all R platforms. Please rename the following files and try again: man/[[<-.caliblist.Rd
2004 Nov 09
1
gplot.hexbin - how to set figure margin.
Hi, Would like to use to the hexbin package to plot a 2D hist - because it looks really _cool_. My problem is related to drawing a pdf hexbin graphic in series of other graphics. All other figures have a par(mar=c(3.2,3.2,1,1)). So the gplot.hexbin figure in this series looks a little alienated? Was trying a to specify the _mar_ using par, viewport, hexViewport etc. a little. My question. How
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 Nov 24
12
scatterplot of 100000 points and pdf file format
Hi, I want to draw a scatter plot with 1M and more points and save it as pdf. This makes the pdf file large. So i tried to save the file first as png and than convert it to pdf. This looks OK if printed but if viewed e.g. with acrobat as document figure the quality is bad. Anyone knows a way to reduce the size but keep the quality? /E -- Dipl. bio-chem. Witold Eryk Wolski MPI-Moleculare
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 Nov 17
4
R/S-related projects on Sourceforge? Trove Categorization
Hi R-Users and Developers, Several months ago I made a request on Sourceforge to add the R/S - programming language to the _Trove_ categorization. ("The Trove is a means to convey basic metainformation about your project.") Today I got the following response of one of the sourceforge admins. <SNIP> SourceForge.net will consider the inclusion of a programming language within
2004 Nov 17
4
R/S-related projects on Sourceforge? Trove Categorization
Hi R-Users and Developers, Several months ago I made a request on Sourceforge to add the R/S - programming language to the _Trove_ categorization. ("The Trove is a means to convey basic metainformation about your project.") Today I got the following response of one of the sourceforge admins. <SNIP> SourceForge.net will consider the inclusion of a programming language within
2004 Jul 22
1
biplot & identify
Hi! Is there a way to get biplot and identify to work togheter. Having the output of prcomp I would like to draw a biplot that. Instead of plotting the sample (row-names) names plots some "pch" symbols. (thats easy with xlabs) But now I would like to add using identify the names to only some of the points. I have noticed that both biplot.prcomp and biplot.default does a lot of
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 Nov 08
1
whishlist: legend - changing color of the boxes-border
Hi, Drawing a legend I would like to be able to specify the color of boxes which are drawn if fill or density is specified. eg. legend(0,40000,c("raw","LR/PR-TPS"),fill=c(1,2),col=c(1,2),density=c(20,20),angle=c(-20,45),bty="n") Currently the color of the boxes -- border is always black and can *not* be changed. To get this option only a *minimal* change is
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: