Re: [R] calling R from python (fwd)

2002-12-23 Thread Duncan Temple Lang
Where should R_GlobalEnv > be defined? > > 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 > [EMAIL PROTECTED] > > ___

Re: [R] SJava help

2003-09-24 Thread Duncan Temple Lang
thtmllatex example > > > Dollartexthtmllatex example > > > DotJavaSigs texthtmllatex > > > DotjavaConfig text htmllatex > > > JClasstex

Re: [R] Excel to R

2003-10-22 Thread Duncan Temple Lang
- http://www.myway.com > > ______ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucen

[R] Re: Starting and Terminating the JVM for package SJava

2003-10-28 Thread Duncan Temple Lang
ZABALZA-MEZGHANI Isabelle wrote: > Hello, > > I would like to know if there is a possibility to open an R session via Java > (using the SJava package), then to terminate it, and re-run another. At present, there is no code in the R system to terminate a session and shut down the engine. I have e

Re: [R] Re: packaging a package addon

2003-10-30 Thread Duncan Temple Lang
; San Francisco, CA 94143-0840 hm: (415) 550-1062 > > ______ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang

Re: [R] calling R from Perl

2003-11-03 Thread Duncan Temple Lang
MAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fa

Re: [R] Error when calling a dll procedure

2003-11-16 Thread Duncan Temple Lang
fronted with the same kind of difficulties? > I'll appreciate suggestions on how to fix the problem. > Thanks. > > Regards, > > Bernd Holleczek > > > > -- > Bernd Holleczek <[EMAIL PROTECTED]> > > _

Re: [R] Installing RXlisp

2003-11-19 Thread Duncan Temple Lang
--clean --configure-args='--with-build-xlisp-dll' RXLisp I haven't looked at this package for a while, so let me know if there are other problems. D. Luca Scrucca wrote: > Dear R users, > > I was trying to install the package RXLisp by Duncan Temple Lang on a MDK >

Re: [R] size of graphics device

2003-11-19 Thread Duncan Temple Lang
eur de recherche au CNRS Paris > [EMAIL PROTECTED] > > > > [[alternative HTML version deleted]] > > __ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple L

Re: [R] RSPerl

2003-12-18 Thread Duncan Temple Lang
line 11 > Compilation failed in require at ./test.pl line 11. > BEGIN failed--compilation aborted at ./test.pl line 11. > not ok 1 > > > and I get completelly lost ... > > Thanks in advance for your help > > > Andrea > > _________

