Re: [Rd] Speeding up library loading

2005-04-25 Thread Ali -
Assume 100 C++ classes each class having 100 member functions. After wrapping these classes into R, if the wrapping design is class-oriented we should have like 100 objects. At the same time, if the wrapping design is function-oriented we have like 10`000 objects which are too lazy for lazy lo

Re: [Rd] Speeding up library loading

2005-04-25 Thread Duncan Murdoch
Ali - wrote: Lazy loading just converts an object into a small instruction to load the object. If the object was already small, there's no advantage to that. It's mainly designed to avoid memory use (some rarely used objects can be gigantic). From a design point of view the reason is that thi

Re: [Rd] Feature request: report the url if 404 error occurs

2005-04-25 Thread Prof Brian Ripley
On Mon, 25 Apr 2005, Seth Falcon wrote: Currently, the connection code does not include the URL in the warning message when a 404 response is received: myUrl = "http://www.r-project.org/ABadPage.html"; con = url(myUrl) readLines(con) Error in readLines(con) : cannot open the connection In additio

Re: [Rd] Enhanced version of plot.lm()

2005-04-25 Thread John Maindonald
The web page http://wwwmaths.anu.edu.au/~johnm/r/plot-lm/ now includes files: plot.lm.RData: Image for file for plot6.lm, a version of plot.lm in which David Firth's Cook's distance vs leverage/(1-leverage) plot is plot 6. The tick labels are in units of leverage, and the contour labels are

Re: [Rd] Enhanced version of plot.lm()

2005-04-25 Thread John Maindonald
The web page http://wwwmaths.anu.edu.au/~johnm/r/plot-lm/ now includes files: plot.lm.RData: Image for file for plot6.lm, a version of plot.lm in which David Firth's Cook's distance vs leverage/(1-leverage) plot is plot 6. The tick labels are in units of leverage, and the contour labels are

Re: [Rd] associating R with .R and .RData files (PR#7818)

2005-04-25 Thread Seyed Reza Jafarzadeh
Nisha, If you run R under Windows (XP), right-click on a .R or .Rdata file and select "Open With" > "Choose Program..." > "R for Windows GUI front-end" from the programs list. Do not forget to select the option "Always use the selected program to open this kind of file" before clicking on OK. If t

[Rd] Feature request: report the url if 404 error occurs

2005-04-25 Thread Seth Falcon
Currently, the connection code does not include the URL in the warning message when a 404 response is received: myUrl = "http://www.r-project.org/ABadPage.html"; con = url(myUrl) readLines(con) Error in readLines(con) : cannot open the connection In addition: Warning message: cannot open: H

[Rd] associating R with .R and .RData files (PR#7818)

2005-04-25 Thread mulakken1
Full_Name: Nisha Mulakken Version: 2.1.0 OS: Windows XP Submission from: (NULL) (134.9.187.231) Hi, I uninstalled all previous versions of R, and installed R 2.1.0. I noticed that even though I specified that I wanted all .R and .RData files to be associated with R during the installation, those

Re: [Rd] Speeding up library loading

2005-04-25 Thread Ali -
Lazy loading just converts an object into a small instruction to load the object. If the object was already small, there's no advantage to that. It's mainly designed to avoid memory use (some rarely used objects can be gigantic). From a design point of view the reason is that this isn't the pr

Re: [Rd] Speeding up library loading

2005-04-25 Thread Thomas Lumley
On Mon, 25 Apr 2005, Duncan Murdoch wrote: Ali - wrote: Is it possible to break the package into multiple parts, perhaps like a bundle? Then you could only load the parts that you need at any particular time. It could be done, but the question is, what if one of the packages in the bundle dep

Re: [Rd] Speeding up library loading

2005-04-25 Thread Duncan Murdoch
Ali - wrote: Is it possible to break the package into multiple parts, perhaps like a bundle? Then you could only load the parts that you need at any particular time. It could be done, but the question is, what if one of the packages in the bundle depends on all of the rest? And the bigger que

Re: [Rd] Speeding up library loading

2005-04-25 Thread Roger D. Peng
I think the reason, as Uwe already said, is that you have to load the lazyload index file, and in your case that file is likely to be as large as the R file itself. -roger Ali - wrote: Is it possible to break the package into multiple parts, perhaps like a bundle? Then you could only load the

Re: [Rd] Speeding up library loading

2005-04-25 Thread Ali -
Is it possible to break the package into multiple parts, perhaps like a bundle? Then you could only load the parts that you need at any particular time. It could be done, but the question is, what if one of the packages in the bundle depends on all of the rest? And the bigger question is, why

Re: [Rd] Speeding up library loading

2005-04-25 Thread Roger D. Peng
Is it possible to break the package into multiple parts, perhaps like a bundle? Then you could only load the parts that you need at any particular time. -roger Ali - wrote: 4Mb R file just containing .Call()s? Never seen something like that. If these are all very small functions, lazy load won

Re: [Rd] Speeding up library loading

2005-04-25 Thread Ali -
4Mb R file just containing .Call()s? Never seen something like that. If these are all very small functions, lazy load won't be of that advantage, because you have to load the index file anyway. You know, R including all base and recommended packages has just ~ 6Mb of R code. Are you really sure

Re: [Rd] RAqua Crashes Flushing Console

2005-04-25 Thread stefano iacus
This has been fixed and a bug in 2.0.1. 2.1.0 binary will be fine. stefano p.s. You are actually referring to R.app no RAqua (the old carbon code) On 25/apr/05, at 16:23, Paul Roebuck wrote: Anyone else experiencing crashes when attempting to flush the console with the R GUI on OS X? I get a consis

Re: [Rd] Speeding up library loading

2005-04-25 Thread Uwe Ligges
Ali - wrote: UweL> Ali - wrote: >> (1) When R tries to load a library, does it load 'everything' in the >> library at once? UweL> No, see ?lazyLoad are you sure Ali is talking about *package*s. He did use the word "library" though, and most of us (including Uwe!) know the differe

[Rd] Problem with documentation: undefined page/section references in some PDFs (PR#7817)

2005-04-25 Thread ch_schneider_hi
Hi, I have just compiled R-base 2.1.0 using the spec-file for SuSE (slightly modified for the new R version). In R-intro.pdf and R-FAQ.pdf I discovered references like this one: [The command-line editor], page The other PDFs seem to be ok. Compiling the sources without the spec led to the sam

Re: [Rd] Speeding up library loading

2005-04-25 Thread Ali -
UweL> Ali - wrote: >> (1) When R tries to load a library, does it load 'everything' in the >> library at once? UweL> No, see ?lazyLoad are you sure Ali is talking about *package*s. He did use the word "library" though, and most of us (including Uwe!) know the difference... >>

Re: [Rd] Speeding up library loading

2005-04-25 Thread Martin Maechler
> "UweL" == Uwe Ligges <[EMAIL PROTECTED]> > on Mon, 25 Apr 2005 18:51:50 +0200 writes: UweL> Ali - wrote: >> (1) When R tries to load a library, does it load 'everything' in the >> library at once? UweL> No, see ?lazyLoad are you sure Ali is talking about *package*s

Re: [Rd] Speeding up library loading

2005-04-25 Thread Uwe Ligges
Ali - wrote: (1) When R tries to load a library, does it load 'everything' in the library at once? No, see ?lazyLoad (2) Is there any options to 'load as you go'? Well, this is the way R does it Uwe Ligges __ R-devel@stat.math.ethz.ch mailing list h

[Rd] Speeding up library loading

2005-04-25 Thread Ali -
(1) When R tries to load a library, does it load 'everything' in the library at once? (2) Is there any options to 'load as you go'? __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Notification of removed compressed attachment - please read for details

2005-04-25 Thread SAS Postmaster 91
Please read this notification carefully. Almost certainly, you need not contact your Help Desk at this time. A compressed file attachment was removed from the email described below because it did not comply with our email policies. This does not mean that a virus-infected attachment was remove

[Rd] Mail could not be delivered

2005-04-25 Thread SAS Postmaster 91
** Message from InterScan Messaging Security Suite ** Sent <<< RCPT TO:<[EMAIL PROTECTED]> Received >>> 550 5.1.1 <[EMAIL PROTECTED]>... user unknown Unable to deliver message to <[EMAIL PROTECTED]>. End of message ** --- Begin Messag

[Rd] Mail could not be delivered (PR#7816)

2005-04-25 Thread replies-discarded
--InterScan_NT_MIME_Boundary Content-type: text/plain ** Message from InterScan Messaging Security Suite ** Sent <<< RCPT TO:<[EMAIL PROTECTED]> Received >>> 550 5.1.1 <[EMAIL PROTECTED]>... user unknown Unable to deliver message to <[EMAIL PROTECTED]>. ***

[Rd] Notification of removed compressed attachment - ple (PR#7815)

2005-04-25 Thread replies-discarded
Please read this notification carefully. Almost certainly, you need not contact your Help Desk at this time. A compressed file attachment was removed from the email described below because it did not comply with our email policies. This does not mean that a virus-infected attachment was remove

[Rd] RAqua Crashes Flushing Console

2005-04-25 Thread Paul Roebuck
Anyone else experiencing crashes when attempting to flush the console with the R GUI on OS X? I get a consistent crash launching the app-bundle and entering the following command: > flush.console() platform powerpc-apple-darwin6.8 arch powerpc os darwin6.8 system powerpc, da

[Rd] Failed to install gbm_1.4-2 (PR#7814)

2005-04-25 Thread manager
Full_Name: The Manager Version: 2.0.1 OS: Solaris 9 Submission from: (NULL) (129.67.80.243) > install.packages("gbm") trying URL `http://cran.uk.r-project.org/src/contrib/PACKAGES' Content type `text/plain; charset=ISO-8859-1' length 52975 bytes opened URL

