search for: somedata

Displaying 20 results from an estimated 36 matches for "somedata".

2008 Jan 30
0
Samba hanging from time to time
...rs which are here: Sorry about the length of the extracts, but there seem to be two types of different errors including: sys_acl_set_file type file failed smb_set_file_dosmode: file_set_dosmode ... (Operation not permitted) [2008/01/30 13:00:44, 2] smbd/open.c:open_file(391) user1 opened file somedata/ADMIN/some directory/2008/~WRD3964.tmp read=Yes write=Yes (numopen=5) [2008/01/30 13:00:44, 2] smbd/open.c:open_file(391) user1 opened file somedata/ADMIN/some directory/2008/A file name 33 chars long 080130.doc read=No write=No (numopen=6) [2008/01/30 13:00:44, 2] smbd/close.c:close_normal_file(...
2008 Feb 05
2
Samba crashing word and excell?
...rs which are here: Sorry about the length of the extracts, but there seem to be two types of different errors including: sys_acl_set_file type file failed smb_set_file_dosmode: file_set_dosmode ... (Operation not permitted) [2008/01/30 13:00:44, 2] smbd/open.c:open_file(391) user1 opened file somedata/ADMIN/some directory/2008/~WRD3964.tmp read=Yes write=Yes (numopen=5) [2008/01/30 13:00:44, 2] smbd/open.c:open_file(391) user1 opened file somedata/ADMIN/some directory/2008/A file name 33 chars long 080130.doc read=No write=No (numopen=6) [2008/01/30 13:00:44, 2] smbd/close.c:close_normal_file(...
2009 Oct 28
3
variable labels to accompany data.frame
...me. Furthemore: In Stata, if "myvariable" is labeled numeric (in R lingo, a factor), and I type codebook myvariable then Stata tells me, among other things, the "levels" of myvariable. Does a tool of this sort exist in R? The prompt() function is related to this, but prompt(someDataFrame) creates a text file on disk. The text file is associated with, but not unambiguously linked to, someDataFrame. The epicalc function codebook() provides a summary of a dataframe similar to that created by summary() but easier to read. But this is not a way to define and keep track of labels t...
2011 Apr 13
2
Dump the "source code" of data frame
Dear R experts, I remember a similar function existed and have been mentioned in R-help before. I tried my best to search but I really can't find it out. suppose I have an data frame like this: > somedata <- data.frame(age.min = 1, age.max = 1.5, male = TRUE, l = -1.013, m=16.133, s=0.07656) In order to back up the data and I don't want to use write.table(), I would like to back up the "source code" of the data frame. When I apply that function (let's call it dumpdf() ), the fu...
2006 Jun 29
1
Question on memory allocation & loop
Hello All, I am trying to work on writing the following piece of (pseudo) code in an optimal fashion: ---------------------------------------------------- # Two data frames with some data a = data.frame(somedata) b = data.frame(somedata) for(i in 1:nrow(dt) { # Merge dates for a given date into a new data frame c = merge(a[a$dt==dt[i],),b[b$dt == dt[i],], by=c(some column)); } ---------------------------------------------------- Now, my understanding is that the data frame c in the above code is ma...
2005 Mar 16
1
Note: "The default device has been opened to honour attempt to modify trellis settings"
...up to any plot whatsoever. I call the package 'lattice' within the function and 'detach' after plotting. I have to close the graphics device to get the desired result (and it works only after a few more function calls) Here is the function code "function"<-function(somedata) { .......... library(lattice) trellis.par.set(theme = col.whitebg()) xyplot(log.catch ~ age | yrclass , data = tmp2) detach(package:lattice) savePlot(file="catch curve",type="jpeg") } function(somedata) Thanks in advance. I'm running on Windows XP > version...
2013 Sep 23
2
[LLVMdev] LLVM ERROR: expected relocatable expression
Hi Eli, Slightly changed the example :- .section somedata .Ltmpa: .word 100 .Ltmpb: .word 60 .Ltmpc: .word 40 .Ltmpd: .word (.Ltmpa-.Ltmpb)-.Ltmpc The GNU assembler properly handles the above. $as -c x.s -o x.o $readelf -x 4 x.o Hex dump of section 'somedata': NOTE: This section has relocations against it, but these have NOT been applied t...
2010 Mar 12
6
Randomly sampling subsets of dataframe variable
Fellow R users, I am stumped on what would seem to be something fairly simple. I have a dataframe that has a variable named 'WEEK' that takes the numbers 1:26 (26 week time-period) with each number repeated five times consecutively (once for each weekday, Monday through Friday). Ex. 111112222233333.....2626262626. I would like to randomly extract two weekdays per five day week for
2008 Apr 10
1
(no subject)
Subject: nls, step factor 0.000488281 reduced below 'minFactor' of 0.000976563 Hi there, I'm trying to conduct nls regression using roughly the below code: nls1 <- nls(y ~ a*(1-exp(-b*x^c)), start=list(a=a1,b=b1,c=c1)) I checked my start values by plotting the relationship etc. but I kept getting an error message saying maximum iterations exceeded. I have tried changing these
2013 Sep 23
0
[LLVMdev] LLVM ERROR: expected relocatable expression
On Sun, Sep 22, 2013 at 9:43 PM, Shankar Easwaran <shankare at codeaurora.org>wrote: > Hi Eli, > > Slightly changed the example :- > > .section somedata > .Ltmpa: > .word 100 > .Ltmpb: > .word 60 > .Ltmpc: > .word 40 > .Ltmpd: > .word (.Ltmpa-.Ltmpb)-.Ltmpc > > The GNU assembler properly handles the above. > > $as -c x.s -o x.o > $readelf -x 4 x.o > > Hex dump of section 'somedata': > NOTE:...
2007 Sep 18
1
Best practices - R CMD check and vignettes
Hi, I have a package that contains two vignettes that both use saved objects in the examples directory of the package. With previous versions of R I could have a code chunk in the vignette like this: <<echo=false>>= load("../examples/somedata.Rdata") @ followed by a code chunk like <<eval=false>>= foo <- bar("data") @ that simulated the actual reading in of the data (I use a saved object to limit package size). This passed check with previous versions of R, but under R-2.6.0alpha, the vignettes are du...
2009 Jun 11
4
Count observation
Hi listers, I have the following code... data<-as.matrix(c(1,2,3,4,5,6,7,8,9,10),nrow=10,ncol=1,byrow=TRUE) n<-nrow(data) m<-n-1 boot<-data[sample(m,replace=T),] So, I need to count the number of times each observation was selected at the sample with replacement... Suppose I sampled... 4 5 1 3 7 5 1 4 7 So, I would count... x count 1 2 2 0 3 1 4 2 5 2 6 0 7 2 8 0 9 0 10 0
2011 Jun 13
2
use variable value to create new variable name
Hi, Is it possible (and how) to use a variable value to create a name of a new R variable? I want to do something like this: for (i in 1:3) { newvarialbe_#i# = somedata } where #i# is a value stored by i. In the first loop, there will be newvariable_1, in second newvariable_2 and so on. Thanks in advance, Maciek [[alternative HTML version deleted]]
2005 Aug 10
2
Creating new columns inside a loop
Ok, I know R isn't an optimal environment for looping (or so I've heard) but I have a need to loop through columns of data and create new columns of data based on calculations within rows... I'm sure there's a help file, but I'm not sure what search terms to use to find it! The problem is that these new columns need to have names that I can later access... Like NewVar1,
2013 Sep 22
0
[LLVMdev] LLVM ERROR: expected relocatable expression
On Sun, Sep 22, 2013 at 12:23 PM, Sid Manning <sidneym at codeaurora.org>wrote: > On 09/20/2013 06:00 PM, Eli Friedman wrote: > >> On Fri, Sep 20, 2013 at 2:50 PM, Sid Manning <sidneym at codeaurora.org >> <mailto:sidneym at codeaurora.org**>> wrote: >> >> >> This example generates the following error: >> .Ltmp3: >>
2003 May 08
1
All possible subset selection?
...ndering if there is a function in R to do all possible subset selection, e.g. using AIC/BIC. It seems to me the function step can not do all possible selection. I am also want to know why the following functions give me different results. It seems I missed some points here. lm <- lm(y ~., data=somedata) AIC(lm) extractAIC(lm) Many thanks, Zheng Huang
2007 Jun 29
1
Warning message in Design ...
...e were some questions regarding warning messages in Design library, but no answer how to fix them. What about: "use of storage.mode(x) <- "single" is deprecated: use mode<- instead" What does it mean? How to use properly simple model like: m1 = ols(Y ~ A + B + C, data = someData) After specifying the model above, warning message to use "mode(x)" instead of "storage.mode(x)" appears. Best, PM
1998 Nov 11
0
Clipping and (device)_Text
...er Unix. In a first moment, I though that the clipping region should be restored to the full device every time a command is completed, i.e, in the previous case after the plot(1:10). This works for text(...) commands but not for other drawing commands. For example, then I observed that > plot(SomeData) > lines(lowess(SomeData)) > abline(c(0,1)) gives problems (the `abline' line extends outside the 'plotting region' -> clipping is supposed to be 'passed' from a drawing command to the next one; is this right?). Next, since I found the following comments in devX11.c...
2013 Jan 17
1
exporting simulated data
Dear All, I wrote a function datagen to simulate a dataset. I would like to generate 1000 datasets and export them with file names from data0001.dat to data1000.dat. Would anybody please provide some useful codes on this? Thank you very much. Best Regards, Ray [[alternative HTML version deleted]]
2013 Sep 22
2
[LLVMdev] LLVM ERROR: expected relocatable expression
On 09/20/2013 06:00 PM, Eli Friedman wrote: > On Fri, Sep 20, 2013 at 2:50 PM, Sid Manning <sidneym at codeaurora.org > <mailto:sidneym at codeaurora.org>> wrote: > > > This example generates the following error: > .Ltmp3: > .Ltmp5: > .Ltmp13: > .word (.Ltmp5-.Ltmp3)-.Ltmp13 > > ./llvm-mc ex.s -filetype=obj >