similar to: read.socket - Strange strings. How to force sub to remove all occurences of a pattern?

Displaying 20 results from an estimated 6000 matches similar to: "read.socket - Strange strings. How to force sub to remove all occurences of a pattern?"

2004 Oct 21
3
error in plot.dendrogram (PR#7300)
Hi, hres <- hclust(smatr,method="single") hresd<-as.dendrogram(hres) as.dendrogram(hres) `dendrogram' with 2 branches and 380 members total, at height 2514.513 plot(hresd,leaflab="none") #<-error here. #the plotted dendrogram is incomplete. The x axis is not drawn. #The interested reader can download the save(hresd,file="hres.rda") #from the
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 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 @
2010 Aug 09
3
ESS question. How to get rid of ess-smart-underscore?
Hi, ESS replaces "_" by "<-". How can I switch off this feature? I need to be able to type the underscore Thanks Eryk -- Witold Eryk Wolski Heidmark str 5 D-28329 Bremen tel.: 04215261837
2003 Jul 10
2
XML Package.
Hi! I have installed the new R on windows. I wanted to reinstall the XML package. I am not able to find the XML.zip anymore. I am quite shure that they where a windows binary version. Has anyone old XML windows binary? Eryk Dipl. bio-chem. Eryk Witold Wolski @ MPI-MG Dep. Vertebrate Genomics Ihnestrasse 73 14195 Berlin 'v' tel: 0049-30-84131285 / \ mail:
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 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 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
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
2002 May 02
3
Building own packages on Windows 2000!
Hi! I encountered some things trying to build own packages under Windows 2000 for which i found no answer in the documentation. First. 1. I do not found the rcmd.exe in the bin directory of R_HOME. I installed R using the setup.exe 2. I updated the R intatllation with one of the zip files. (rw1041sp.zip) now i had the rcmd.exe in the bin. 3. I do not found any hint in the docu that perl is
2004 Nov 08
1
how lambda is computed in smoot.spline given _df_
Hi, I posted some days ago a question concerning the computation of lambda in the smooth.spline function (which I repreat at the bottom of the mail) given _df_ . Unfortunately the documentation is not clear to me. Maybee someone can help to answer in my view the basic question: If the penalized log likelihood is L = (y - f)' W (y - f) + lambda c' Sigma c how the _lambda_ in the above
2002 Jul 26
5
Is there a function for finding local extrema.
I have a vector with about 100.000 values representing a quite regular function (sinusoid like). I would like to find all local maxima of this function (should be about 4000). Is there a native routine for R? Thanks in advance Eryk. -- _|_ \|/ \|/ Eryk Witold Wolski tel :0049-(0)30-8413-1543 w w ?v? 'v? \'v'/ MPI Moleculare Genetik fax :0049-(0)30-8413-1139 |
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
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 Jun 03
2
returning strings to R from C functions
I'm using .C() and .External() and have no problems sending integers, reals or strings from R to C. Nor do I have problems sending integers or reals back from C to R. But I'm pulling my hair out trying to set a string value in a C function and then sending it back from C to to R. I've searched the usual sources and tried various casts, macros and allocation schemes, but I'm
2007 Nov 13
4
factors levels ?
Hi, It's just some example code.. The application is uninteresting. I am searching for some functionality. X <- rnorm(100) //my data Y <- seq(-3,3,by=0.1) // bin boundaries. Now I would like to generate a - list of factors, length as X... i.e.: all values in the range [-3,-2.9) have the same factor... [-3,-2.9) etc. I would assume R has such a function but I cant recall which one
2002 Apr 30
1
data.frame package?
Is there a library that is able for example to 1. merge 2 dataframes by row eg.: rbind(dataframe1, dataframe2):data.frame 2. delete a column from a dataframe del(dataframe, colname) or del(dataframe, colindex= 1):data.frame? 3. Select lines from a dataframe by a specific function ? select(dataframe, func=small(x){x<1}, colindex=3): data.frame? 4. converting all double columns of a data.frame
2005 Mar 03
3
Need suggestions for plotting 3D plot
Hi Everybody, I am a newbie in R. I have a data in the form of a matrix which I want to make some 3D plots using R. There is some functions for instance hist() for 2D plots, but I cant find any function for 3D plots. Is there any function available in R for 3D plots? If so, is there any documention available on internet so that I can go through. With regards, Soumyadeep
2005 Mar 21
2
Violin plot for discrete variables.
Dear Rgurus, To my knowledge the best way to visualize the distribution of a discrete variable X is plot(table(X)) The problem which I have is the following. I have to discrete variables X and Y which distribution I would like to compare. To overlay the distribution of Y with lines(table(Y)) gives not satisfying results. This is the same in case of using density or histogram. Hence, I am
2005 Mar 20
2
Interaction term in anova - how it should be written in a manuscript table?
Dear Rgurus, Interaction terms in the linear models function lm are specified by the colon : eg: x ~ a + b + a:b a shortcut for the above is: x ~ a*b the output if calling anova on the lm object will be the same in both cases a .... b .... a:b ... Resdiuals ... What I am wondering is how the interaction term (a:b) given above should be written in a table in an manuscript? a ) a*b b )