similar to: Rstudio question

Displaying 20 results from an estimated 9000 matches similar to: "Rstudio question"

2009 Jun 12
3
replacing zeros by NAs
something like ... > x<-c(1,2,3,0,5,6,0) > is.na(x[x==0])<-T > x [1] 1 2 3 NA 5 6 NA ~~~~~~~~~~~~~~~~ Robert Kinley ~~~~~~~~~~~~~~~~ [[alternative HTML version deleted]]
2005 Sep 14
1
non-central t : R v.Splus
Hi For bureaucratic reasons beyond my control I need to rewrite an R function (for producing operating characteristic curves) as an Splus function ( version 6 , windows XP ). The R function makes extensive use of the fact that the student's t distribution function pt() has a non-centrality parameter built in ... sadly that parameter is not present in the Splus pt() function .
2010 Nov 25
1
difficulty setting the random = argument to lme()
My small brain is having trouble getting to grips with lme() I wonder if anyone can help me correctly set the random = argument to lme() for this kind of setup with (I think) 9 variance/covariance components ... Study.1 Study.2 ... Study.10 Treatment.A: subject: 1 2 3 4 5 6 etc. 28 29 30 Treatment.B: subject: 31
2009 May 26
4
moving from Windows to Linux - need help
hi I've used R for many years on windows machines, but have now acquired an Asus eee 1000 linux machine. In order to get the best out of the machine, I used the 'pimpmyeee.sh' script, to get the full KDE desktop. The version of Linux is Xandros, which I believe is a close relative of Debian, but sadly I have only a nodding acquaintance with Linux at present. Naturally I want to
2010 Mar 05
0
running R from Notepad++ in Windows 7
hi Andrew Many thanks for the suggestion. I gave it a try , but still get the same issue - a fresh Rgui window (just one) opens, with an empty .RData, when I submit a script ( Ctrl & F8 ). I also tried running things as administrator, but it made no difference. Apparently windows 7 is selling like hot buns, so there should be enough market pressure before too long , to encourage the
2005 May 25
2
time-ordered object list
It's often useful to view objects in time order. In Splus I can do this with > objects.summary(order = "dataset.date") which delivers this sort of thing ... data.class storage.mode extent object.size dataset.date reference data.frame list 25 x 4 1700 2004.09.13 15:43 x data.frame list 15 x 4 1175
2005 Sep 28
0
responses to my question on non-central t
The original question is attached at the end of this message ... In the world of R the excellent mvtnorm package answers my original question and many more that I didn't know I needed to ask. In the world of Splus ( version 6 , Windows XP ) this link :- http://www.biostat.wustl.edu/archives/html/s-news/2002-11/msg00079.html which was provided by Dimitris Rizopoulos, is useful.
2012 Mar 05
2
how to send text output to its own window
platform: R 2.14.2 - Windows XP - Rstudio When I use cat() or print() in a script, the output text is of course mixed up with the lines of the script. I can sink() the output to a textfile and then play the file back at the end of the script, but that's not really what I'm after. It would be nice if the lines of text output could appear in a separate window, in the same
2002 Mar 22
0
sequential t-test - replies
[my original message to s-news & r-help is attached ] No one possessed or knew of any S/R code for the sequential t-test. Also it doesn't appear in the SAS index. One or two suggested obtaining the S+ seqtrial software which may (or may not) cover this, but this seemed to be a bit of a "hammer to crack a nut". I have written a function based on the treatment in Wetheril
2009 Nov 26
1
JMP <-> R ?
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091126/5252ee65/attachment-0001.pl>
2010 Mar 01
4
repeated measures anova, car package
Hello list, I' d very much appreciate some help with a two sample repeated measures ANOVA. I did the analysis yielding sign. main effects (between subj.=site, within subj.=cover) and a sign. interaction: Univariate Type II Repeated-Measures ANOVA Assuming Sphericity SS num Df Error SS den Df F Pr(>F) site 18.7620 1 18.831 10 9.9631 0.010220 *
2012 Feb 21
2
Debugging using RStudio or any other R editor
Hello, I am using RStudio and have trouble finding out the problematic line in the presence of a bug. Could I view the line NUMBER which contains a bug? Is there any R editor able to do it? Thanks, Miao [[alternative HTML version deleted]]
2013 Feb 18
2
repeated measures anova
Hi I'm having difficulty working out how to get what I think is the appropriate partitioning of variability in a repeated measures setup. I have G=5 treatment-groups, each containing n=6 subjects, and a response is measured on each subject on t=4 occasions. I think the anova degrees of freedom should partition as follows - Between-subjects: G*n-1=29 [ between-groups: g-1 = 4 ,
2006 Oct 23
1
Cube plots
Hi does anyone know of any R functions or packages for the following :- . generating cube plots for displaying the results from a response surface experiment design . generating ternary plots from a mixture design . tetrahedral plot or quaternary plot for displaying results from a four factor mixture experiment thanks Bob Kinley [[alternative HTML version deleted]]
2010 Oct 28
1
updating a local package
Hi folks I have inherited a package which was created before release 2.10 and I need to have it working in release 2.12 There is a folder containing the Man, Data and R subfolders, and the description file, and there is also the corresponding zip file. I can install the package from the zip file, but when I try to load it I get the message :- Error: package was built before R
2012 Jul 03
1
saving contour() plot info
{ I think this message got rejected at the 1st attempt - trying again} R 2.15.1 , windows XP I have a very non-stationary bivariate time-series - say {xt,yt} t=1 ... lots. I want to do a bivariate density contour-plot of the whole series and then step through the series 1 second at a time plotting that second's {x,y} subset on top of the contour plot and losing the previous
2020 Oct 23
0
vanilla session in R Gui or RStudio
Can you be more specific about what conditions cause R to automatically load a package when a .RData file is loaded? My experience has actually been the opposite. On October 22, 2020 6:13:11 PM PDT, Henrik Bengtsson <henrik.bengtsson at gmail.com> wrote: >As Jeff says, it might be that you have a ~/.Rprofile file with >instructions to load packages when R starts. It could also be
2020 Oct 23
3
vanilla session in R Gui or RStudio
As Jeff says, it might be that you have a ~/.Rprofile file with instructions to load packages when R starts. It could also be that you have a .RData file, which is saved if you answer yes to: > Save workspace image? [y/n/c]: y when you quit R. If this file exists, then R loads it and all the objects you had when you saved it. If there are objects associated with packages, then that will
2012 Dec 02
1
Problem with figures
I am having problem making ggplot2, tikzDevice, and knitr working together. I used a very simple example: ---------------------------example.Rnw----------------------------- \documentclass[preview]{standalone} \begin{document} \begin{figure} <<fig1,eval=TRUE,echo=FALSE,dev='tikz'>>= library(ggplot2) qplot(displ, hwy, data = mpg, colour = factor(cyl)) @ \end{figure}
2020 Oct 22
0
vanilla session in R Gui or RStudio
Have you looked into your .Rprofile file? Loading packages is not something R normally does without your telling it to do so, but many people forget that they have done so. On October 22, 2020 3:47:04 PM PDT, Michael L Friendly <friendly at yorku.ca> wrote: >[env: Windows, R 3.6.6] > >When I start R from the R Gui icon or from RStudio, I get a large >number of packages loaded