Re: [R] R as a `script'

2003-02-05 Thread Duncan Temple Lang
st > http://www.stat.math.ethz.ch/mailman/listinfo/r-help -- _______ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax:(908)582-3340 Murray Hill, NJ 07

Re: [R] question about XML (package)

2003-03-04 Thread Duncan Temple Lang
> > > > > > 2 > > > > > > 3 > > > > > > > > you can see that field v1 is empty. Is it my misinterpretation, or a > > problem with the library? > > > > Thanks in advance, > > >

Re: [R] How to modify XML documents and save changes

2003-03-04 Thread Duncan Temple Lang
,"tagname") > > append.xmlNode(QTListNode[[1]],newXMLNode(name ="Norm", attrs = NULL)) > > saveXML(doc, file = "out.xml", compression = 0, indent=T) > > > > This doesn't seem to work. > > Can anyone help? > > > > Thanks, > > Steffen >

Re: [R] libR.so - not recognized

2003-03-10 Thread Duncan Temple Lang
___ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue,

Re: [R] Strange and disturbing bug

2003-03-18 Thread Duncan Temple Lang
PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax

Re: [R] Re: [BioC] installing XML in linux

2003-06-09 Thread Duncan Temple Lang
CTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax:(908)582-3340 Mu

Re: [R] Programcode and data in the same textfile

2003-06-12 Thread Duncan Temple Lang
READ (hence the non-transposition > boundary condition). > > > > Does anybody have any ideas? > > > Ernst Hansen > Department of Statistics > University of Copenhagen > > __ > [EMAIL PROTECTED] mailing list > https://www.s

Re: [R] FW: S4 classes, creating in C

2003-06-23 Thread Duncan Temple Lang
> > In making the prototype for class "LUdecomposition" elements of the > > prototype > > failed to match the corresponding slot class: pivot (class " integer > > ") > > > > Why can I no longer use the prototype to set the d

Re: [R] R as COM client (rather than server)

2003-06-30 Thread Duncan Temple Lang
__ > > [EMAIL PROTECTED] mailing list > > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > > > > __ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___

Re: [R] configuration error when installing gtkDevice

2003-07-04 Thread Duncan Temple Lang
kage 'gtkDevice' > > ______ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, L

Re: [R] XML Package.

2003-07-10 Thread Duncan Temple Lang
list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- _______ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent Technologiesoffice: (908)582-3217 700 Mountain Avenue, Room 2C-259 fax:(908)582-3340 Murray Hill, NJ 07974-2070 http://cm.bell-labs.com/st

Re: [R] any simple examples for SJAVA please

2004-05-28 Thread Duncan Temple Lang
and I meet with many difficulties. > I try to run examples from "Calling R from Java" written by Duncan Temple > Lang available from http://www.omegahat.org/SJava (there are many examples > on this web site). > Now I have an error that my R version is R 1.6.1 while I have versi

Re: [R] Calling primitive functions from C code

2003-12-31 Thread Duncan Temple Lang
TML version deleted]] > > ______ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help -- ___ Duncan Temple Lang[EMAIL PROTECTED] Bell Labs, Lucent

Re: [R] SOLVED: importing huge XML-Files -- new problem: special characters

2007-09-04 Thread Duncan Temple Lang
[,1][,2][,3] > [1,] öabcaböcd abdec > > Any suggestions? > > Thanks in advance and many greetings! > > Alex > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEA

Re: [R] multithreading calling from the rpy Python package

2006-10-12 Thread Duncan Temple Lang
ired.) > I'm using R 2.3.1 . > > thanks in advance, > René > > (as always, please CC me on replies sent to the list, thanks!) > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help >

Re: [R] combinatorics

2006-10-13 Thread Duncan Temple Lang
s and a C. >> >>Then I want >> >>AABBC >>AABCB >>AACBC >>ABABC >>. . .snip... >>BBAAC >>. . .snip... >>CBBAA >> >>[there are 5!/(2!*2!) = 30 arrangements. Note AABBC != BBAAC] >> >>How do I do this? &g

Re: [R] Reasons to Use R

2007-04-11 Thread Duncan Temple Lang
o more > - Paul Erdos' epitaph > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, mi

Re: [R] Is it possible to control R with S+?

2007-05-17 Thread Duncan Temple Lang
Several years ago, I wrote an R package RinS which embeds R in S-Plus as a regular "chapter" and then allowed one to call R functions from S-Plus in the form .R('rfunction', x, y, z) I haven't looked at it for a long time, but the basic architecture should still work. What might need to be cha

Re: [R] Trouble compiling XML package

2007-05-18 Thread Duncan Temple Lang
Wiener, Matthew wrote: > Dear Prof. Lang - > > I am trying to install the XML library on a 64-bit SUSE linux system > (version info below) running 2.4.1. > > I have gcc version 3.3.3, and libxml2 version 2.6.7. I know this is not > current, but I'm on a machine used and administered by other

Re: [R] Regexp subexpression

2006-03-25 Thread Duncan Temple Lang
ailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 4210 Mathematical Sciences Buildin

Re: [R] Mass 'identify' on 2d-plot

2005-12-05 Thread Duncan Temple Lang
tal" package on the Omegahat site (and repository) named RGtkIPrimitives that works with the gtkDevice only to do rubber banding and free form region identification. > > Barry > > __ > R-help@stat.math.ethz.ch mailing list > http

Re: [R] Conflict RGtk tcltk

2005-12-05 Thread Duncan Temple Lang
it is also not too hard to make them "compatible". The event loop mechanism in Windows used by tcltk and RGtk is a little bizarre and efforts to generalize it have not been overly successful. > I thought about unloading the package RGtk but I don't > know how

Re: [R] Age of an object?

2005-12-14 Thread Duncan Temple Lang
with, let's say, >>[EMAIL PROTECTED] <- newvalue, that attribute is not updated, isn't it? >> >>Best, >> >>Philippe Grosjean >> >> >> >>>Martin Maechler, ETH Zurich >>> >>>__ >>>R-help@stat.math.ethz.ch mailing lis

Re: [R] Age of an object?

2005-12-14 Thread Duncan Temple Lang
bject explorer). What a wonderful feature it will be >> to >>>> tell if an object was changed since last query. In the view, one could >>>> have a visual clue if it is up-to-date or not. In the object explorer, >> I >>>> could upd

Re: [R] accesing slots of S4 class in C code

2005-08-23 Thread Duncan Temple Lang
e inform the sender and delete all copies. > > > [[alternative HTML version deleted]] > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! ht

Re: [R] R API call from delphi

2005-09-08 Thread Duncan Temple Lang
On approach is to create a native/foreign interface to R by linking R as a library (libR.a and R.dll) file and calling the C routines in the library to i) initialize the R interpreter ii) call an R function We have done this with many languages and the procedure is well understood at this

Re: [R] SAX Parser best practise

2005-09-21 Thread Duncan Temple Lang
Jan Hummel wrote: > Dear All, > > I have a question regarding best practise in setting up a XML parser > within R. > Because I have files with more than 100 MB and I'm only interested in > some values I think a SAX-like parser using xmlEventParse() will be the > best solution. > Unfortunately t

Re: [R] SAX Parser best practise

2005-09-23 Thread Duncan Temple Lang
ors will be found with the creation mechanism. BTW, there is a new version of the XML package on the Omegahat web site. It has several new features, including a function to find nodes via XPath expressions, SAX2 support, recursive support for xmlElementsByTagName(). > cheers >

Re: [R] SAX Parser best practise

2005-09-26 Thread Duncan Temple Lang
nvoked two times, one time for a first part of the > content and one time for the rest of the content. Both invocations > together gave me exactly the content from the node. > > So, am I on the wrong way? Or is this some buggy behaviour? > > I appreciat any help and assistance! >

Re: [R] Error Message - Error: symbol print-name too long

2005-09-26 Thread Duncan Temple Lang
info/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 371 Kerr Hall fax: (530) 752-7099 One Shields Ave. University of Ca

Re: [R] Can R functions be implented in Matlab

2005-10-12 Thread Duncan Temple Lang
gt; https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 371 Kerr Hall fax: (530) 752-7

Re: [R] COM objects with early bindings in R

2005-10-17 Thread Duncan Temple Lang
rd > > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status > major2 > minor1.1 > year 2005 > month06 > day

Re: [R] encrypted RData file?

2005-10-27 Thread Duncan Temple Lang
s, > > Michael > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistic

Re: [R] Problems with source() function

2005-10-27 Thread Duncan Temple Lang
on? > > Sincerely, thank you! > > Alberto de Luis > www.cicancer.org > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.o

Re: [R] encrypted RData file?

2005-10-27 Thread Duncan Temple Lang
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Na Li wrote: > On 27 Oct 2005, Duncan Temple Lang wrote: > > >>Yes, it is of interest and was sitting on my todo list at >>some time. If you want to go ahead and provide code to do it, >>that would be terrific.

Re: [R] dyn.load() error: bad external relocation length

2005-10-29 Thread Duncan Temple Lang
Hi Walton. .C/.Call are interfaces to _compiled_ C routines in a dynamically loaded library (DLL or DSO - shared object). A progra A program is often created from compiling C code into an executable. We can call the executable via system, but we cannot access its routines via .C/.Call. So, if y

Re: [R] writing R shell scripts?

2005-11-07 Thread Duncan Temple Lang
> sort of thing in R using something like this?: > > #!/usr/lib/R/bin/R.bin > > Well, that isn't quite it because I tried it and it didn't work! > > Any advice greatly appreciated. Thanks in advance. > > Mike > - -- Duncan Temple Lang

Re: [R] short suggestion to the R development team

2005-11-09 Thread Duncan Temple Lang
__ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Stati

Re: [R] Method for $

2005-11-18 Thread Duncan Temple Lang
nition(definition, fdef, mnames, fnames, signature) : >>>methods can add arguments to the generic only if '...' is an > > argument > >>>to the generic >>> >>>My searches for a solution of this problem have not been successful. Can >>>someone help? >>> >>>Th

Re: [R] Excel calling R functions

2007-06-01 Thread Duncan Temple Lang
of the R(D)COM server and the > rcom package. > > http://sunsite.univie.ac.at/rcom/ > > See the Excel heading for your question. You might be > interested as well by the recent OpenOffice.org plugin > (heading OOo). > > HTH, > Tobias > -- Duncan Temple Lang

Re: [R] names() after library(RDCOMClient) problem(?)

2007-06-14 Thread Duncan Temple Lang
Hi Costas. On my Windows setup, I don't get this error message. What version of RDCOMClient are you using - i.e. the output of packageDescription("RDCOMClient") and also what else is loaded into the R session, i.e. sessionInfo() D. Vorlow Constantinos wrote: > Hello, > > Try exam

Re: [R] Loading problem with XML_1.9

2007-07-07 Thread Duncan Temple Lang
Well, as you mention at the end of the mail, several people have given you suggestions about how to solve the problem using different approaches. You might search on the Web for how to install a 64 bit version of libxml2? Using xmlTreeParse(, useInternalNodes = TRUE) is an approach to reducing the

Re: [R] xmlOutputBuffer vs xmlOutputDOM

2007-07-08 Thread Duncan Temple Lang
Hi Arjun Have you tried using xmlTree() which uses an opaque C representation of the document and I expect will serialize the contents relatively rapidly. The interface for creating the tree is intended to be the same, and is at least similar to, as xmlOutputDOM. The intent is that the representat

Re: [R] Loading problem with XML_1.9

2007-07-09 Thread Duncan Temple Lang
Mo > use homologue of yeast Vacuolar protein sorting 4 > (Vps4); Suppressor of potassium transport defect 1. > Member of mammalian class E Vps prot > eins involved in endosomal transport; AAA-type > ATPase.20 > > 337974miClust80 > > > 200 > > 20158189434SBP1 > 0

Re: [R] Source inside source

2007-07-16 Thread Duncan Temple Lang
There is a package available at http://www.omegahat.org/Prerelease/RSource_0.1-1.tar.gz that has an extended source() that maintains a list of directories in which to search for files and a stack of the files currently being source()d so that one can determine what is currently going on. It ha

Re: [R] CGIwithR

2007-02-02 Thread Duncan Temple Lang
Aimin Yan wrote: > I try a example > http://omega.psi.iastate.edu/bootstrapFile.html > > it doesn't give me output. I don't why. > > For another example > > http://omega.psi.iastate.edu/trivial.html > > it seems works except it doesn't display figure. But it gives you an error that states wh

Re: [R] CGIwithR

2007-02-04 Thread Duncan Temple Lang
You should look in the log files from apache for error messages, specifically the error.log file (typically). If you are getting no output, the code in the R script is most likely generating an error before it creates any output. So you can have it output information about what it is doing. The

Re: [R] XML and str

2007-02-10 Thread Duncan Temple Lang
Martin Maechler wrote: >> "Ashley" == Ashley Ford <[EMAIL PROTECTED]> >> on Wed, 07 Feb 2007 17:18:56 + writes: > > Ashley> If I read in an .xml file eg with > > >> xeg <- xmlTreeParse(system.file("exampleData", "test.xml", >packa

Re: [R] gsub: replacing a.*a if no occurence of b in .*

2007-02-24 Thread Duncan Temple Lang
LEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 4210 Mathematical Sciences Bldg. fax:

Re: [R] RSPython

2007-02-25 Thread Duncan Temple Lang
Well, we'll need to know in what ways it doesn't work and what operating system you are using, etc. If you want to call R from Python, RPy is probably more straightforward. But RSPython works fine on Unix machines. Not on Windows at this point. D. Alberto Vieira Ferreira Monteiro wrote: > Any

Re: [R] XML - can create but can't save

2007-03-20 Thread Duncan Temple Lang
Just for the record, the method has been added for that particular type of tree. So the original saveXML(tt, file = "test.xml") will work. Thanks for pointing it out. D. Alberto Monteiro wrote: > I wrote: >> library(XML) >> tt <- xmlHashTree() >> head <- addNode(xmlNode("head"), charact

Re: [R] R SOAP Client Alternatives & Recommendations

2006-05-20 Thread Duncan Temple Lang
hz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 4210 Mathematical Sciences

Re: [R] R usage for log analysis

2006-06-12 Thread Duncan Temple Lang
Using Perl or R shouldn't be an either/or issue. We can call Perl code from R (via RSPerl at least) and then we get the benefit of well tested, fast code that might exist in Perl to read the log files and the ability to do interactive, exploratory analysis in R. And reading the file in Perl does g

Re: [R] put R on a web server

2006-07-17 Thread Duncan Temple Lang
tat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html - -- Duncan Temple Lang[EMAIL PROTECTED] Department of Statistics work: (530) 752-4782 4210 Mathematic

Re: [R]

2006-11-16 Thread Duncan Temple Lang
The RDCOMClient is available from a different repository http://www.omegahat.org/R You can include it in the list of repositories being searched on Windows using the Packages menu in the R GUI and then select the entry Select repositories and include Omegahat in the selection. Or just install

Re: [R]

2006-11-16 Thread Duncan Temple Lang
in advance.. > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Temple > Lang > Sent: Thursday, November 16, 2006 8:00 PM > To: Gabor Grothendieck > Cc: r-help@stat.math.ethz.ch; Shubha Karanth > Subject: Re: [R] &

Re: [R] gzfile with multiple entries in the archive

2006-11-18 Thread Duncan Temple Lang
: [R] gzfile with multiple entries in the archive > > On Tue, 14 Nov 2006, John James wrote: > > >>If I open a tgz archive with gzfile and then parse it using readLines I > > miss > >>the initial line of each member of the archive - and also the name of the &

Re: [R] installation step for RSperl

2006-11-22 Thread Duncan Temple Lang
to install it? > > cheers > > > > > > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible c

Re: [R] R-2.01 and RSPerl-0.6.2

2005-03-04 Thread Duncan Temple Lang
s/9.2.0/bin:/tools/perl/current/bin:/usr/bin:/usr/ucb/bin:/usr/ccs/bin:/usr/local/bin:/tools/gnu/bin:/tools/R/current/bin > PERLLIB=/tools/R/current/lib/R/library/RSPerl/share/blib/arch:/tools/R/current/lib/R/library/RSPerl/share/blib/lib:/tools/R/current/lib/R/library/RSPerl/scripts > R_HOME=/tools/R/cu