question
Bert, I know you love to quote repeatedly. The fact that a question is about doing something using RSTUDIO is NOT relevant to whether it can be discussed here if it is about relatively BASIC R issues as 99% of the time is true. The fact they are asking about some package that many don't know is IMHO much more relevant. And most such packages are fairly public domain and not related to RSTUDIO. -----Original Message----- From: Bert Gunter <bgunter.4567 at gmail.com> To: dalfardi.s <dalfardi.s at ut.ac.ir> Cc: R-help <r-help at r-project.org> Sent: Tue, Mar 15, 2022 2:20 pm Subject: Re: [R] question 1. RStudio is not R; it is a separate for profit organization/company that contributes free packages to R and also provides both free and non-free R-oriented software. RStudio.com is their website (as you know) and https://community.rstudio.com/# is where you can post questions about *their* products. 2. HOWEVER... your query seems to be related to a special (not standard) R package, not RStudio, specifically the 'flowr' package. This general r-help list is not usually a good place to post queries about such specific packages -- there are thousands of them! Maybe you will get lucky and someone here will be able to help you.? But it is recommended in the posting guide (linked below) that a better option is to contact the package maintainer, which you can find via the: maintainer("flowr") command at the R console prompt. Hope this helps. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Tue, Mar 15, 2022 at 10:52 AM dalfardi.s <dalfardi.s at ut.ac.ir> wrote:
hello everyone I faced an problem in Rstudio version 4.1.2 and while i am new in R and Rstudio, but i search alot in internet and have thaught about the reason of it but all i done didnt fix it. I have a function of a package named priority flow as bellow: RIVSMOOTH=RIVERSMOOTH(DEM=TRAVHS$DEM, DIRECTION=TRAVHS$DIRECTION, MASK=FARWATERSHED.MASK,RIVER.SUMMARY=SUBBASIN$SUMMARY,RIVER.SEGMENTS=SUBBASIN$SEGMENTS,BANK.EPSILON =0.01,RIVER.EPSILON = 0,D4=C(1,2,3,4),PRINTFLAG = T) and all needed inputs are available but when i run it give me the bellow error: [1] "No terminal river segments provided, not adjusting DEM" Error in RiverSmooth(dem = travHS$dem, direction = travHS$direction, mask = FARwatershed.mask, : object 'active' not found I dont know what active object is here? but all other objects are here available.i also assighned this needed inputs in different object forinstance AA=travHS$dem and then defined AA in the function but it return error again. this is summary of two dataframe that included needed data: SUMMARY(SUBBASIN) Length Class Mode segments 4200 -none- numeric subbasins 4200 -none- numeric RiverMask 4200 -none- numeric summary 98 -none- numeric
SUMMARY(TRAVHS)
Length Class Mode dem 4200 -none- numeric mask 4200 -none- numeric marked 4200 -none- numeric step 4200 -none- numeric direction 4200 -none- numeric basins 4200 -none- numeric this is part of my work and i really stumbled in it. Is there any one could help me? I really appreciate it. ? ? ? ? [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.