Displaying 20 results from an estimated 8000 matches similar to: "how to get current workspace name?"
2008 Feb 25
1
RWinEdt Install issue
Dear RUsers,
I just upgraded from 2.6.0 to 2.6.2 and tried to reinstall the RWinEdt patch to work with WinEdt so that I can continue function as I always have but I have run into problems that I don't understand how to fix. Any help would be great. Essentially, I downloaded the latest RWinEdt zip folder from the CRAN website and tried calling the library. I tried re-installing it a bunch of
2006 Dec 13
2
install.packages
I try to type this in my R-winEdt.
but I got these. Do you know?
Aimin
>
install.packages('http://rh-mirror.linux.iastate.edu/CRAN/bin/windows/contrib/2.4/plotrix_2.1-6.zip')
Warning in download.packages(pkgs, destdir = tmpd, available = available, :
no package
'http://rh-mirror.linux.iastate.edu/CRAN/bin/windows/contrib/2.4/plotrix_2.1-6.zip'
at the
2006 Nov 30
4
R_WinEdt question
if I want to put fig1plot to the left, figYPplot to the right
figYAaplot on the bottom.
How to modify the following cod to do these?
\begin{figure}[H]
\centering
\begin{minipage}[t]{0.5\textwidth}
\centering
<<label=fig1plot,fig=TRUE,echo=FALSE>>=
<<fig1plot>>
@
%\caption{Caption 1}
\end{minipage}
\begin{minipage}[t]{0.5\textwidth}
\centering
2010 Jul 29
1
Crash report: projection pursuit & predict
Folks,
The projection pursuit regression function in the base R seems to crash when the optimization level is set to zero, i.e. the initial ridge terms are accepted without refitting. I encountered this problem in an out-of-sample prediction exercise using predict. But further investigation suggests the issue is with the ppr fit and predict just sppeds up the crash. The other optlevels seem to be
2006 Nov 23
1
integrate R code to WinEdt file
I want to integrate R code to my WinEdt file.
Can someone tell me how to do this?
I copy R code to my WinEdt file, but it does't work.
Aimin Yan
2010 Nov 27
0
Problem with installing RWinEdt on Win 7
I am having problems installing RWinEdt on a Windows 7 machine after
upgrading to R 2.12 and running R as an administrator. I have WinEdt 5.x
installed on my machine (no WinEdt 6). Please see the r session as below.
Would appreciate any feedback.
Thx.
______________________________________________________________________________________
> library(RWinEdt)
Error in library(RWinEdt) :
2006 Nov 26
1
plot p(Y=1) vs as
I am trying to fit a logistic regression model for this data set.
Firstly, I want to plot P(Y=1) vs As and P(Y=1) vs Aa.
Does any body know how to do these in R.
Thanks,
Aimin
> p5 <- read.csv("http://www.public.iastate.edu/~aiminy/data/p_5_2.csv")
> str(p5)
'data.frame': 1030 obs. of 6 variables:
$ P : Factor w/ 5 levels "821p","8ABP",..: 1
2007 Jan 19
2
split data set
I have a data(ABC) like this:
x y
A 3 4
A 1 3
B 2 6
B 4 8
C 5 4
C 6 7
I want to split this data into
A:
x y
A 3 4
A 1 3
B
B 2 6
B 4 8
C
C 5 4
C 6 7
anyone knows how to do that?
thanks,
Aimin Yan
2006 Nov 20
4
for help about logistic regression model
I have a dataset like this:
p aa
index x y z sdx sdy sdz delta as
ms cur sc
1 821p MET 1 -5.09688 32.8830 -5.857620 1.478200 1.73998 0.825778
13.7883 126.91 92.37 -0.1320180 111.0990
2 821p THR 2 -4.07357 28.6881 -4.838430 0.597674 1.37860 1.165780
13.7207 64.09 50.72 -0.0977129 98.5319
3 821p GLU 3 -5.86733 30.4759
2007 Jan 28
2
nnet question
Hello,
I use nnet to do prediction for a continuous variable.
after that, I calculate correlation coefficient between predicted value and
real observation.
I run my code(see following) several time, but I get different correlation
coefficient each time.
Anyone know why?
In addition, How to calculate prediction accuracy for prediction of
continuous variable?
Aimin
thanks,
> m.nn.omega
2006 Oct 24
2
for help
I have a question in R.
In directory H:/Delta_angle
I have 19 files like this:
ALA.delta
ASN.delta
ASP.delta
CYS.delta
GLN.delta
GLU.delta
HIS.delta
ILE.delta
LEU.delta
LYS.delta
MET.delta
PHE.delta
PRO.delta
SER.delta
THR.delta
TRP.delta
TYR.delta
VAL.delta
I want to read these files to 19 data sets in R.
All these data sets have "P","AA",index","delta"
2006 Nov 23
2
Sweave question
I try Sweave
and get Sweave-test-1.tex
but hot to run LaTeX on 'Sweave-test-1.tex'?
I am using WinEdt.
thanks,
Aimin
> Sweave(testfile)
Writing to file Sweave-test-1.tex
Processing code chunks ...
1 : print term verbatim
2 : term hide
3 : echo print term verbatim
4 : term verbatim
5 : echo term verbatim
6 : echo term verbatim eps pdf
7 : echo term verbatim eps pdf
2006 Dec 08
1
question for if else
I have a data set like this
I want to assign "outward" to Y if sc <90 and assign "inward" to Y if sc>=90.
then cbind(p1982,Y) to get like these
p aa as ms cur sc Y
1 154l_aa ARG 152.04 108.83 -0.1020140 92.10410 inward
2 154l_aa THR 15.86 28.32 0.2563560 103.67100 inward
3 154l_aa ASP 65.13 59.16 0.0312137 7.27311 outward
4 154l_aa CYS 57.20 49.85
2007 Mar 07
1
how to avoid to overwrite object
Dear R list,
I have a question in R, it could be very simple, but I don't know how to do it?
for example:
I assign 6 to x in beginning of of my R script code
> x<-6
......
After many line code, I forget using x variable before, I use x
again, and do assignment like this
> x<-45
> x
[1] 45
then value 6 of previous x is replaced by 45.
I am wondering if there are some way R
2009 Aug 27
5
Transform data for repeated measures
I have a dataset that I'm trying to rearrange for a repeated measures analysis:
It looks like:
patient basefev1 fev11h fev12h fev13h fev14h fev15h fev16h fev17h fev18h drug
201 2.46 2.68 2.76 2.50 2.30 2.14 2.40 2.33 2.20 a
202 3.50 3.95 3.65 2.93 2.53 3.04 3.37 3.14 2.62 a
203 1.96 2.28 2.34 2.29 2.43 2.06 2.18 2.28 2.29 a
2008 Dec 31
1
Instalación de WinEdt para R
Buenas tardes a todos:
Primero que nada un saludo y desearles un feliz 2009. Escribo para que me
asesoren con la instalación de un editor de R, estube siguiendo los pasos de
un manual
1. Instalar R
2. Instalar WinEdt 5 (V. 5.2 o superior)
3. Instalar *SWinRegistry *(disponible en
http://www.omegahat.org/SWinRegistry): *Packages
! Install package(s) from local zip ¯les...
*
4. Instalar
2007 Nov 15
3
generate combination set
I have a set data={A,B,C,D,E,F,G}
I want to choose 2 letter from 8 letters, i.e. generate the combination set
for choose 2 letters from 8 letters.
I want to get the liking:
combination set={AB,AC,AD,....}
Does anyone konw how to do in R.
thanks,
Aimin
2007 Mar 04
2
lattice histogram
How to add mean,sd, number of observation in each panel for lattice histogram?
Aimin
2007 Apr 28
1
RWinEdt and Windows Vista
Hi,
I have a new computer with Windows Vista and I am trying to use
RWinEdt, which I have always used. I am using R version 2.5.
The installation of the RWinEdt library is funny. First, it didn't
install at all. Then, I uninstalled/reinstalled both R and WinEdt,
downloaded the package again from the CRAN repositary, got some error
messages, but RWinEdt initialized. I closed R and WinEdt,
2007 Dec 10
1
Question re: RWinEdt conflicting with my WinEdt
Hi,
This is a question regarding the RWinEdt package for R. I have WinEdt
5.5, RWinEdt 1.7-9, and R 2.6.0 on WindowsXP.
Somehow my configuration or start up files between RWinEdt and WinEdt
are getting confused. Usually when I open either one, the last files I
was working on *with that program* are opened automatically. So if I
last used mydoc.tex in WinEdt and myprogram.R in RWinEdt those