Re: [Rd] RAW types not restored from Rda files (PR#7812)

2005-04-25 Thread p . dalgaard
Byron Ellis <[EMAIL PROTECTED]> writes: > There's an endian difference, but other than that our results are > identical: > > 000 524458320a580a0002000202 > 020 010400040200010000100900 > 040 01

[Rd] eTrust InoculateIT Lotus Notes Domino Option detected virus! (PR#7813)

2005-04-25 Thread eTrust_InoculateIT_Lotus_Notes_Domino_Option
eTrust InoculateIT Lotus Notes Domino Option detected a virus infection in an e-mail from [EMAIL PROTECTED] to [EMAIL PROTECTED] with subject [Nuyrhdokdsnxua]. Infected attachment(s): [dzn.pif] Action taken: File Deleted __ R-devel@stat.math.ethz.ch

Re: [Rd] RAW types not restored from Rda files (PR#7812)

2005-04-25 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Full_Name: Byron Ellis > Version: 2.1.0 > OS: OS X > Submission from: (NULL) (67.124.246.46) > > > > x = charToRaw("12345") > > x > [1] 31 32 33 34 35 > > save(x,file="x.Rda") > > rm(x) > > load("x.Rda") > > x > [1] 00 00 00 00 00 > > Thats no fun. It's not happenin

[Rd] RAW types not restored from Rda files (PR#7812)

2005-04-25 Thread ellis
Full_Name: Byron Ellis Version: 2.1.0 OS: OS X Submission from: (NULL) (67.124.246.46) > x = charToRaw("12345") > x [1] 31 32 33 34 35 > save(x,file="x.Rda") > rm(x) > load("x.Rda") > x [1] 00 00 00 00 00 Thats no fun. __ R-devel@stat.math.ethz.ch mai