similar to: assigning and saving datasets in a loop, with names changing with "i"

Displaying 20 results from an estimated 7000 matches similar to: "assigning and saving datasets in a loop, with names changing with "i""

2008 Aug 28
2
Tidying up code - Warning message: deparse may be incomplete
Dear R users, I am currently writing a R package and to do so I am following the guidelines in manual 'Writing R extensions'. In Section 3.1, it is suggested to tidy up the code using a file containing the following: options(keep.source = FALSE) source("myfuns..R") dump(ls(all = TRUE), file = new.myfuns.R") I have done this for my own packages and although it runs, I get
2007 Dec 14
2
Rapid Random Access
I have some code that can potentially produce a huge number of large-ish R data frames, each of a different number of rows. All the data frames together will be way too big to keep in R's memory, but we'll assume a single one is manageable. It's just when there's a million of them that the machine might start to burn up. However I might, for example, want to compute some
2006 Mar 10
1
To improve my understanding of workspaces
Hello. I have grown accustomed to the .Data directory in S-Plus and so when I came to R I continued that behaviour by saving my workspaces at the end of each R session. So, I have saved workspaces in various directories where I have used R just as I would have had various .Data directories where I had used S-Plus. I have seen comments on the list, most recently from Prof. Ripley that they
2010 Jun 01
1
mvbutils and trackObjs
Hello Colleagues, I've recently become a fan of Mark Bravington's mvbutils package for organizing analysis projects in a tree. Using cd(), Save(), fixr(), mlazy() etcetera solves nicely some of the nuisances that have worried or annoyed me and sometimes caused big problems over the years. Well thought out. Now one feature that would be fabulous would be automatic time-stamping of
2007 Nov 06
3
How to know created time of object in R?
Dear UseRs, I would like to know the created time and date of specific object. Is there any function for it? Thank you in advance. Sincerely,
2020 Jan 18
1
How to get an object name from C?
(earlier I sent it as html by mistake). Hi, How can I get from C an object name used as a function argument? I have sample code in C that gives me access to the name of the function being called: SEXP xname(SEXP x) { const char *fun_name = CHAR(PRINTNAME(CAR(x))); x = CDR(x); const char *arg_name = isNull(TAG(x)) ? "" : CHAR(PRINTNAME(TAG(x)));
2009 Jun 08
14
script help - '3rd last field'
Hi I need some logic to work out a value for me - this value is _always_ the 3rd last field in a string seperated by '.' but the string could be 5 or 6 fields long, e.g foo.bar.VALUE.baz.lala foor.bar.gigi.VALUE.baz.lala I need to find VALUE - if this were python or something i could do it but this has to be in shell - Any clues? thanks
2004 Jun 23
3
Cannot Restore Workspace with R 1.9.1 (PR#7012)
Full_Name: Stefan Albrecht Version: 1.9.1 OS: Windows NT 4.0 Submission from: (NULL) (194.127.2.73) Hi all, upgrading to R 1.9.1 I am no longer able to restore saved data in .RData with after some involved data manipulations and calculations (fatal error!). In addition I get the message Error: object 'family' not found whilst loading namespace 'MASS'. This problem does not
2007 Oct 11
2
Identifying and characterizing strings of NA in a vector
Dear R users, I was wondering if someone could suggest a few lines of code for my problem. I want to count the number and the length of strings of NA in a vector. For example: vec <- c(1, 2, 1, NA, NA, 1, 2, NA, NA, NA, 3, 4, NA, NA) has 2 strings of NA's of length 2 and 1 string of NA' of length 3. I can easily count the number of NA's per vector, but I am having a hard time
2012 Oct 22
3
Remove records from a large dataframe
Hi, I am trying to remove a series of records from a large dataframe. The script I have written works fine but takes a long time to run. Can anyone suggest a quicker way to do this? Here is an example of the code I've written. The end result of this bit of code would be a dataframe with any records relating to ID 1 or ID 4 removed: #dataframe id <- c(1,1,1,1,2,2,2,2,2, 3,3,3, 4,4)
2012 Aug 31
7
splits with 0s in middle columns
Hi, A column of my df looks like A 10/20/30 40/20 60/10/10/5 80/10 I want to split it such that the last column has the last composition and if there are not enough the middle columns get the 0s. That way my df would look like A1 A2 A3 A4 10 20 0 30 40 0 0 20 60 10 10 5 80 0 0 10 How can I do that ?? [[alternative HTML version deleted]]
2007 Dec 03
1
AD issue....
Hi, i want to integrate AD + Samba3 via kerberos, every works great i get the users and groups with wbinfo -u and wbinfo -g so in linux i cat set the permissions to a share using the AD's users. However when i try "getent passwd" I only get the system users and not the AD's users... in my nsswitch.conf i have: passwd: files winbind group: files winbind shadow:
2014 Dec 20
2
Request for wiki access
UserName: Humble --Humble On Sat, Dec 20, 2014 at 2:35 PM, Lalatendu Mohanty <lmohanty at redhat.com> wrote: > > On 12/20/2014 02:32 PM, Humble Devassy Chirammal wrote: > > Hi, > > I would like to write some articles about GlusterFS in CentOS wiki space > as part of CentOS storage SIG. > > Can you approve the wiki access for the same ? > > >
2017 Aug 24
5
[Bug 1179] New: vmap and sets cause "BUG: invalid range expression type set"
https://bugzilla.netfilter.org/show_bug.cgi?id=1179 Bug ID: 1179 Summary: vmap and sets cause "BUG: invalid range expression type set" Product: nftables Version: unspecified Hardware: All OS: All Status: NEW Severity: major Priority: P5 Component: nft
2005 Jul 17
1
printing the name of the arguments passed to a function
R2.1.1 Win 2k I have a function, B, within a function, A. I would like to have B print the name of the argument passed to it (not the value of the arguments). i.e., A<-function() { B<-function(x,y) { fit1<-lm(y~x,data=jo) print(summary(fit1) I want B to print the string "age" and the string "height". } B(age,height) }
2006 Jun 16
1
Odd behavior
I''m getting a lot of odd behavior with RedCloth. Perhaps I''ve configured something wrong. Here''s one example... h1. header line # one # two lala haha ------------ Returns the following--------------- <h1>header line <ol> <li>one</li> <li>two<br />lala haha</li> </ol></h1> Any ideas about what this might be?
2018 Feb 07
2
Question about using LoopAccessLegacyAnalysis
Hi LLVM community, I am writing a custom pass for analyzing the dependence information for the memory access within a loop. I found “LoopAccessLegacyAnalysis” class useful, however I m not able to obtain information from that pass. Here is what I did to get the information: // require pass virtual void getAnalysisUsage(AnalysisUsage &AU) const {
2008 Oct 22
2
Lala music mover throws many errors
I am trying to run the Lala music mover (it works in conjuction with Lala.com, a legal music sharing service). I've managed to tweak Wine enough to work it to a certain point in the wizard (this was a few months ago) but it throws back some errors about unimplimented functions. The console trace is HUGE so I didn't want to post it to the list right off the bat for those of you who read
2014 Apr 10
3
[LLVMdev] Test failures with 3.4.1
On 10/04/2014 16:32, Tom Stellard wrote: > On Wed, Apr 09, 2014 at 06:47:19PM +0200, Sylvestre Ledru wrote: >> Hello, >> >> Trying the 3.4.1 branch, I get following tests failing: >> LLVM :: CodeGen/X86/2009-06-05-VZextByteShort.ll >> LLVM :: CodeGen/X86/fma4-intrinsics-x86_64.ll >> LLVM :: CodeGen/X86/fp-fast.ll >> LLVM ::
2007 Mar 01
4
R File IO Slow?
Is R file IO slow in general or am I missing something? It takes me 5 minutes to do a load(MYFILE) where MYFILE is a 27 MB Rdata file. Is there any way to speed this up? The one idea I have is having R call a C or Perl routine, reading the file in that language, converting the data in to R objects, then sending them back into R. This is more work that I want to do, however, in loading Rdata