similar to: What's analagous to data.restore?

Displaying 20 results from an estimated 10000 matches similar to: "What's analagous to data.restore?"

1999 Jul 04
0
Summary: What's analagous to data.restore?
Thanks to Bill Venables, Brian Ripley and John Maindonald. The differences between the way R and S use objects means that data.restore is inappropriate for R. Bill advised the use of libraries to deal with objects. Functions and data objects are treated differently, requiring source() and read.table() respectively to create R objects from text files that are produced from dump() and
2003 Sep 23
1
Omitting blank lines with read.table
Say we have a tab delimited file called bug.txt Part Rep Cage Hb pupae 1 1 S 32 1 M 34 L 42 2 S 36 M 28 L 36 read.delim("bug.txt") Part Rep Cage Hb.pupae 1 1 1 S 32 2 NA 1 M 34 3 NA NA L 42 4 NA NA NA 5 NA NA NA 6 NA 2 S 36 7 NA NA M 28 8 NA NA L 36 >
2001 Mar 22
3
More powerful than objects() or ls()
platform i686-pc-linux-gnu arch i686 os linux-gnu system i686, linux-gnu status major 1 minor 2.1 year 2001 month 01 day 15 language R For years, I used a function in Splus to give me more information than just the object names which
2000 Jul 03
1
How to specify fonts
In Splus, if I wanted to use Bookman-Demi instead of the default Helvetica, I would specify font = 18 as a graphical parameter for a postscript printer. In R it seems font can take only the values 1 to 4 which change only the style but it's still Helvetica. There's some great flexibility using Hershey vector fonts, but it appears they are all mono-spaced. I wish to use proportional
2012 Jun 06
1
Process XML files
Hello experts, Sorry for posting the SPlus related question here.. I have not found any solution yet after some attempts and hence, sending it to a wider spectrum of users! I was successful in processing files uing R's XML librariy. Thank you, Rxperts! I know there are libraries like XML and SPXML available in S-Plus. Could anyone please share examples of reading an xml file and save the
2001 Mar 22
2
newbie questions: accessing functions globally
How can I access a function created in one data directory in another? I have been sourcing the text file that contains the function each time I go to another data dir. This is cumbersome, and I suspect there is a way to make functions global. Thanks in advance, S. David White Dept of Speech and Hearing Science Ohio State University Columbus, Ohio
1998 Nov 30
3
R functionality
Is there anything R can do that Splus can't? I know about the differences in the language but what about statistical functionality. Are there models you can build or graphs you can plot in R that you can't in Splus? My impression is that in this respect R is strictly a subset. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
1998 Nov 30
1
[R] R functionality
> Date: Mon, 30 Nov 1998 12:07:10 -0500 > From: Paul Gilbert <pgilbert@bank-banque-canada.ca> > To: Ed Kademan <kademan@phz.com> > > >Is there anything R can do that Splus can't? > > Problems which require lots of looping and cannot be re-coded as vector/matrix > operations are theoretically possible but practically infeasible in S, unless > they
2007 Jul 17
1
data.restore() in R 2.5.1 for Windows 95 and later
To Whom It May Concern: I want to read in an S-PLUS data dump and I used > data.restore("filepath/filename") (in R 2.5.1 for Windows 95 and later) and I get the message Error: could not find function "data.restore" I have also tried read.S() and read.dta() with the same result. I cannot find any of these functions in the R Help for package base, although data.restore()
2006 Jul 27
2
Moving from Splus to R - advice/opinions request from a management perspective
Hi, I've looked through the archives and seen several posts discussing technical differences between R and S(plus). It appears to me that R can likely functionally replace Splus for my situation, but I'm more interested in looking at the risks and benefits of moving from Splus to R from a (project) management point of view. Background (a bit wordy, I'm afraid): -
2006 Jul 11
2
use of NULL environment is deprecated?
]> version _ platform x86_64-unknown-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 2 minor 3.1 year 2006 month
2002 Aug 12
1
Level sets of factors are different (panel.superpose)
I investigated why I was getting this error message... Error in Ops.factor(groups[subscripts], vals[1]) : Level sets of factors are different which led me to putting a browser in panel.superpose: Called from: panel.superpose(x, y, subscripts, ...) Browse[1]> vals vals [1] 1 2 3 Levels: 1 2 3 Browse[1]> groups[subscripts] groups[subscripts] [1] 1 2 3 1 2 1 2 3 1 2 3 1 2 3 Levels: 1 2
2008 Jun 04
1
Splus/R typedef for C equivalent of S "integer"
We've been working on making it easier to write packages that work in both R and Splus. One issue is that R and Splus use different internal representations of integers and this makes a difference on their 64-bit versions: R uses ints (32 bits on 32-bit and 64-bit versions of R) and Splus uses longs (32 bits on 32-bit Splus and 64 bits on 64-bit Splus). The obvious ways to deal with the
2009 Dec 28
2
WHO Anthro growth curve macros and R
Hi all, I've got a project where I have to calculate weight-for-age Z-scores, preferably using the WHO standards. WHO have been very nice to publish macros for doing this in both STATA,SPSS, SAS and Splus formats (see http://www.who.int/childgrowth/software/en/), but for some reason have chosen not to use the free R alternative to Splus. In the Splus zipfile there are nine datafiles with a
2003 Mar 24
1
APC Modelling and the GLM function
Hi all Apologies for any cross posting. I have encountered a rather bizarre "problem" in Splus and R. I am using Age-Period-Cohort models to model cervical cancer and have run the same data on both R (v.1.4.1 & v1.6.2) and Splus (version 6.0). I used the same command line in both Splus and R: glm(cases~-1+as.factor(age)
2003 Sep 11
1
discrepancy between R and Splus lm.influence() functions for family=Gamma(link=identity)
Hello, I am looking for an explanation and/or fix for a discrepancy in the behaviour of the R lm.influence() function [ version R 1.5.0 (2002-04-29) ] and the same function in Splus [ Splus version 5.1 release 1, running on SGI IRIX 6.2]. The discrepancy is of concern because I am migrating some Splus scripts to R and need to ensure consistency of results. Specifically, when I fit a glm()
2010 Feb 05
2
Importing data coming from Splus into R.
Hello there, I spent all day yesterday trying to get a small data set from Splus into R, no luck! Both, Splus and R, are run on a 64-bit RedHat Linux machine, the versions of the softwares are 64-bit and are as what follows: Splus: TIBCO Software Inc. Confidential Information Copyright (c) 1988-2008 TIBCO Software Inc. ALL RIGHTS RESERVED. TIBCO Spotfire S+ Version 8.1.1 for Linux 2.6.9-34.EL,
2006 Jun 03
1
warnings messages from R when returning nothing
Hi : I have old Splus code that I am trying to turn into R ( I am using windows Xp and R 2.20 ) and I am getting a warning from one of my statements because the behavior of R is different from Splus. below, tempdata is a matrix of numbers and I have the following command which basically runs through the columns and returns the minimum index of the column where an NA occurs.
2003 Feb 06
1
Call C routine problem
When I call C function from Splus, I often meet this problem: "Problem: Couldn't find a function definition for "Stest" " My c function is saved as 'test.c' (the function is also named as 'test' My splus function is saved as 'Stest', such as Stest <- function(d,f) { .C("test", as.integer(d), as.single(f)) } Assume my files (test.c
2008 May 13
3
R benchmarking program
Hi All, I've just rebuild the latest R with the Goto BLAS on our new Intel quad core machines. I did a few basic matrix calculations, and I was very impressed by the performance I saw. I wonder if anyone has a more rigorous benchmarking program for R. I downloaded a old R test/benchmarking program (see below), and this didn't work with the current R, and so I wondered if anyone could