similar to: problem of loading workspace

Displaying 20 results from an estimated 30000 matches similar to: "problem of loading workspace"

2011 Feb 24
2
debugging
Dear R user How to make the program stop at the spot where the error occurs? I mean inside the iterations,. Many thanks yan ********************************************************************** This email and any files transmitted with it are confide...{{dropped:10}}
2011 Feb 01
3
R string help
Dear R guru: If I got a variable aaa<- "up.6.11(16)" how can I extract 16 out of the bracket? I could use substr, e.g. substr(aaa, start=1, stop=2) [1] "up" But it needs start and stop, what if my start or stop is not fixed, I just want the number inside the bracket, how can I achieve this? Many thanks yan
2011 Feb 21
1
output selectively change the font
Dear brainy R users, I need to output a matrix, with two colors , meaning some elements using different color I normally use write.table(table.m, file="table file name.csv", sep=","), how could I pass the index for the color ? Many thanks yan ********************************************************************** This email and any files transmitted with it are
2011 Feb 10
1
extracting characters from string
Dear R gurus, If I got a vector with string characters like "abcd_efgh_12ab3_dfsfd", how could I extract "12ab3", which is the characters after second underscore and before the third underscore? Tons of thanks yan ********************************************************************** This email and any files transmitted with it are confide...{{dropped:10}}
2011 Feb 14
1
Bron-Kerbosch algorithm
Dear R users I need to solve the finding all cliques in a graph problem, is there a R package implementing Bron-Kerbosch algorithm? Many thanks YAn ********************************************************************** This email and any files transmitted with it are confide...{{dropped:10}}
2011 Jan 28
1
axis name editing
Dear All, I'm generating a heatmap, is there a way to make Y axis name display horizontally, X axis name display vertically? I tried using "horiz=TRUE": axis(1,at=1:dim(cor.meta.m)[1],labels=gsub("module","",pw.names),horiz=T RUE) but got warning message and the name is not displayed as I wish: Warning message: In axis(1, at = 1:dim(cor.meta.m)[1],
2011 Apr 04
3
add zero in front of numbers
Dear R users, I need to add 0 in front of a series of numbers, e.g. 1->001, 19->019, Is there a fast way of doing that? Many thanks yan [[alternative HTML version deleted]]
2009 May 07
0
.First and loading a package in a workspace
Hi, I'm writing a package called rNMR and I'd like to be able to save a workspace with rNMR loaded, exit R, and then load the workspace, loading rNMR at the same time. This is no problem on Windows but on Linux and Macs I can't get it to work. Here's the deal. rNMR has includes a .onLoad function: .onLoad = function(lib,pkg){ print("rNMR version 1.0") } and
2009 Sep 07
2
R-crash when loading workspace - Windows
Dear all, One day when I tried to load an existing workspace (when opening R or by load()), R crashed without any error notification. The day before I had worked and saved my workspace without any trouble. At first I though it was a memory problem (workspace reaching 180Mo) or related to a particular script or command, so I start a new workspace. Everything was ok, that script and others
2007 Jun 15
2
Problem with workspace loading after languageR use
Hello R, To analyze multi-level data, I started learning and using lmer. So far so wonderful. I then found some useful functions in package languageR. But then the following problem ocurred: Whenever I load and use the languageR package, then save the workspace - or quit R with saving the workspace - I am unable to reload that workspace in a later session. That is, R doesn't start at all
2008 Jul 22
2
Cannot re-start R after bus error
Hi, I ran a program that was exhausting the (unix) server's available memory. I got a bus error and then chose to save and quit workspace (option 4). That may not have been a smart idea - when I try to use R now, I get the error message: Error in load(name, envir = .GlobalEnv) : ReadItem: unknown type 0, perhaps written by later version of R Fatal error: unable to restore saved data in
2011 Apr 06
3
function order
Dear All I'm trying to sort a matrix using function order, Some thing really odd: e.g. abc<-cbind(c(1,6,2),c(2,5,3),c(3,2,1))## matrix I want to sort if I do abc[ order(abc[,3]), increasing = TRUE] the result is correct [,1] [,2] [,3] [1,] 2 3 1 [2,] 6 5 2 [3,] 1 2 3 But if I want to sort in decresing order: abc[ order(abc[,3]), decreasing = TRUE] the
2006 Nov 27
5
automatic cleaning of workspace
I'm having that problem where I am sometimes using an object that's from a previous workspace when I don't want to be doing that. I was thinking of putting rm(objects=ls()) in my first.R function But, the problem with doing this, is that it doesn't prompt you with "are you sure" and there could be very rare cases where I don't want to delete the workspace ? Is there a
2009 Sep 12
1
stack overflow when loading workspace
Dear all, I can't load my workspace of 25Mo on R version 2.9.2, because of a stack overflow. But I saved it normally (save.image()), and I didn't get any notification... Does anyone know what that can be due to? Is there any limitation of number of objects (+/-63000)? Thanks Edwige Polus. [[alternative HTML version deleted]]
2010 Oct 20
3
loading workspace- getting annoying
I stupidly decided to save my last workspace (a large dataset) and every time I open R it loads it back in. Can I stop this? Also how do you clear variables. Thanks, Sachin --- Please consider the environment before printing this email --- Allianz - General Insurance Company of the Year 2009+ + Australia and New Zealand Insurance Industry Awards This email and any attachments has been sent by
2011 May 17
2
submit R package
Dear all, I'm just wondering how to submit a package to cran? I followed the instruction, using anonymous as username and my email address as password, but it didn't connect. Any hints? Yan [[alternative HTML version deleted]]
2006 Oct 18
1
selectively load some objects from old workspace
Dear Listers: I have a question on loading objects from workspace: suppose I have two workspaces for two approaches. My old workspace has some objects I need for the new workspace but I don't want to load the whole old workspace and remove most of the old objects and get what I want. Is there an easier way to do like this: load "some needed obj" from old workspace, which has been
2007 Mar 24
1
how to get current workspace name?
Use getwd(), I can get current directory name. Now I want to get current workspace name, Does anyone know how to do that? here is information about my R > sessionInfo() R version 2.4.0 (2006-10-03) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
2006 Aug 26
1
Memory usage decreases drastically after save workspace, quit, restart, load workspace
Dear all, I have the following problem: - I have written a program in R which runs out of physical memory on my MacBook Pro with 1.5 GB RAM - The memory usage is much higher then I would expect from the actual data in my global environment - When I save the workspace, quit R, restart R and load the workspace again, memory usage is much less then before (~50 MB instead of ~1.5
2012 Jan 24
5
function for grouping
Dear All, I'm wondering if there is a R function could give me all the combinations of the grouping/cluster result, given the number of the groups. e.g. 3 objects: x1 x2 x3, number of groups is 2 so the result will be group1:x1,x2; group2: x3 group1: x1;group2: x2,x3 group1: x1,x3;group2: x2 many thanks yan