similar to: GUI File>Load workspace "bug" in Windows (PR#7710)

Displaying 20 results from an estimated 20000 matches similar to: "GUI File>Load workspace "bug" in Windows (PR#7710)"

2005 Jul 20
1
Default arguments for setMethod() (PR#8021)
Full_Name: Bert Gunter Version: 2.1.1 OS: Windows 2000 Submission from: (NULL) (192.12.78.250) There appears to be either a bug or documentation problem in setMethod/setGeneric with how default arguments are handled. The setMethod Help says: ****** Method definitions can have default expressions for arguments. If those arguments are then missing in the call to the generic function, the default
2004 Nov 09
1
colnames argument in sqlFetch backwards? (PR#7355)
Full_Name: Bert Gunter Version: 2.0.0 patched OS: Win2000 Submission from: (NULL) (192.12.78.250) The TRUE/FALSE options of the colnames argument in sqlFetch (RODBC) seem to be reversed, at least for .xls files. ## z is a connection to an xls workbook opened by odbcConnectExcel() > dat<-sqlFetch(z,'SuccessRates',colnames=FALSE) > dat[1:5,] RecID Name Run Grams Lost Run
2017 Jun 23
0
MODISTools Help
##MODISTools example library(MODISTools) library(lubridate) setwd('~/Documents/Modis data') #####MODISTools with buffalo data ###Read in data rename for easier coding tbdata <- read.csv('~/Desktop/All TB data for EVI, NDVI.csv') firstobs <- subset(tbdata, capture.ID == 'B1-1108') firstobs <- firstobs[,c(1,2,2,3,4)] colnames(firstobs) <- c('id',
2002 Dec 18
3
workspace vs. image
Hello [R]ians, I'm hoping someone can clarify the difference between a Workspace Image and Working Directory. I created a directory on my PC, say, "C:\Program Files\R\Project1" and then saved my objects in "C:\Program Files\R\Project1\.Rdata". Then, in a subsequent session, I reloaded these objects using > load("C:/Program Files/R/Project1/.RData") At
2009 Jun 05
2
Show location of workspace image on quit?
When I quit R, it says: > q() Save workspace image? [y/n/c]: and since I've probably got 3 R sessions running in however many different directories and I might have jumped around with setwd() , I forget exactly where R wants to save its workspace image. So could q() be changed to say what file it is going to save to before it does? Currently I have to hit 'c', then do
2017 Jun 23
1
MODISTools Help
On 6/22/2017 7:05 PM, Caroline wrote: > ##MODISTools example > library(MODISTools) > library(lubridate) > setwd('~/Documents/Modis data') > > #####MODISTools with buffalo data > > ###Read in data rename for easier coding > tbdata <- read.csv('~/Desktop/All TB data for EVI, NDVI.csv') Since this dataset is only on your desktop it cannot help us
2009 Mar 08
1
Prevent saving the workspace while running a script in batch mode
Dear R-user, I'm running a certain R script in DOS batch mode. Is there a way to prevent R from saving the workspace once this script is finished? I'm asking this because the resulting .RData file has the size of >70MB. I don't need this file since my script already writes the required output and this makes the whole process very slow (>15 minutes each time) FYI, my script:
2009 Mar 30
1
Can I read a file into my workspace from Rprofile.site?
I am running R version 2.8.1 on Windows XP OS. When I launch R, I would like to automatically read a file containing my database connections, user ids, and passwords into my workspace. I tried including this in my Rprofile.site file: ... local({ old <- getOption("defaultPackages") options(defaultPackages = c(old, "Rcmdr","RODBC", "utils")) }) .First
2017 Jun 22
1
MODISTools Help
1. You should always cc the list unless there is a clear reason not to. 2. You still have failed to follow the posting guide: You say you have difficulty troubleshooting your code, but you have shown us no code. You got an error message that seems explicit, but with neither code nor data, I do not know whether anyone can make sense of it. In any case, I certainly cannot. Cheers, Bert Bert
2008 Jun 12
1
save workspace while running R on a cluster
Hello, I have a question about running R in a cluster environment. The shell script I am running looks like this: #!/bin/bash cd /nfs/apollo/2/c2b2/users/mb0001/Data /nfs/apollo/1/shares/software/core_facility/local/x86_64_rocks/R/current/bin/ R --save < calculate.R >& script.out I have used the "-save" command to save the R workspace (If, I understand it
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
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
2002 Jun 09
2
GUI Command Equivalent for setwd()
Hi everyone, Can anyone tell me if there's a command prompt on R1.5.0 Windows that will bring up the GUI dialog box that performs the same function as setwd() only interactively? I've hunted around, but can't seem to find anything. Something like file.choose(). Best wishes, Jess _____________________________________ Jess Mar Department of Mathematics University of Queensland QLD
2018 Feb 13
0
LSmeans and lsmeans
A cursory reading indicates that they are identical; but others more knowledgeable than I need to confirm or deny this. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Feb 13, 2018 at 3:38 PM, Pius Mwansa <pmwansa at
2018 Feb 13
1
LSmeans and lsmeans
It is in the doBy package. Thanks From: Bert Gunter [mailto:bgunter.4567 at gmail.com] Sent: Tuesday, February 13, 2018 4:32 PM To: Pius Mwansa <pmwansa at shaw.ca> Cc: R-help <r-help at r-project.org> Subject: Re: [R] LSmeans and lsmeans Always cc the list unless there is good reason to keep your reply private. There is no LSmeans() function in the lsmeans package.
2002 Mar 01
3
Setting working directory (PR#1338)
Full_Name: Jeffrey M. Freedman Version: 1.4.1 OS: Mac OSX Submission from: (NULL) (169.226.200.51) I'm running R version 1.4.1 (NOT DARWIN VERSION) and it crashes every time I set a working directory (either from the menu or using setwd) to a path that is longer than a certain number of characters. This was not a problem in version 1.3.1. Thank you.
2016 Apr 16
0
Mean of hexadecimal numbers
Since these are color strings, you can use functions in the grDevices package (other others) to manipulate them. E.g., you can convert them to various color spaces and perhaps use the mean in one of those spaces as your 'average color'. > myColors <- c(One="#FF7C00",Two="#00BF40",Three="#FFFF00") > col2rgb(myColors) One Two Three red
2016 Apr 16
2
Mean of hexadecimal numbers
... and if you need to convert back: ?as.hexmode -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sat, Apr 16, 2016 at 8:20 AM, Bert Gunter <bgunter.4567 at gmail.com> wrote: > ?strtoi > > You'll have to remove
2005 Oct 14
0
Fw: Setting working directory interactively within a function
>On 10/14/2005 1:08 PM, Berton Gunter wrote: >> ?setwd >> e.g. setwd(file.choose()) >> >> BTW, you could have found this on your own via help.search('working >> directory') . Base R has quite good docs -- you should try them first. >> >> -- Bert Gunter > >That won't work in Windows, where the dialogs don't consider directories
2009 Oct 30
2
R-help Digest, Vol 80, Issue 30
Dear friends, I will be very happy if anyone tell me the way to change work directory permanently? I mean not use the function setwd() which can only change temporary, when you close the console, it will the old directory. Sys.setenv(R_USER = '') also doesn't work. [[alternative HTML version deleted]]