Displaying 20 results from an estimated 20000 matches similar to: "Remove "save workspace image?" window when exit R"
2008 Aug 26
3
savePlot() does not save plot with format set
R-help,
Whenever I try to save a plot with "savePlot"
the file is not stored in my hard disk with the selected
format. Several formats are set and none of them
works. I just get the file name with missing extension
and it can't be open with programs like Paint and Microsoft Photo
Editor
Th only one able to open it is "Windows Picture and Fax Viewer"
plot(rnorm(10))
2009 May 26
2
R under Ubuntu
R-help,
I have installed R under Ubuntu and
I'm very new to a Linux distribution.
To open an empty R session I just type R on the Terminal aplication.
But how can I open a saved workspace?
At present I just start R and then load ("my_workspace") but it must be possible
to do it all at once,,,,right?
Thanks in advance
2005 Apr 06
6
Introduce a new function in a package?
R-help,
Sometimes I define functions I wish to have in any R session.
The obvious thing to do is copy-paste the code
The thing is that sometimes I don't know where I have the function
code.
My question is if somehow I could define a function and "introduce" it
(let's say 'base' package ) so that
could be used anytime I run a different R project.
Thank you in advance
2013 Feb 01
1
Expresiones regulares
Hola a todos,
Estoy intentando buscar en el workspace objetos con un determinado patrón:
> ls(pattern=(''res_UP_''))
[1] "res_UP_may_aug_16_17_18" "res_UP_sep_dec_16_17_18"
pero mi intención es la de encontrar objetos que solo contengan el
siguiente:
res_UP_"cualquiera_sequencia_texto_"16_17_18
He intentado lo siguiente pero no funciona:
>
2010 Jun 11
1
Unable to load an object
R-help,
I seem not to get an object saved neither with ".RData" extension nor
output via dput.
Whenever I try to import the above object in another worspace I just get nothing.
> geoFeatures <- load("geoFeatures.RData")
> geoFeatures
[1] "geoFeatures"
The "geoFeatures.RData" workspace contains an object list called "geoFeatures"
2011 Sep 07
1
Save Workspace Image? problem at start up
Dear Sir,
I am using R 2.13.1. Since yesterday when I start the Rgui the
message "Save Workspace Image?" shows up immediately on opening. Even
if I cancel, it does not get cancelled. If I select either no or yes,
it quits. I do not know all of a sudden what happened? Right from
yesterday I am trying my best to run R but am not able to do so.
Please help.
Thanks
--
Dr. TR
2004 Jul 20
9
Sort a data frame
Hi all
I have the next data frame
year STOD SLAGNR TAL TALT TALVEKT
1 2002 2120006 57 1 NA 1
2 1997 97030032 57 NA NA NA
3 1997 97030071 27 1 NA NA
4 1997 97030005 57 1 NA NA
5 1997 97020127 60 NA 1 NA
6 2001 1160025 27 1 NA 1
7 1998 98020069 60 1 NA NA
8
2003 Oct 08
1
Saving workspace image
Hi folks,
On quitting R with q(), is it possible to save the workspace
to a directory other than the one R was started from?
(I sometimes have a project "master" directory with the major
R code and data in that directory, but divisions of the project
having their specific stuff in sub-directories. So if I quit while
running a sub-project, I'd like to save the workspace back into
2004 Jun 17
3
How to order a vector
Hi all
I have a vector like this
2003 2002 2001 2000 1999 1998 1997 1996
106 105 106 106 105 106 101 107
How can I get it sorted right(1996....2003)?
Thank you
Luis Ridao Cruz
Fiskiranns??knarstovan
N??at??n 1
P.O. Box 3051
FR-110 T??rshavn
Faroe Islands
Phone: +298 353900
Phone(direct): +298 353912
Mobile: +298 580800
Fax: +298 353901
2005 May 27
2
Round a line
R-help,
I have lloked in the archives found no answer to how to round the line
joint.
I have usedthe arguments lnd, ljoin in par but I get no differences in
the plotting.
x=1:10
par(ljoin="round",lend="round")
plot(x,sin(x),type="l",lwd=2)
Any suggestions?
I run on a Windows XP machine.
> version
_
platform i386-pc-mingw32
arch
2014 Jan 31
2
manipulación de caracteres
lo que necesito es
"98989","121212"
y no :
paste(unlist(strsplit(char,",")),collapse=",")
[1] "98989,121212"
Luis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Luis Ridao Cruz
Faroe Marine Research Institute
Nóatún 1, P.O. Box 3051
FO-110 Tórshavn
Faroe Islands
Tel : (+298) 353900
Fax: : (+298) 353901
e-mail: luisr@hav.fo
2004 Jul 27
1
list problem
Hi all,
I have the folowing frame(there are more columns than shown),
1 2 3 4 5
Year Total Tus Whi Norw
1994 1.00 1830 0 355
1995 1.00 0 0 0
1995 1.00 0 0 0
1995 1.00 4910 4280 695
1997 1.00 0 0
2004 Aug 06
2
list of frames without first element
R-help,
I have a list of several data frames.
I want to compute the "rowSums" of the columns of these data frames but first one.
Something like this
lapply(my.list,rowSums)
Thank you
Luis Ridao Cruz
Fiskiranns??knarstovan
N??at??n 1
P.O. Box 3051
FR-110 T??rshavn
Faroe Islands
Phone: +298 353900
Phone(direct): +298 353912
Mobile: +298
2008 Apr 02
1
"remove.packages" gives error message
R-help,
I'm trying to remove some packages with the command
"remove.packages" but R 2.4.1 will come out with this:
> remove.packages(pkgs="FLAssess", lib = "C:\\Program
Files\\R\\R-2.4.1\\library\\FLAssess")
Error in .find.package(pkgs, lib) : there is no package called
'FLAssess'
Thanks in advance
NB: I know the R version is old but I need to run
2014 Apr 01
2
problema con RStudio
Hola, ¿qué tal?
¿Puedes comparar la salida del comando
Sys.getenv("LD_LIBRARY_PATH")
en una sesión en la que funciona RODBC y otra en la que obtienes el
error anterior?
Un saludo,
Carlos J. Gil Bellosta
http://www.datanalytics.com
P.D.: A propósito, también he estado tratando de utilizar RODBC en
Linux y me he acabado rindiendo. Sobre todo porque RJDBC funciona
bastante bien.
2014 Apr 01
2
problema con RStudio
Pues ahí lo tienes.
De alguna manera R (a través de RStudio) no está incorporando el directorio
/u01/app/luisr/product/11.1.0/client_1/lib
donde se ve que tienes las librerías de ODBC al "LD path". Échale un vistazo a
https://support.rstudio.com/hc/communities/public/questions/200641818-How-to-configure-libPaths-?locale=en-us
Aparentemente RStudio tiene su propio sistema para
2006 Nov 03
4
read file problem
R-help,
I have the following file I want to import to R (some lines
removed)
Calibrated CTD data for station:00280001
Calibrated:23/8 2001, Salinity Unsmoothed, Fluorescence Uncalibrated
Maximum observed depth: 36 m
QUAL has one digit for each of pressure, temp., sal. and fluor.
QUAL=1:Uncal., QUAL=2:OK, QUAL=6:Interp., QUAL=9:No data
2006 Apr 18
2
get the parameter estimates from lm model
R-help,
Sorry for posting the same question (almost) once again.
I'm using a lm model for some data.
The code is below:
fitData <- glm(pm ~ age + mw , family = binomial(link = logit), maxit =
30, data = inputModel1)
"age" is a factor and "mw" is a continous variable.
The summary function does not provide the parameter estimates for
the first level of the
2014 Apr 01
3
problema con RStudio
No, no estoy usando Rstudio Server
El 1 de abril de 2014, 9:07, Carlos J. Gil Bellosta
<cgb@datanalytics.com>escribió:
> Una pregunta... no estarás utilizando RStudio server, ¿verdad?
>
> En tal caso, lo que tienes que hacer es configurar
> /etc/rstudio/rstudio.conf tal como indica en
>
> http://www.rstudio.com/ide/docs/server/configuration
>
> En particular,
2014 Jan 31
2
manipulación de caracteres
esto me convierte la cadena de caracteres en dos y eso no es lo que quiero
además el resultado final de la cadena debe ser:
"98989","121212"
Luis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Luis Ridao Cruz
Faroe Marine Research Institute
Nóatún 1, P.O. Box 3051
FO-110 Tórshavn
Faroe Islands
Tel : (+298) 353900
Fax: : (+298) 353901
e-mail: luisr@hav.fo