similar to: No output in sourced R program

Displaying 20 results from an estimated 2000 matches similar to: "No output in sourced R program"

2023 Mar 06
1
legend: interplay between title and y.intersp
Hi, I think you are right, legend cannot do it. I have now created my own legend function where I changed only one line and now it works the way I want it to. But I'm not sure if that might not have other side effects. I have the impression that the legend and the title start at the same y-position (try y.intersp=0). Only if y.intersp is big enough, then it leads to a non-overlap of
2010 Feb 01
3
playwith error message
Hi, I'am using the playwith library to write my own small GUI application. But I get the following error under Windows and Linux (Ubuntu): Error in if ((modeOK %in% c("Identify", "Brush")) && (actions$ident == : Fehlender Wert, wo TRUE/FALSE n?tig ist Under linux my R program simply continues, but under Windows it stops. Since it is not in my code, has anyone
2006 Mar 14
4
Generating a PostScript graphics under Windows
Hi, I'am trying to generate a PS Graphic under Windows with a fixed location via postscript(file="C:\\test.ps") But I always become the error: unable to start device PostScript can not open 'postscript' file argument 'c:\test.ps' There must be a very simple thing, that I make wrong. Thanks in advance Sigbert Klinke
2008 Nov 23
1
R and the Web: A small Wordpress plugin RwebFriend
Hi, The web interfaces are great examples of using R from the web. The wordpress plugin is a great creative thought. Taking this further- since one critical point in R vs SAS or other Corporate Type Software is the way it handles memory, could we install say R web and these plugins on a cloud scalable environment ( basically computing and memory scalable per use) to offer R as a SaaS Zementis
2010 Jul 29
2
Mailing list for download
Hi, is it possible to get all the mails of the mailing list / mail archives for download (preferably in XML format)? Thanks Sigbert
2023 Jan 07
2
gmp::bigq vs. MASS::fractions
Hi, has someone experience which routine should be used for creating fractional numbers? The two conversion routines deliver different results > x <- (0:7)/7 > MASS::fractions(x) [1] 0 1/7 2/7 3/7 4/7 5/7 6/7 1 > gmp::as.bigq(x) Big Rational ('bigq') object of length 8: [1] 0 2573485501354569/18014398509481984 2573485501354569/9007199254740992 [4]
2007 May 31
2
Factor analysis
Hi, is there any other routine for factor analysis in R then factanal? Basically I'am interested in another extraction method then the maximum likelihood method and looking for unweighted least squares. Thanks in advance Sigbert Klinke
2023 Mar 04
1
legend: interplay between title and y.intersp
Set the legend position explicitly with x and y values and add xpd = TRUE to the legend call to clip the plot to the figure region and not the plot region (the default). Something like this (you may have to fool around with y.intersp, etc. to allow enough space between the legend lines): plot(c(0,1), c(0,1), type="n") legend(x = .4, y = 1.25, legend=c("", "",
2024 Apr 10
1
Problem with base::order
? Wed, 10 Apr 2024 09:33:19 +0200 Sigbert Klinke <sigbert at wiwi.hu-berlin.de> ?????: > decreasing=c(F,F,F) This is only documented to work with method = 'radix': >> For the ?"radix"? method, this can be a vector of length equal to >> the number of arguments in ?...? and the elements are recycled as >> necessary. For the other methods, it must be
2006 Jan 29
2
R 2.1.1 installation fails under Suse 10.0 (PR#8533)
Full_Name: Sigbert Klinke Version: 2.1.1 OS: Suse Linux 10.0 (Full DVD) Submission from: (NULL) (141.20.100.252) Suse 10.0 installs only a Fortran 95 compiler with g77 compability mode. Using this leads in "configure" to an abortion with problems about "FPICFLAGS". Deinstalling g77 compatiblity mode, using f2c, compiles R. But after calling R() the program shows its entrance
2023 Oct 30
1
Dynamically create a (convenience) function in a package
If you don't know the name of the attributes in advance, how can you know the function name to be able to call it? This seems like a very flawed approach. Also, I would discourage the use of eval(parse(text = )), it's almost always not the right way to do what you want to do. In your case, eval(bquote(function(x) attr(x, .(n)))) would be better. On Mon, Oct 30, 2023, 06:28 Sigbert
2018 Feb 13
1
Syntax highlighting
Hi, I would like know if there are any plans for some "standardized" syntax highlighting of R code? * Currently I'm using minted for my LaTeX slides with pygmentize and I do not know what scheme is used for highlighting the R code. * RStudio uses (as default) TextMate (Text editor for MacOS) highlighting for R code. * The R package "highr" just defines CSS classes and
2023 Mar 04
1
legend: interplay between title and y.intersp
Hi, my MWE is not working as expected: plot(c(0,1), c(0,1), type="n") legend("top", legend=c("", "", "a"), col=c("blue", "red", "green"), title="test", y.intersp=0.2, lwd=1) The lines are not below the title. I want (nearby) lines as in the plot, but below the title. Is there a way to achieve this?
2023 Oct 30
1
Dynamically create a (convenience) function in a package
Hi, n a package, I have a data object with attributes, and I want to dynamically create a convenience function to access those attributes. This way, instead of using attr(x, "number"), I would like to use number(x). Because I don't know in advance which attributes the data object may have, I've used the following algorithm: x <- structure(pi, number=exp(1)) a <-
2007 Jun 21
1
barchart in trellis and NA
Hi, I've a dataset with discrete data and several groups and in one group I have also missing values (NA). When I use table and barchart to visualize the counts I never get a bar for NA in the barchart although it appears in the result of table. Is there a possibility to get this bar too? Thanks in advance Sigbert Klinke
2024 Apr 10
1
Problem with base::order
Hi, when I execute order(letters, LETTERS, 1:26) then everything is fine. But if I execute order(letters, LETTERS, 1:26, na.last=c(T,T,T), decreasing=c(F,F,F)) I get the error message Error in method != "radix" && !is.na(na.last) : 'length = 3' in constraint to 'logical(1)' Shouldn't both give the same result? Sigbert
2005 Aug 26
3
Matrix oriented computing
Hi, I want to compute the quantiles of Chi^2 distributions with different degrees of freedom like x<-cbind(0.005, 0.010, 0.025, 0.05, 0.1, 0.5, 0.9, 0.95, 0.975, 0.99, 0.995) df<-rbind(1:100) m<-qchisq(x,df) and hoped to get back a length(df) times length(x) matrix with the quantiles. Since this does not work, I use x<-c(0.005, 0.010, 0.025, 0.05, 0.1, 0.5, 0.9, 0.95, 0.975,
2009 Jan 29
4
Text in a character vector to indicate "ifelse" argument
Hello I have a data set that looks like this; > b2 dato chr status PRRSvac PRRSsanVac PRRSsanDk PRRSdk 33 2007-12-03 090432 R?d SPF 34 2007-02-09 090432 R?d SPF+sanDK 35 2002-12-17 090432 R?d SPF+DK 36 2002-11-27 090432 R?d SPF+sanDK 37 2002-07-23
2002 Aug 13
1
R CMD check: Too long [R] code line generated (PR#1900)
Full_Name: Henrik Bengtsson Version: 1.5.1 OS: WinMe Submission from: (NULL) (217.210.0.243) In the Perl script $R_HOME/bin/check there is a bug under the section "Check R code for syntax errors" where the 'Rfiles <- c(...)' is build up. If there are too many files in @Rfiles the source code line generated will be too long and weird things will happen, e.g. strange
2007 Sep 10
2
mode or parameters of readBin
Hi, > sapply(formals("readBin"), mode) con what n size signed endian "name" "name" "numeric" "logical" "logical" "call" returns for the mode of size logical. But in the documentation is said that size should be integer. Does anyone know why the mode is logical? Thanks in advance