similar to: dim(a <- ...) sets invisible flag erronously (PR#587)

Displaying 20 results from an estimated 10000 matches similar to: "dim(a <- ...) sets invisible flag erronously (PR#587)"

1997 Nov 06
1
R-alpha: "invisible" (yet again): a more problematic bug[let]
I think this is a more problematic buglet in (implicit/explicit) ``invisible behavior''). Try this (all versions of R from 0.49 to 0.60): test0 <- function() c(1,2) test <- function(two = FALSE) c(1, if(two) 2) testR <- function(two = FALSE) return(c(1, if(two) 2)) test0()# 1 2 as it should test() #
2006 Oct 26
2
how to determine if a function's result is invisible
Suppose we have a function such as the following F <- function(f, x) f(x)+1 which runs function f and then transforms it. I would like the corresponding function which works the same except that unlike F returns an invisible result if and only if f does. Is there some way of determining whether f returns an invisible result or not? Thus we want this: f <- function(x) x g <-
1997 Nov 07
0
R-alpha: "invisible" : R_INVISIBLE .. -- repeat{} gives BOMB
On 06-Nov-97 maechler@stat.math.ethz.ch wrote: >I investigated some more: > R_VISIBLE is set to 0 ``R_Visible = 0;'' > also in other places in eval.c : > > line C function > > 344: do_if > 436: do_for > 480: do_while > 515: do_repeat > 720: \ > 727: > do_set > 738: / > ^^^ >(line
2024 Oct 24
1
Could .Primitive("[") stop forcing R_Visible = TRUE?
Hello, The "[" primitive operator currently has the 'eval' flag set to 0 in src/main/names.c. This means that the result of subsetting, whether R-native or implemented by a method, will never be invisible(). This is a very reasonable default: if the user goes as far as to subset a value, they probably want to see the result. Unfortunately, there also exists at least one
2006 Aug 11
2
invisible() - does not return immediately as return() does
Hi, I stumbled across the following (unexpected for me) behavior after replacing a return() statement in the middle of a function by invisible(). Example: foo <- function() { cat("before\n"); return(); cat("after\n")} >foo() before NULL foo2 <- function() { cat("before\n"); invisible(TRUE); cat("after\n")} >foo2() before after I expected
2023 Mar 24
1
make file.rename return invisible
Dear R Core devs, I wonder if it makes sense to make function file.rename return invisible? This is not a big issue, but when running in RMarkdown or knitr, this function will print results. I have to manually call invisible to hide the output from showing in the final document: ```r invisible(file.rename(...)) ``` Otherwise knitr will print: ``` file.rename(...) #> TRUE ``` If this
2011 Sep 19
1
Invisible doesn't exit function?
I thought that invisible works like return() However, it appears that it doesn't exit a function. Is it supposed to work this way? funInvisible = function(){ invisible(10) cat('I was not expecting this to print\n') cat('because it occurs after the invisible return\n') } funInvisible() funVisible = function(){ cat('start of function\n')
2017 Jun 09
2
After gluster clean up sub directories becomes invisible
Hi Team, After performing the gluster clean up and again doing gluster configuration the sub directories become invisible. Even after they are present the directories are invisible. If I create a new directory by the same name it will say the directory already exists. Thanks & Regards, Sangeeta Ramapure -------------- next part -------------- An HTML attachment was scrubbed... URL:
1997 Oct 30
2
R-alpha: buglet in return(invisible()) [R 0.50 and 0.60]
Evaluate the following example to get the behavior : --- anybody: patch ? --- tst.i <- function(x) { if(missing(x)) return(invisible()) else if(!is.numeric(x)) stop("x must be numeric") ## else invisible((x+3)^2) } tst.i()#-- should NOT print anything !! print(mode(tst.i()))#--gives "NULL" both in S-plus 3.4 and R 0.60 tst.i(1)# nothing (ok in R and
2017 Jun 12
0
After gluster clean up sub directories becomes invisible
Kindly somebody help me with this issue. Thanks & Regards, Sangeeta Ramapure *From:* Sangeeta Ramapure [mailto:sangeeta.ramapure at globallogic.com] *Sent:* June 09, 2017 4:41 PM *To:* 'gluster-users at gluster.org' *Cc:* 'devarajan at ericsson.com' *Subject:* After gluster clean up sub directories becomes invisible Hi Team, After performing the gluster clean up
2005 Dec 02
3
Enlightenment sought and a possible buglet in vector.Rd
Dear all, First, I recently had reasons to read the help page of as.vector() and noticed in the example section the following example: x <- c(a = 1, b = 2) is.vector(x) as.vector(x) all.equal(x, as.vector(x)) ## FALSE However, in all versions of R in which I executed this example, the all.equal command returned TRUE which suggest that either the comment in the help file
2017 Jun 12
3
After gluster clean up sub directories becomes invisible
can you please describe a bit more about the steps taken to clean up and re-configure gluster? Regards, Vijay On Mon, Jun 12, 2017 at 12:08 PM, Sangeeta Ramapure < sangeeta.ramapure at globallogic.com> wrote: > Kindly somebody help me with this issue. > > > > Thanks & Regards, > > Sangeeta Ramapure > > > > *From:* Sangeeta Ramapure
2004 Apr 14
1
Invisible samba server
Hi, My samba server "linux-1" (samba-3.0.2-7.FC1) has suddenly become invisible from all windows client. The samba server is a member of the "RASKNO" workgroup and was visible when browsing the workgroup from windows clients a few weeks ago. The weird thing is that it is now invisible. The only changes has been regular updates of FC1. The symptoms is that I can search for
2018 Apr 03
4
Invisible files and directories
Hello! We are running distributed volume that contains 7 bricks. Volume is mounted using native fuse client. After an unexpected system reboot, some files are disappeared from fuse mount point but still available on the bricks. The way it disappeared confusing me a lot. I can't see certain directories using ls -la but, at the same time, can cd into the missed directory. I can rename the
2007 Jan 26
1
CGIwithR and visible output of 'invisible(capture.output(library(...)))'
Dear alltogether, I want to use CGIwithR in conjunction with R2HTML. A small example called 'test.R': ##### #! /usr/bin/R invisible(capture.output(library(R2HTML))) HTML(summary(as.numeric(scanText(formData$numbers))), file=stdout()) ##### The script gets its input via 'CGIwithR.cgi' and contains the variable "numbers." The 'HTML' output (-> summary() in
2011 Jul 07
4
Return invisible list
Hi, I'm new to R. I'm trying to do some extreme value theory analysis, looking at the Mean Excess Plot of a series. These are the commands I type to get the plot: x=read.table("data.txt",header=T) goa=(x[,3]) meplot(goa) I can see the plot, but I would like to see the values of the x and y axis. According to this page
2018 Apr 04
0
Invisible files and directories
http://lists.gluster.org/pipermail/gluster-users/2018-April/033811.html On Tue, Apr 3, 2018 at 6:43 PM, Serg Gulko <s.gulko at gmail.com> wrote: > Hello! > > We are running distributed volume that contains 7 bricks. > Volume is mounted using native fuse client. > > After an unexpected system reboot, some files are disappeared from fuse > mount point but still available
2018 Apr 04
0
Invisible files and directories
On Wed, Apr 4, 2018 at 4:13 AM, Serg Gulko <s.gulko at gmail.com> wrote: > Hello! > > We are running distributed volume that contains 7 bricks. > Volume is mounted using native fuse client. > > After an unexpected system reboot, some files are disappeared from fuse > mount point but still available on the bricks. > > The way it disappeared confusing me a lot. I
2006 Sep 30
1
Strange behaviour of the [[ operator (PR#9263)
On 9/29/2006 9:06 PM, Herve Pages wrote: > Hi, > > This looks like a bug: > > > a <- list(b=5) > > a[['b']] > [1] 5 > > a[[t<-'b']] > > Nothing gets printed! > > I need to use parenthesis to see the expected result: > > > a[[(t<-'b')]] > [1] 5 Yes, I agree it looks like a bug,
2018 Apr 04
2
Invisible files and directories
Hello! Unfortunately no. Directory still not listed using ls -la, but I can cd into. I can rename it and it becomes available when I rename it back to the original name it's disappeared again. On Wed, Apr 4, 2018 at 12:56 AM, Raghavendra Gowdappa <rgowdapp at redhat.com> wrote: > > > On Wed, Apr 4, 2018 at 4:13 AM, Serg Gulko <s.gulko at gmail.com> wrote: > >>