similar to: How to de-source and re-source a file?

Displaying 20 results from an estimated 40000 matches similar to: "How to de-source and re-source a file?"

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
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
2017 Dec 06
3
STATA base de datos
OK. Lee primero los datos, guarda el data.frame (.RData o en un .csv o lo que quieras). Sal de RStudio o incluso reinicia el ordenador para liberar el máximo de memoria. Y comienza una nueva sesión con RStudio cargando los datos con "fread()". Por otro lado, este conjunto de datos ¿cómo es de grande (filas y columnas)?. ¿Y qué máquina tienes?. ¿Cuanta RAM tienes?. Gracias, Carlos.
2015 Sep 24
4
Objetos al abrir la sesión de R
Hola Abro una sesión de R y me aparecen unos objetos de una sesión de ayer. Los borro, cierro R y vuelvo a abrir otra sesión y los tengo otra vez. Es la primera vez que me pasa. ¿sabe alguien por qué me pasa esto y cómo me puedo deshacer de ellos, aunque sean míos y les tenga mucho cariño? Saludos Jesús [[alternative HTML version deleted]]
2004 Aug 01
1
Problem with RGui and MASS
Hi, Using R1.9.1 for Windows with Windows 2000 (also XP), I have come across the following problem that I have not seen before and am at a loss to explain. If I create an object using rlm from library(MASS) and then save the workspace, I cannot reopen it using RGUI by double clicking on the .RData file as I normally do. If I double click on the icon, R starts and then gives the following
2017 Dec 06
2
STATA base de datos
Pero entonces, ¿has leído ya el fichero en RStudio? ¿lo has convertido de Stata a csv o algún otro formato que con el que puedas trabajar en RStudio?. ¿O ahora el problema es que has convertido el fichero pero no puedes hacer ningún tipo de análisis porque tu equipo no tiene suficientes recursos?... Gracias, Carlos. El 6 de diciembre de 2017, 13:09, Antonio Rodriguez Andres <
2017 Dec 06
3
STATA base de datos
Estimados Pienso que falta memoria, aparte de las sugerencias ya aportadas, de pronto se podrían colocar algunos rm(liberar_de_memoria), para no tener ocupado espacio que no es requerido porque ese paso ya fue realizado. Javier Rubén Marcuzzi El 6 de diciembre de 2017, 13:58, Antonio Rodriguez Andres < antoniorodriguezandres70 en gmail.com> escribió: > Carlos > He tecleado lo
2017 Dec 06
2
STATA base de datos
Freddy el archivo lo leo en segundos en Stata. puedo probar el paquete heaven. Pero si recuerdo me dio problemas en RStudio El 6/12/2017 13:03, "Freddy Omar López Quintero" <freddy.vate01 en gmail.com> escribió: > El mié, 06-12-2017 a las 12:55 +0100, Antonio Rodriguez Andres escribió: > > me sale problema > de memoria. > > > Pregunta posiblemente tonta:
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
2020 Oct 22
2
vanilla session in R Gui or RStudio
[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 via a namespace. Not entirely clear where these come from. As a result, I often run into problems updating packages because something is already loaded. How can start a new gui session with minimal packages loaded? > sessionInfo() R version 3.6.3 (2020-02-29) Platform:
2023 Feb 16
1
Rda
Estimados como puedo importar en Rstudio datos que esten en RData? Saludos José
2017 Jun 08
2
Workspace en Rstudio
Estimados, Les tengo una pequeña consulta. Estoy trabajando con ASReml en Rstudio, me encuentro corriendo un modelo (CHL) para obtener el ANOVA de la interacción de los factores gen x env CHL<- asreml(fixed= MS~geno:env, random = ~rep, data = index) (interacción) Sin embargo, cuando ejecuto el modelo, R indica que siguiente mensaje: Current workspace: 128.000000Mb Warning message: Abnormal
2011 Mar 04
2
Rstudio question
I really like RStudio ... ... but I wish it wouldn't automatically reload the last .RData it had. Anyone know how to fix this ... ? Also - does anyone know is there an Rstudio-user email-list forum thingy out there ? ta. Robert Kinley [[alternative HTML version deleted]]
2018 Apr 19
2
odd assignInNamespace / setGeneric interaction
>>>>> Michael Lawrence <lawrence.michael at gene.com> >>>>> on Wed, 18 Apr 2018 14:16:37 -0700 writes: > Hi Bill, > Ideally, your coworker would just make an alias (or shortcut or > whatever) for R that passed --no-save to R. I'll try to look into this > though. > Michael Yes, indeed! As some of you know, I've
2016 Nov 15
2
Missing objects using dump.frames for post-mortem debugging of crashed batch jobs. Bug or gap in documentation?
Martin, thanks for the good news and sorry for wasting your (and others time) by not doing my homework and query bugzilla first (lesson learned! ). I have tested the new implementation from R-devel and observe a semantic difference when playing with the parameters: # Test script 1 g <- "global" f <- function(p) { l <- "local" dump.frames() }
2012 May 02
2
Función para devolver nombre del área de trabajo en uso
¡Hola! ¿Alguien sabe si existe una función en R que devuelve el nombre del área de trabajo (workspace) en uso si éste ha sido guardado anteriormente? Con getwd() R me devuelve la carpeta de trabajo, pero si en ésta tengo varios áreas de trabajo guardados, p.e. a.RData y b.RData, ¿cómo podría saber en cuál estoy trabajando si por un despiste no me acordara cuál he abierto anteriormente (sin tener
2012 Nov 02
3
Strange behaviour of setwd/getwd
I've found the following strange behaviour R (RStudio) which has been confirmed by another user in RGui. Inside a script I want to set two variables: default.wd = getwd() tmp.wd = setwd(choose.dir()) After choosing tmp.wd the value of default.wd is shown in Workspace, but getwd() is giving back the correct string of tmp.wd. Is there a workaround for the problem? I'm working on
2023 Apr 06
1
R does not run under latest RStudio
p.s. But now I click some (but not all)? .R file and cannot see the source code. On 4/6/2023 5:28 PM, Steven T. Yen wrote: > I updated to latest RStudio (RStudio-2023.03.0-386.exe) but > R would not run. Error message: > > Error Starting R > The R session failed to start. > > RSTUDIO VERSION > RStudio 2023.03.0+386 "Cherry Blossom " (3c53477a, 2023-03-09) for
2012 May 27
1
SOS! R Console crashed after loading RODBC... Update: Re: How to set up RODBC? Diff between R Console and RStudio?
On Sun, May 27, 2012 at 11:32 AM, Michael <comtech.usa@gmail.com> wrote: > Help! The R Console very quietly closed and exited without giving any > errors/warnings...after I loaded the RODBC library... > > Loading required package: RODBC > > > > > On Sat, May 26, 2012 at 10:27 PM, Michael <comtech.usa@gmail.com> wrote: > >> Hi all, >> >>
2014 Oct 02
3
debuggingState() analogous to tracingState() ?
We have had some conversation within R core, lead by Duncan Murdoch and me, about a proposal to extend the current tracingState() functionality by something tentatively called debuggingState(). Duncan has allowed me to copy the previous conversation (after very minor editing): The following is quite technical and assumes you know more about R's debug()ing and trace()ing than an estimated