profvis function parse_rprof not being loaded

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

profvis function parse_rprof not being loaded

Nevil Amos
I have loaded the profvis library  but the function parse_ rprof()  is
absent.
below is the session info show the absence of the function ( which is
listed  in the package help for the current version.)


Documentation for package ‘profvis’ version 0.3.5

DESCRIPTION file.
Help Pages

parse_rprof Parse Rprof output file for use with profvis
pause Pause an R process
print.profvis Print a profvis object
profvis Profile an R expression and visualize profiling data
profvisOutput Widget output function for use in Shiny
renderProfvis Widget render function for use in Shiny


Rsession info:


> library(profvis)
> parse_rprof()
Error in parse_rprof() : could not find function "parse_rprof"
> ls("package:profvis")
[1] "pause"         "profvis"       "profvisOutput" "renderProfvis"
> sessionInfo()
R version 3.5.2 (2018-12-20)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252
LC_MONETARY=English_Australia.1252
[4] LC_NUMERIC=C                       LC_TIME=English_Australia.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] profvis_0.3.5

loaded via a namespace (and not attached):
 [1] htmlwidgets_1.3 compiler_3.5.2  magrittr_1.5    htmltools_0.3.6
tools_3.5.2     yaml_2.2.0      Rcpp_1.0.0      stringi_1.2.4
 [9] stringr_1.3.1   digest_0.6.18

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: profvis function parse_rprof not being loaded

Duncan Murdoch-2
On 27/02/2019 9:42 p.m., nevil amos wrote:
> I have loaded the profvis library  but the function parse_ rprof()  is
> absent.
> below is the session info show the absence of the function ( which is
> listed  in the package help for the current version.)
>

Looks as though they forgot to export it.  You can get to it using
profvis:::parse_rprof, but the maintainer (who is cc'd) might want to
fix this.

Duncan Murdoch

>
> Documentation for package ‘profvis’ version 0.3.5
>
> DESCRIPTION file.
> Help Pages
>
> parse_rprof Parse Rprof output file for use with profvis
> pause Pause an R process
> print.profvis Print a profvis object
> profvis Profile an R expression and visualize profiling data
> profvisOutput Widget output function for use in Shiny
> renderProfvis Widget render function for use in Shiny
>
>
> Rsession info:
>
>
>> library(profvis)
>> parse_rprof()
> Error in parse_rprof() : could not find function "parse_rprof"
>> ls("package:profvis")
> [1] "pause"         "profvis"       "profvisOutput" "renderProfvis"
>> sessionInfo()
> R version 3.5.2 (2018-12-20)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows 7 x64 (build 7601) Service Pack 1
>
> Matrix products: default
>
> locale:
> [1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252
> LC_MONETARY=English_Australia.1252
> [4] LC_NUMERIC=C                       LC_TIME=English_Australia.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> other attached packages:
> [1] profvis_0.3.5
>
> loaded via a namespace (and not attached):
>   [1] htmlwidgets_1.3 compiler_3.5.2  magrittr_1.5    htmltools_0.3.6
> tools_3.5.2     yaml_2.2.0      Rcpp_1.0.0      stringi_1.2.4
>   [9] stringr_1.3.1   digest_0.6.18
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] 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.
>

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: profvis function parse_rprof not being loaded

Winston Chang-3
Thanks for the heads up - I've updated the development version of profvis
to export parse_rprof.

-Winston

On Thu, Feb 28, 2019 at 5:14 AM Duncan Murdoch <[hidden email]>
wrote:

> On 27/02/2019 9:42 p.m., nevil amos wrote:
> > I have loaded the profvis library  but the function parse_ rprof()  is
> > absent.
> > below is the session info show the absence of the function ( which is
> > listed  in the package help for the current version.)
> >
>
> Looks as though they forgot to export it.  You can get to it using
> profvis:::parse_rprof, but the maintainer (who is cc'd) might want to
> fix this.
>
> Duncan Murdoch
>
> >
> > Documentation for package ‘profvis’ version 0.3.5
> >
> > DESCRIPTION file.
> > Help Pages
> >
> > parse_rprof Parse Rprof output file for use with profvis
> > pause Pause an R process
> > print.profvis Print a profvis object
> > profvis Profile an R expression and visualize profiling data
> > profvisOutput Widget output function for use in Shiny
> > renderProfvis Widget render function for use in Shiny
> >
> >
> > Rsession info:
> >
> >
> >> library(profvis)
> >> parse_rprof()
> > Error in parse_rprof() : could not find function "parse_rprof"
> >> ls("package:profvis")
> > [1] "pause"         "profvis"       "profvisOutput" "renderProfvis"
> >> sessionInfo()
> > R version 3.5.2 (2018-12-20)
> > Platform: x86_64-w64-mingw32/x64 (64-bit)
> > Running under: Windows 7 x64 (build 7601) Service Pack 1
> >
> > Matrix products: default
> >
> > locale:
> > [1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252
> > LC_MONETARY=English_Australia.1252
> > [4] LC_NUMERIC=C                       LC_TIME=English_Australia.1252
> >
> > attached base packages:
> > [1] stats     graphics  grDevices utils     datasets  methods   base
> >
> > other attached packages:
> > [1] profvis_0.3.5
> >
> > loaded via a namespace (and not attached):
> >   [1] htmlwidgets_1.3 compiler_3.5.2  magrittr_1.5    htmltools_0.3.6
> > tools_3.5.2     yaml_2.2.0      Rcpp_1.0.0      stringi_1.2.4
> >   [9] stringr_1.3.1   digest_0.6.18
> >
> >       [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > [hidden email] 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.
> >
>
>

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.