search for: chunck

Displaying 20 results from an estimated 29 matches for "chunck".

Did you mean: chuck
2008 Jul 18
1
finding "chuncks" of data that have no NA s
I have a data frame that is 122 columns and 70000ish rows it is a zoo object, but could be easily converted or read in as something else. It is multiparameter multistation water quality data - there are a lot of NA s. I would like to find "chuncks" of data that are free of NA s to do some analysis. All of the data is numeric. Is there a way besides graphing to find these NA less "chuncks". I did not include data because of the size of the data frame, and because I don't know exactly how to tackle this problem. I will...
2006 Jul 25
6
DRY question (newbie)
Say i want to include the same chunck of text (a menu on a webpage for example) on each page. Is there a method by which I can save the HTML in a text file and call it up later? Is there a better way? I know ruby has "puts" but i can''t use that b/c it does not work with my webhost (dreamhost.com) Any suggestion...
2003 Jun 09
1
unable to read superblock ?
...one has any idea how to fix it. Thanks! Donghui ---------------------------------------------------------------------------- ------ md: adding sda1 md: created md2 md: using <sdb1> <sda1> md: md2: raid array is not clean -- starting bacground reconstruction RAID level 1 does not need chunck size. Continuing anyway. md2: max total readahead window set to 124k raid1: device sdb1 operational as mirror1 raid1: device sda1 operational as mirror 0 raid1: raid set md2 mot clean, reconstructing mirror raid1: raid set md2 active with 2 out of 2 mirrors md: updating md2 RAID superblock device
2005 Jan 26
2
reshape (a better way)
Hi, I am using the NLSY79 data (longitudinal data from the Bureau of labour stats in the US). The extractor exctracts this data in a "wide" format and I need to reshape it into a long format. What I am doing right now is to do it in chuncks for each and evry variable that is varying and then I merge the data together. This is taking a long time. my question is: How do I specify that there are multiple variables that are varying in reshape. Is there a way to do this? The idea is to have something like varying1, varying2,etc,... and...
2003 Oct 22
1
comments and Sweave
I am using Sweave to produce handouts for teaching. Is there a way of making Sweave keep the comments following the `#' in the code chuncks? Thanks, Giovanni -- __________________________________________________ [ ] [ Giovanni Petris GPetris at uark.edu ] [ Department of Mathematical Sciences ] [ University of Arkansas - Fayetteville, AR 72701 ] [ Ph:...
2007 Nov 02
1
Sweave, and long lasting scripts
...t of time to run, and I don't want to run it multiple time, if possible, as I am still developping the tools. It seems that a sweave run does not save the enviroment at the end of the process, is there a way to avoid to lunch multiple time the same commands? maybe it could be possible to store chunck of code results, and only call them in the next runs. thank you [[alternative HTML version deleted]]
2006 Mar 22
0
Sweave in png
...cluding pixmap pictures, which are very heavy when converted into pdf pictures. In practice, this eventually led to very heavy pdf, sometimes impossible to read. So the first solution I found was to save pictures in png, when too heavy in pdf : ### in a .rnw document ### % here is an invisible chunck to create a picture <<fig =FALSE,echo=FALSE>>= png(filename='figs/myPic.png') @ % next, R code to generate picture <<fig=FALSE,echo=TRUE>>= ... @ % then, close the device. Hidden, again <<fig =FALSE,echo=FALSE>>= dev.off() @ % and then, include it as a...
2005 Feb 12
1
Paste script in R stops before end of file
...i 3 different parts that R would read through pasting. I use R 2.01 on a machine that have SuSE 9.2 with KDE3.3.2, kernel-smp 2.6.8-24.11 installed and an Intel 3 GHz, 1056 MB RAM. I have set the coding to ISO8859-1. What puzzles me is that I have no problem pasting in the whole script in one chunck using R 2.0.1 with SuSE 9.2 on a ThinkpadX40. Is this likely to be a problem with my R installation? Any help is appriciated. /Tomas
2005 Mar 22
1
Package vignette and build
Hello, I am writing a package called 'DLM' containing a vignette. The vignette contains a chunck with the function call 'library(DLM)'. This worked fine with 'R CMD check DLM', but when it comes to building the package with 'R CMD build DLM' I get the following error message: * creating vignettes ... ERROR Error: chunk 1 Error in library(DLM) : There is no package...
2006 Mar 24
1
Sweaving in png
...twice. I found that using pixmap pictures in a Sweave document was sometimes almost impossible, due to the huge size of the pdf pictures produced. The first solution I found was to save pictures in png, when too heavy in pdf. Here is an example: ### in a .rnw document ### % here is an invisible chunck to create a picture <<fig =FALSE,echo=FALSE>>= png(filename='figs/myPic.png') @ % next, R code to generate picture <<fig=FALSE,echo=TRUE>>= ...[code to produce the figure] @ % then, close the device. Hidden, again <<fig =FALSE,echo=FALSE>>= dev.off() @...
2007 Nov 21
3
shrink a dataframe for plotting
I get tables with millions of rows. For plotting to a screen-size jpg, obviously just about 1000 points are enough. Instead of feeding plot() the original millions of rows, I'd rather shrink the original dataframe, using some kind of the following interpolation: -- split dataframe into chunks of N rows each, e.g. 1000 rows each -- compute average for each column -- issue one new row
2009 Mar 16
0
dpaste, pastebin etc. Syntax highlighting for R?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi All, There are many sites to get bite-sized chuncks of code. The nice thing is that they use syntax highlighting. Examples: http://dpaste.com/ http://pastie.org/ http://pastebin.com/ Twitter with a link to a syntax highlighting site would do wonders. There are plugins for most (good) editors to post directly to the site from the editor. Example:...
2003 Nov 20
0
negative result in rsync feedback
Hi Rsyncers, I have now succesfully deployed rsync as a means to replicate our main production servers running SCOMBAG^D^D^D^D OpenServer. (Dont worry, we'll let the company die, and switch to something better..) To do so however, I had to split the dirs I sync (25GB orso), into smaller chuncks so it wont barf out regulary. I use filtering for that, and it works pretty well. At least, that was what I thought, as large jobs would barf out more often, than small jobs. It would stop, with an unexpected disconnect: 2003/11/14 20:21:46 [29414] rsync error: error in rsync protocol data stream...
2013 Apr 17
0
Multi-core processing in glmulti
Dear list, I am trying to do an automated model selection of a glmm (function glmer; package: lme4) containing a large number of predictors. As far as i understand, glmulti is able to devide the process into chuncks and proceed by parallel processing on on multiple cores. Unfortunately this does not seem to work and i could not really fid any advice on the matter on other forums. Specifically i have the following questions: 1) does parallel processing only work for exhaustive processing (glmulti(..., method...
2010 Dec 13
3
PMTUDiscovery vs ClampMSS
Currently, i have nodes with PMTUDiscovery =yes and ClampMSS = yes. When the server does not receive a PMTU request back from one of the clients even when the packet size is very small (say 164), then it reverts to TCP. Should i turn off PMTUDiscovery or should it be ok to leave on? It takes a very long time to do simple pings (1 second or so), so i wonder what else i can do?
2007 Dec 19
3
Trapping custom exceptions in merb 0.5.0
Hi, I have the following setup: class Fred < Application class InvalidKey < Merb::ControllerExceptions::Unauthorized; end def blee raise InvalidKey unless key end end I have added a view exception template in views/exceptions/invalid_key.html.erb but I am not seeing the exception page being rendered ?? The request seems to correctly go to
2009 Jan 23
2
Write to multiple connections or multiple text files
Hi all, I want to modify a large number of text files (ca 4000) by replacing a value found on a particular line in them with a value from an R object. For a single file I would normally use: con<-file ("foo.txt", open="r+") content<-readLines(con) content[n]<-"test" writeLines(content,con) close(con) For repeating this for several files I can
2000 Aug 22
6
New beta bug reports/bug report
Hi. Joined the list since this seems to be the only point of communication. Just have two comments/questions. 1) I looked all around the developer's site and vorbis.com and don't see any mention of where to send bug reports for 1.0 beta. I'd think it would be a FAQ. 2) My bug for the new beta. (I'm hoping someone of the PTB is reading ... I definitely don't belong on the
2000 Aug 22
6
New beta bug reports/bug report
Hi. Joined the list since this seems to be the only point of communication. Just have two comments/questions. 1) I looked all around the developer's site and vorbis.com and don't see any mention of where to send bug reports for 1.0 beta. I'd think it would be a FAQ. 2) My bug for the new beta. (I'm hoping someone of the PTB is reading ... I definitely don't belong on the
2005 Jun 14
8
ADSL Calculator
Hi, I''ve written a small javascript ADSL throughput calculator: http://nukunuku.yamamaya.is-a-geek.org/~ranma/adsl.html Feel free to submit alternative presets (I currently have presets for three german telecom speed variants: T-DSL (1000|2000|3000), derived from http://www2.lancom.de/kb.nsf/5d445c701b3ff52dc1256e7700297e5c/27c6ee1c3e3f74b0c1256e94004a433e?OpenDocument). Comments,