To convert to hours, use the following: [,1] [1,] 0.5740722 [2,] 10.2157660 __________________________________________________________ James Holtman "What is the problem you are trying to solve?" Exe
Consider the use of 'get' and 'assign': function(OLD, NEW){ assign(paste('program1', NEW, sep=''), frame=0) <- modify(get(paste('program1', OLD, sep=''), frame=0)) ...... } You might also consider th
Try using 'outer' as below: minimum int [1:1000] 717 347 910 940 940 433 180 65 579 696 ... "Steve Su" <s.su@qut.edu.au> To: <s-news@lists.biostat.wustl.edu> Sent by: cc: s-news-owner@lists.biosta Su
He did not say how big he wanted it to scale. For the values he gave (vector of 1000) this is only using 8MB of memory and it is fast. I agree that if he has vector longer than about 4000 (using 128M
Try sapply. In this case you want to send it the indices of the columns of interest. In your case, you want to iterate through 1/2 of the columns. The following will take the difference of two adjoin
I am creating an output file from SPLUS using "sink('data')". All the output goes to the file, except for the 'show.printer()' command which should dump a graph to the output file. When I run this, t
I am having problems with the command line editor in SPLUS Version 6.0 Release 1 for Sun SPARC, SunOS 5.6 : 2000 on UNIX. I have the environment variable EDITOR set to 'vi' (export EDITOR=vi) and inv
I have just started to use SPLUS 6 on UNIX. There was a function under SPLUS 3.4 (and under R) called 'str' that would print out the structure of an object. Is there an equivalent function available
I have been running some test scripts on SPLUS 3.4 and SPLUS 5.1 on a UNIX SUN system. I ran the same scripts, but the processing times for 'sapply' were much longer on the later 5.1 version (1.18 se
After playing around with it for a while, the performance problem seems to be in 5.1 with including a function definition in the tapply call. Here are the two tests that I ran: SPLUS 5.1 == Version 5
I am starting to convert some applications from SPLUS 3.4 to SPLUS 5.1 on a SUN UNIX machine. One application reads in a structure with 7M lines with 5 numbers per line. These have been setup as inte
I have an array of data that has in the first two columns the indices of another array that I want to accumulate a sum and the 3rd column is the value: e.g., [,1] [,2] [,3] [1,] 1 1 10 [2,] 1 1 20 [3
Does anyone know how to make 'chron' Y2K compliant? == S-PLUS : Copyright (c) 1988, 1996 MathSoft, Inc. S : Copyright AT&T. Version 3.4 Release 1 for Sun SPARC, SunOS 5.3 : 1996 Warning messages: The