similar to: Is there a way to view S-PLUS script files in R

Displaying 20 results from an estimated 11000 matches similar to: "Is there a way to view S-PLUS script files in R"

2006 Mar 17
3
Open .ssc .S ... files in R (PR#8690)
----- Quick summary: In the File:Open dialog, please change "S files (*.q)" to "S files (*.q, *.ssc, *.S)" and show the corresponding files (including .SSC and .s files). ----- Background This is motivated by the following query to R-help: >Date: Thu, 16 Mar 2006 22:44:11 -0600 >From: "xpRt.wannabe" <xprt.wannabe at gmail.com> >Subject: [R] Is
2006 Aug 25
4
How to iteratively extract elements out of a list
Dear List, The following code produces a list, which is what I what: set.seed(123) tmpf <- function() { x <- rpois(rpois(1,4),2) } n <- 3 m <- replicate(n,tmpf()) m [[1]] [1] 3 2 4 [[2]] [1] 0 2 4 2 2 5 2 [[3]] [1] 2 0 4 1 0 Now I need something that would to extract iteratively (or as many times as the size of 'n') the values that are greater than 2 in each component of
2006 Jun 01
4
A coding question
Dear List: I have the follow code: y <- replicate(10,replicate(8,sum(rnorm(rpois(1,5))))) Now I need to apply the following condition to _every_ randomly generated Normal number in the code above: x - max(0,x-15) + max(0,x-90), where x represents the individual Normal numbers. In other words, the said condition needs to be applied before replicate(...(replicate(...(sum(...))) takes place.
2003 Jan 17
1
More info - S-Plus compatability
Dear all, Thanks to those of you who have replied, the majority of the comments pointed out that the error caused by scan may originate from another function, and closer inspection of the output from traceback() reveals that it is in fact the read.table function where the error is originating from the full output of which I have included below. The error msg I recieve is Error in
2001 Jan 02
1
Transporting s-plus routines to R
I have used S-Plus for Windows for some time and have a large collection of personal programs. I have recently installed R-1.1.1 under Linux. I can read the .ssc files from S-Plus into emacs and save to R, but this is apt to be tedious. Any shortcuts to recommend? Will linux R read the _Data files from Windows S-Plus? Would Windows R serve as a useful intermediate transfer? -------------- next
2006 Mar 03
1
How to show the intermediate tick marks without the values in a different color
Is there a way to show also the intermediate tick marks without the values? Example: plot(cars) What would one do to show the tick marks in, say, gray color at the increment of 1 without showing the actual values in-between the default x values: 5, 10, 15, 20, 25? platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 2.1 year 2005 month
2007 Apr 26
3
A coding question involving variable assignments in ifelse()
Dear List, Below is a simple, standard loss model that takes into account the terms of an insurance policy: deductible <- 15 coverage.limit <- 75 insurance.threshold <- deductible + coverage.limit tmpf <- function() { loss <- rlnorm(rpois(1, 3), 2, 5) sum(ifelse(loss > insurance.threshold, loss - coverage.limit, pmin(loss, deductible))) } net <- replicate(1000000, tmpf())
2003 Jan 15
1
S-Plus compatability...
Dear all, I was wondering if someone could point me in the right direction to solve a problem I've encountered. I have a set of S-plus scripts which call an external program to analyse the data (the external program is called Genehunter and is used for genetic analysis). There are a six scripts in total, five of which are called from the main script. I made a few changes like changing
2007 Feb 28
2
sort of OT: bootstrap tutorial
There is now a tutorial on bootstrapping and other resampling methods at: http://www.burns-stat.com/pages/Tutor/bootstrap_resampling.html Corrections and other suggestions are welcome. The project started because a novice asked me about bootstrapping. My response was, "How dare you bug me while I'm playing with my cats, just google for it." My correspondent was not very impressed
2023 Mar 20
1
multi-site DNS confusion
Greetings, I'm not sure what else to add. If you need more info please let me know. Any input is greatly appreciated. Eric On Sat, Mar 4, 2023 at 2:58?PM Eric <rvwbug at gmail.com> wrote: > Greetings, > > This is my first attempt at multi-site with unique subnets (actually > first attempt at more than on DC). > > I had the existing "defaultFirstSite"
2005 Sep 16
1
Add lines to density plot
Dear List, I am using R to learn bootstrapping concepts. Not to be oblivious to the contributed packages of boot and bootstrap, I have opted to do the following as a way to hone my R skills. One example I am trying to work through is the following: x <- 1:20 Observed <- sample(x,20) Resamples <- replicate(1000,sample(Observed,replace=TRUE)) Boot.Means <- apply(Resamples,2,mean)
2005 Oct 18
1
A two-part question about box-percentile plots, bpplot(): (1) yaxt="n" doesn't seem to work (2) how to display mean values
Dear List, I have a two-part question related to bpplot(), a box-percentile plot function in the Hmisc package. Take the example given in the Help for bpplot(), for instance. (1) How does one set but not draw the y-axis? What I did was, bpplot(... , yaxt="n"), but that apparently does not work (though it works for boxplot()). (2) How does one display the mean value of each variable
2007 Jun 08
1
Need Help with robustbase package: fitnorm2 and plotnorm2
This is my first post requesting help to this mailing list. I am new to R. My apologies for any breach in posting etiquette. I am new to this language and just learning my way around. I am attempting to run some sample code and and am confused by the error message: Loading required package: rrcov Error in fitNorm2(fdat[, "FSC-H"], fdat[, "SSC-H"], scalefac = ScaleFactor) :
2004 Jan 31
3
Naming difference in cbind between S-Plus (PR#6515)
Naming difference in cbind between S-Plus and R. I think R is wrong. abc <- data.frame(y=1:4, x=rnorm(4)) abc.lm <- lm(y ~ x, data=abc) predict.lm(abc.lm, type="terms") ## this is where R got the name "x" abc <- cbind(abc, d=abc$y - predict.lm(abc.lm, type="terms")) abc R gives > abc y x x 1 1 -1.33925477 1.163001 2 2 1.52764505
2003 Apr 28
1
Sorry
On my previous message I gave incorrect URL's for the configuration output. They should be www.phineas.pwp.blueyonder.co.uk/config.log and www.phineas.pwp.blueyonder.co.uk/config.out Also this technique appears to work with Netscape on Solaris, but not IE on Windows. If this is not a sensible way to post diagnostic output let me know and I will post them in a different way. Phineas Campbell
2008 Apr 03
1
3.0.1pre3 - date/time discrepancy in the log
I'm using the very latest 'version 3.0.1pre3 protocol version 30', on both ends, and have seen a date/time discrepancy in the log on the receiver. The sending machine (machineA) is in US CDT while the receiver is in US PDT. Both sender and receiver have their time set correctly. a contiguous snippet from the log on the receiver : (note the first three timestamps are correct:)
2003 May 12
7
FW: S+ Script Files for R???
> Hi List, > I'm trying to get a bunch of hardened S+ users to switch to R. They won't > move because they have got addicted to the S+ (.ssc) > scripting files, available for MS windows versions. In these files you > highlight the code you want to execute by mouse, press an arrow in the > menu, and it fires it off to the S+ compiler directly. Is such a facility >
2015 Mar 13
3
RequireSecuritySignature=1 and public share with guest not working
strange i did not change anything in my windows 7 64bit. This is my full setup pretty basic. Ubuntu 14.04.2 LTS, Trusty Tahr, with sernet samba 4.1.17-9 I do have 1 user for samba. pdbedit -L xbmc:5000:MediaUser [global] workgroup = PRIVE server string = %h server dns proxy = yes ; name resolve order = lmhosts host wins bcast #### Networking #### # interfaces = 127.0.0.0/8 eth0
2008 Apr 01
3
"Dumb" proxying?
I'm a database noob, and it really seems like it would be overkill for my setup: I just want to proxy all connections from my DMZ to my internal mail server -- same internal server for all users. I used to use perdition for this set up, but am having issues getting it to play nicely with my new servers. Can I bypass all of the SQL stuff and just have dovecot forward all POP/IMAP
2011 May 25
1
[Fwd: Re: the mgcv package can not be loaded]
Sorry, I forgot to be more specific. I am using Windows XP. I am using R.12.2 I installed both packages from the install packages menu. I always write library(name.of.library), and it is enough. But when I write library(nlme), R does not find nlme right away I load nlme first and it says package was downloaded succesfully. However, when I try to do this again in another day, R cannot find