similar to: break the long R code lines automatically

Displaying 20 results from an estimated 10000 matches similar to: "break the long R code lines automatically"

2012 Mar 23
1
Nonparametric bivariate distribution estimation and sampling
Dear all, I have a bivariate dataset from a preliminary study. I want to do two things: (1) estimate the probability density of this bivariate distribution using some nonparametric method (kernel, spline etc); (2) sample a big dataset from this bivariate distribution for a simulation study. Is there any good method or package I can use in R for my work? I don?t want parametric models like
2009 Jun 05
2
Install RCurl in Linux
Hello all, I had both curl and curl-devel (both 7.15) installed on my x86_64/CentOS machine. However, I still got problem when I do R CMD INSTALL RCurl   Error message below, since library and/or include path is missing. I tried R CMD INSTALL RCurl --configure-args='--libdir=/usr/lib64/  --includedir=/usr/include/' Same result. Any hint/suggestion would be appreciated. ... No
2012 Aug 07
1
looking for accessibility help (blind student)
I will have a blind student in my AP Statistics class this year. I'm thinking about using R as his calculator. It seems like it's core text-in text-out nature may match screen reading software well. And I'd like to explore directing visualizations to tactile graphics output. I'm wondering if anyone could give me suggestions (people, websites, organizations) where I could discover
2008 Jan 20
1
changing color scheme in R in UNIX
Hi, I've been using R in Windows but am now starting to use it more often in the UNIX environment. In Windows, I'm used to the text provided by the user appearing in red, and the output from R appearing in blue. Is there a way to achieve this in UNIX? Thanks, Andrew [[alternative HTML version deleted]]
2009 Feb 16
1
How do I Edit Source Code Files On The Mac?
Hello! I'm using Mac OS X 10.4.11 on a G4. I use the "R" command, straight from a terminal, because the "GUI" is slower, and I've never liked GUIs anyway. I tried to set up my environment to use the vi editor, but it always tries to save it in wierd things like this: "/private/tmp/RtmpWIhhuo/41a7" 13L, 161C written Sure I can "cp" it from that
2005 Jan 12
2
?"=" (Windows) (PR#7504)
?"=", ?"==", ?"!=", ?">=", and ?"<=" sends me to the documentation for ?help on Windows, while returning the correct documentation on Linux. Robert > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor
2008 Oct 23
2
What editors can I get R in Mac OS X to talk to?
All, Apologies if this was already answered... I couldn't find an answer that specifically addressed Mac OS instead of either windows or linux. I use "aquamacs emacs" as my text editor. It is essentially Xemacs with a GUI that looks closer to standard Mac GUIs, as far as I can tell. I installed the GUI-friendly Mac version of R. I can have R choose the aquamacs as the editor
2006 Mar 24
2
Undocumented features of 'browser' (and possible changes)
I often use browser() when debugging a function. After entering browser, I would find it very useful to be able to cut-and-paste a chunk of R code to the browser (or use ess-eval-region in Emacs). An inconvenience, however, is that both blank lines and comment lines will exit the browser. The man page for browser says nothing about exiting the browser via ENTER or via a line that begins with a
2000 Jul 26
3
Next Vorbis beta, MPEG+ enkoder
Hi. When can we expect the next beta version of Vorbis encoder (with some tagging & encoding options I hope)? Also, today I tested MPEG+ encoder which you can download from http://www.stud.uni-hannover.de/user/73884/mppenc.zip (win encoder) http://www.stud.uni-hannover.de/user/73884/in_mpp.zip (winamp plug-in) http://www.stud.uni-hannover.de/user/73884/mppdec.zip (win decoder) It sounds
2013 Feb 26
1
R documentation, how to force Rcmd Rd2pdf to automatically break an overfull line in examples R-like section?
Hi all, My package passed Rcmd check successfully. but in constructed PDF format of R documentation, within the examples section, half of the line (R code) is out of the paper. I also found another CRAN submitted package, ftsa , that suffer from overfulling in a line too, see ftsa Reference manual. I guess this problem roots in the behavior of the verbatim environment in Latex. However there
2009 Feb 20
1
Polycom Phones start to break up after being up a LONG time
Has anyone else encountered this? I have a fairly large installation (~50 phones, almost all Polycom 501's and a handful of 601's. We're running into a number of phones on which the outbound voice (Polycom phone user doesn't hear any problems, but the other end does) is breaking up occasionally -- enough to be noticeable and make you say "what?". In each case, rebooting
2011 Oct 25
1
Bar chart: break long bars
Dear all, I have a problem with my stacked bar charts. I have one very long bar, hence I would like to break the x-axis at a certain point so that the shorter bars can be seen better. Here is a cooked up example: library(lattice) group <- rep(1:3,10) x <- runif(30, 0, 100) y <- runif(30, 0, 100) x[5] <-500 z <- rep(seq(1:10),3) z <- z[order(z)] frame <-
2014 Jan 11
1
Does cdr adaptive odbc re-connect automatically after a long idle time?
Hi all, I use astersk 11.7.0 on Ubuntu 12.04.01 TLS (i386). I use cdr_adaptive_odbc to write CDR to my MySQL's cdr table. After my testing, this scenario is working well. After a long idle time, I didn't make any call to the asterisk server. When I try to make a call again after 8 hours, I found that the cdr lost. It cannot be inserted to cdr table. Also, I could not find the insert CDR
2012 Jan 27
2
After a long break, one more try at bond/bridge nics
took a couple months off due to road blocks, hoping a fresh look would allow me to use my server as desired. I have three ports, eth0-2 over two nics. I want to bond them, and then use a bridge to connect to virtual machines on the virtual host computer. Never having done this, I am confused on some parts. Here is where I am at now and any pointers helpful. Single server, centos 6.x My issue
2016 Oct 10
2
AGI: How to break out of AGI when stream_file escape_digits are detected in middle of long sequence of files?
For reasons best known to myself, I call a python agi (PYST2 - love it!) which streams a series of very short files in quick succession. Like this: escape_digits = str("0") agi.stream_file(promptFile,escape_digits) and this is what I see on the AGI debug: <Local/s at root-00000061;2>AGI Tx >> 200 result=0 endpos=6784 <Local/s at root-00000061;2>AGI Rx <<
2008 Aug 20
2
Reading in a value of .Random.seed in .Rprofile
For reasons that are best known to myself [ ;-) ] I have a value of .Random.seed saved (via dput()) in a file ``.Random.seed.save''. In my .Rprofile I have the lines: .Random.seed <- dget(".Random.seed.save") Junk <- dget(".Random.seed.save") print(all.equal(.Random.seed,dget(".Random.seed.save")))
1999 Nov 11
2
dimname'less array breaks apply (PR#318)
<<insert bug report here>> > apply(array(1:20,c(2,2,5)),2:3,function(x) x) Error: length of dimnames must match that of dims > Changing: dimnames = if (is.null(dn.ans)) list(ans.names, NULL) else c(list(ans.names), dn.ans) To: dimnames = if (length(dn)==0) NULL else if (is.null(dn.ans)) list(ans.names, NULL) else c(list(ans.names), dn.ans) seems to fix this. Chuck
2007 Sep 11
1
Fitting Data to a Noncentral Chi-Squared Distribution using MLE
Hi, I have written out the log-likelihood function to fit some data I have (called ONES20) to the non-central chi-squared distribution. >library(stats4) >ll<-function(lambda,k){x<-ONES20; 25573*0.5*lambda-25573*log(2)-sum(-x/2)-log((x/lambda)^(0.25*k-0.5))-log(besselI(sqrt(lambda*x),0.5*k-1,expon.scaled=FALSE))} > est<-mle(minuslog=ll,start=list(lambda=0.05,k=0.006))
2017 Apr 26
2
tempdir() may be deleted during long-running R session
>>>>> Dirk Eddelbuettel <edd at debian.org> >>>>> on Wed, 26 Apr 2017 08:40:38 -0500 writes: > On 26 April 2017 at 08:29, Duncan Murdoch wrote: > | This seems like the wrong approach. The problem occurs as soon as the > | tempdir() gets cleaned up: there could be information in temp files > | that gets lost at that point. So
2006 Oct 18
8
Automatic File Reading
Dear All, I am given a set of files names as: velocity1.txt velocity2.txt and so on. I am sure there must be a way to read them automatically in R. It is really taking me longer to read them than to analyze them. Anybody has a suggestion to help me out with this? Many thanks Lorenzo