similar to: how to update R files included as"source" ?

Displaying 20 results from an estimated 10000 matches similar to: "how to update R files included as"source" ?"

2010 Mar 16
3
remove substring from each string vector component
Hi all, I have a string vector like that: x=c("1\t\t", "2", "3\t\t\t") I need to remove all the occurrences of "\t", in order to obtain: x = "1" "2" "3" I'm trying to use the function substring2, and it works for each component, for example: substring2(x[1], "\t") ="" gives x = "1"
2010 Mar 26
1
regular expression
Hi, I need to select a substring from the filename of a file in a list. I can find all the filenames in a directory by list.files(fn_dir) Each filename has the format (the following is an example because field lengths are variable) XXX184_YYY_ZZZ.dat XXX: 2 or 3 alphabetic characters 184: 3 numeric characters ... I'd like to select the substring XXX which has variable length (from each
2010 Apr 23
1
ggplot2: how to specify x-axis limits to geom_abline() ?
Hi all, I'd want to plot a segment from a line specified by slope and intercept. I want to plot this line between two limits, x1 and x2, without imposing these limits to the hole plot as it is the case with scale_x_continuous(limits=c(x1,x2)) or with xlim and ylim. Any idea? Arnaud Chozo [[alternative HTML version deleted]]
2010 Apr 16
3
problem with FUN in Hmisc::summarize
Hi all, I'd like to use the Hmisc::summarize function, but it uses a function (FUN) of a single vector argument to create the statistical summaries. Consider an easy case: I'd like to compute the correlation between two variables in my dataframe, grouped according to other variables in the same dataframe. For exemple, consider the following dataframe D: V1 V2 V3 A 1 -1 A 1
2010 Apr 27
1
How to plot a table of numbers as an image using ggplot2?
Hi all, I'd want to plot a table of numbers such that the values are represented by gray level. Is there an easy way to do that using ggplot2? Thanks, Arnaud [[alternative HTML version deleted]]
2010 Mar 15
1
problem in reading trajectory file
Hi, I'm trying to read some trajectory files (text files) which have the form: # trial n # t X Y 0 1 2 0.2 1 3 0.4 1.2 4 ... # trial n+1 # t X Y 0 1 2 0.2 1.3 3.3 0.4 1.5 5 ... ... where the symbol # means that the line is not a numeric value, but I still need to read the number of the trial (n=1, 2, etc.). I
2006 Mar 16
6
File Auditing with rails - File I/O issue
Hey Folks, I''ve written a script to generate a list of all files on a machine, then zip the results. ?I''m going to stick a web front end on it, and use it to audit some file servers. The problem is that the ZIP compression/decompression isn''t working, but its not what you might think. ?The script completes, but seems to not actually write anything. Here is a short
2010 Mar 10
1
nested subset for a dataframe
Hi, I've a beginner question. I'm trying to extract data in my dataframe according to some nested rules. I have something like the dataframe test.df: test.df = data.frame(V1=c(rep("A",10), rep("B",10), rep("C",5)), V2=c(rep(1,5), rep(2,5), rep(1,5), rep(2,5), rep(1,5))) V1 V2 1 A 1 2 A 1 3 A 1 4 A 1 5 A 1 6 A 2 7 A 2 8 A 2 9 A
2004 Nov 21
3
win32-file, overlapped added
Hi all, I''ve got overlapped and offset support in both nread and nwrite. The only thing left before I want to release this (as 0.4.0) is to get NO_BUFFERING to work. Unfortunately, I can''t get it to work. Park, I looked at that site you sent (and borrowed some code from it), but I don''t see anything special happening for NO_BUFFERING. I thought it required
2010 Sep 21
2
[PATCH 0/2] *** SUBJECT HERE ***
*** BLURB HERE *** Matthew Booth (2): New APIs: hopen-device hopen-file hread hwrite hseek hclose hclose-all Update pwrite to write a full buffer daemon/.gitignore | 1 + daemon/Makefile.am | 1 + daemon/file.c | 20 ++- daemon/hfile.c | 249 ++++++++++++++++++++++++++++++++++++++++ daemon/m4/gnulib-cache.m4 | 3
2005 Aug 09
3
FLAC to Vorbis
Hello everyone, I am running Ubuntu and have converted my CDs to FLACs (using all the paranoia and fixing all the tags etc.). What is the best way for me to convert all of those FLAC to ogg-Vorbis files, keeping all the tag information and the same directory structure? I am not wanting anything incredibly advanced, but was expecting something like vorbconvert /media/cd_rom/ /home/aaron/vorbis/
2005 Aug 09
3
FLAC to Vorbis
Hello everyone, I am running Ubuntu and have converted my CDs to FLACs (using all the paranoia and fixing all the tags etc.). What is the best way for me to convert all of those FLAC to ogg-Vorbis files, keeping all the tag information and the same directory structure? I am not wanting anything incredibly advanced, but was expecting something like vorbconvert /media/cd_rom/ /home/aaron/vorbis/
2009 Oct 22
1
Error in link in Rd file stops package installation
With a pretty recent version of R 2.11.0 (devel,unstable, svn 50178) on Linux I could not install version 1.5-8 of zoo (the current on on CRAN): % R-devel CMD INSTALL -l Rlib3 zoo * installing *source* package 'zoo' ... ** R ** inst ** preparing package for lazy loading ** help *** installing help indices converting help for package 'zoo' finding
2009 Jan 28
3
putting match.call to good use
[This email is either empty or too large to be displayed at this time]
2018 Apr 13
1
backup-script/backup_samba4
Hi! i am testing Louis van Belle backup script. it works quite well. Thank you for sharing this! https://github.com/thctlo/samba4/blob/master/backup-script/backup_samba4 but i think there is an error in the KEEP_DAYS code as the string '\-$KEEP_DAY1\-|\-$KEEP_DAY2-' is not interpolated so the egrep does exclude anything from rm call. So no files older than $DAYS are kept... # Remove
2010 Aug 05
1
problem with dl tag in tools::Rd2HTML
I think tools::Rd2HTML has a problem with the dl tag. Under some conditions, <p> and </p>, and <dl> and </dl> are not nested correctly. Here is an example from the "options" doc file: -- <p> <dl> <dt><code>save.defaults</code>, <code>save.image.defaults</code>:</dt><dd> see
2011 Oct 17
1
What does \Sexpr[results=rd]{} exactly mean in Rd?
Hi, I have spent a few hours on the R-exts manual and the documentation of parse_Rd() (as well as the PDF document in the references), but I still have not figured out what results=rd means. I thought I could use an R code fragment to create an Rd fragment dynamically. Here is an example, in which I was expected the output to be a describe list <DL> in HTML, but it turns out not to be true.
2009 Jun 19
2
Changes to Rd handling in R-devel
I've just committed some fairly big changes to R-devel. - There's a new tag \Sexpr which allows R code to be embedded within the Rd file, similar to Sweave, \RdOpts corresponds to \SweaveOpts. - The parser now mainly issues warnings, rather than errors, in case of syntax errors. It throws away a few tokens and tries to restart. This should let you see most of your errors in
2003 Aug 25
6
Syncronize Monitored Calls
I thought I would post this in case it might be of any use to anyone. Not anything special but it does work. Keep in mind you need sox and wmix. Here is some relevant exerpts of my extensions.conf using John Todds macro. [globals] CALLFILENAME=foo FOO=foo CALLERIDNUM=foo [default] exten => 287,1,Macro(dial,SIP/agent20002|20) exten => 287,2,Voicemail(u287) exten =>
2006 Mar 17
7
OT: Subversion folder cleanup
How do you clean up your app folder to place onto the server? I want to get rid of all the .svn stuff. Seth Buntin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060317/cc81d9f7/attachment.html