Git Product home page Git Product logo

Comments (5)

aleszib avatar aleszib commented on August 18, 2024

I also have this error:
rpivotTable(mtcars)
Error in as.character(tools:::httpdPort) :
cannot coerce type 'closure' to vector of type 'character'

Below is my session info:

sessionInfo()
R version 3.2.1 (2015-06-18)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=Slovenian_Slovenia.1250 LC_CTYPE=Slovenian_Slovenia.1250
[3] LC_MONETARY=Slovenian_Slovenia.1250 LC_NUMERIC=C
[5] LC_TIME=Slovenian_Slovenia.1250

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

other attached packages:
[1] jsonlite_0.9.16 devtools_1.8.0 rpivotTable_0.1.5.2

loaded via a namespace (and not attached):
[1] Rcpp_0.11.6 quadprog_1.5-5 digest_0.6.8 bitops_1.0-6
[5] magrittr_1.5 git2r_0.10.1 stats4_3.2.1 httr_0.6.1
[9] stringi_0.5-2 curl_0.9 rstudioapi_0.3.1 xml2_0.1.1
[13] pbivnorm_0.6.0 tools_3.2.1 stringr_1.0.0 htmlwidgets_0.5.1
[17] RCurl_1.95-4.6 yaml_2.1.13 rversions_1.0.1 mnormt_1.5-3
[21] memoise_0.2.1 htmltools_0.2.6 lavaan_0.5-18 rstudio_0.98.932

from rpivottable.

smartinsightsfromdata avatar smartinsightsfromdata commented on August 18, 2024

@aleszib I am sorry but I am not able to reproduce the problem. I'm using an apple mac.

It seems that the main difference is in the OS and in the locale (which makes it tricky to debug!)

See below my sessionInfo()

> library(rpivotTable)
> data(mtcars)
> rpivotTable(mtcars, rows="gear", col="cyl", aggregatorName="Average",
+ vals="mpg", rendererName="Treemap")
> rpivotTable(mtcars)

> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.5 (Yosemite)

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

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

other attached packages:
[1] rpivotTable_0.1.5.2 devtools_1.8.0     

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.0       digest_0.6.8      R6_2.1.0          jsonlite_0.9.16  
 [5] git2r_0.11.0      magrittr_1.5      httr_1.0.0        stringi_0.5-5    
 [9] curl_0.9.2        rstudioapi_0.3.1  xml2_0.1.1        tools_3.2.2      
[13] stringr_1.0.0     htmlwidgets_0.5.1 yaml_2.1.13       rversions_1.0.2  
[17] memoise_0.2.1     htmltools_0.2.6   knitr_1.11 

from rpivottable.

aleszib avatar aleszib commented on August 18, 2024

Thank you for your reply.

With some searching I found out that the error is no related to this
package. It was caused by the the RStudio versions (too old) that was not
compatible with my R version.

Best,
Aleš

On Wed, Aug 19, 2015 at 11:09 PM, Enzo [email protected] wrote:

@aleszib https://github.com/aleszib I am sorry but I am not able to
reproduce the problem. I'm using an apple mac.

It seems that the main difference is in the OS and in the locale (which
makes it tricky to debug!)

See below my sessionInfo()

library(rpivotTable)
data(mtcars)
rpivotTable(mtcars, rows="gear", col="cyl", aggregatorName="Average",

  • vals="mpg", rendererName="Treemap")
    rpivotTable(mtcars)

sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.5 (Yosemite)

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

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

other attached packages:
[1] rpivotTable_0.1.5.2 devtools_1.8.0

loaded via a namespace (and not attached):
[1] Rcpp_0.12.0 digest_0.6.8 R6_2.1.0 jsonlite_0.9.16
[5] git2r_0.11.0 magrittr_1.5 httr_1.0.0 stringi_0.5-5
[9] curl_0.9.2 rstudioapi_0.3.1 xml2_0.1.1 tools_3.2.2
[13] stringr_1.0.0 htmlwidgets_0.5.1 yaml_2.1.13 rversions_1.0.2
[17] memoise_0.2.1 htmltools_0.2.6 knitr_1.11


Reply to this email directly or view it on GitHub
#30 (comment)
.

from rpivottable.

smartinsightsfromdata avatar smartinsightsfromdata commented on August 18, 2024

thank you for letting me know.

from rpivottable.

hornelius avatar hornelius commented on August 18, 2024

Thanks for this - works for me too now!

from rpivottable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.