Displaying 20 results from an estimated 7000 matches similar to: "any simple examples for SJAVA please"
2004 Jun 08
3
SJAVA error
Hi
I'm trying to use SJava and I have troubles.
I try to run examples from "Calling R from Java"
but,I have an error that
"fatal error: enable to open the base package"
I heard SJAVA bug,
so,could you send me your compiled SJava package with the modified
REmbed.c because
in Windows i'm not able to recompile!!!
--example
package org.omegahat.R.Java;
public
2004 May 26
3
SJava
Hi again!
I'm trying to download SJava from the http://www.omegahat.org/RSJava/
website.
I'm trying to get the binary.
I download the version from BDR's website.
When I unzip the file via unzip.exe, the new folder appears as SJAVA (upper
case).
>library(SJava)
Error in library(SJava) : There is no package called 'SJava'
>library(SJAVA)
Error in library(SJAVA) :
2004 May 26
1
multi read.table function and read.table function not accepting col.names
I am using R-1.8.0 on Debian.
I'm trying to read in a large table (1441*16) which currently has no
header line. I have set up a list of column names which is 16 names long.
when i try the following:
myfiledate.01<-read.table("filenamedate.01",row.names=NULL,col.names="names",na.strings="-999.00")
I am returned with an error saying there are more columsh
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 May 28
2
orca binary?
Dear R People:
Is there a binary version for rorca, please?
Thanks,
Laura
mailto: lauraholt_983 at hotmail.com
R Windows 1.9.0
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
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 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 @
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:
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 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 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 Sep 28
5
Bug? using { as a function in lapply
This seems like a bug to me. Can someone verify this?
First we define a function f that returns its second argument and
lapply it to 1:2 using 9 as the second argument and all seems well.
Note that "{" as a function does the same thing as f, as illustrated
with f(1,9) and "{"(1,9); however, when we attempt to use "{" in the
very same way we used f in lapply,
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
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 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 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
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 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